Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009733/0.0009735, allocations: 171.9 kB / 16.8 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007857/0.0007858, allocations: 85.5 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07198/0.07198, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004646, allocations: 16 kB / 393.2 MB, free: 65.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.0873, allocations: 50.37 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3704, allocations: 79.8 MB / 0.5111 GB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.3707, allocations: 83.42 kB / 0.5112 GB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.3821, allocations: 4.599 MB / 0.5157 GB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3821, allocations: 0 / 0.5157 GB, free: 11.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.3822, allocations: 11.75 kB / 0.5157 GB, free: 11.29 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005961/0.3828, allocations: 468.2 kB / 0.5162 GB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3828, allocations: 7.656 kB / 0.5162 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.3829, allocations: 16.47 kB / 0.5162 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.3832, allocations: 240.7 kB / 0.5164 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3832, allocations: 12.28 kB / 0.5164 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3832, allocations: 12.31 kB / 0.5164 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.3838, allocations: 345.5 kB / 0.5168 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3839, allocations: 0 / 0.5168 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3839, allocations: 2.75 kB / 0.5168 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3839, allocations: 4 kB / 0.5168 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.3841, allocations: 101.2 kB / 0.5169 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.3846, allocations: 359.2 kB / 0.5172 GB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.3849, allocations: 274.2 kB / 0.5175 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3851, allocations: 108 kB / 0.5176 GB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.3855, allocations: 0.5777 MB / 0.5181 GB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3855, allocations: 38.56 kB / 0.5182 GB, free: 8.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.3856, allocations: 0 / 0.5182 GB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005254/0.3861, allocations: 260.1 kB / 0.5184 GB, free: 8.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.3862, allocations: 110.8 kB / 0.5185 GB, free: 8.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3863, allocations: 203.2 kB / 0.5187 GB, free: 8.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3863, allocations: 25.7 kB / 0.5188 GB, free: 8.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.3864, allocations: 106.2 kB / 0.5189 GB, free: 8.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3864, allocations: 14.58 kB / 0.5189 GB, free: 8.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.3864, allocations: 6.875 kB / 0.5189 GB, free: 8.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.3865, allocations: 333.2 kB / 0.5192 GB, free: 7.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.3866, allocations: 38.66 kB / 0.5192 GB, free: 7.816 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3867, allocations: 170.8 kB / 0.5194 GB, free: 7.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3869, allocations: 208.9 kB / 0.5196 GB, free: 7.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3869, allocations: 0 / 0.5196 GB, free: 7.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002823/0.3872, allocations: 218.7 kB / 0.5198 GB, free: 7.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3872, allocations: 7.938 kB / 0.5198 GB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3872, allocations: 11.94 kB / 0.5198 GB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3872, allocations: 4 kB / 0.5198 GB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3874, allocations: 43.05 kB / 0.5199 GB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3874, allocations: 15.92 kB / 0.5199 GB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3875, allocations: 14.22 kB / 0.5199 GB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3875, allocations: 8.219 kB / 0.5199 GB, free: 7.086 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[3],sample.noise.seedState[2],sample.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3876, allocations: 167 kB / 0.5201 GB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.3879, allocations: 169.5 kB / 0.5202 GB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.3882, allocations: 193.6 kB / 0.5204 GB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3882, allocations: 7.984 kB / 0.5204 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3882, allocations: 0 / 0.5204 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3882, allocations: 0 / 0.5204 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3884, allocations: 222.8 kB / 0.5206 GB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3884, allocations: 4 kB / 0.5206 GB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3885, allocations: 35.28 kB / 0.5207 GB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3886, allocations: 11.94 kB / 0.5207 GB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3886, allocations: 0 / 0.5207 GB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3886, allocations: 0 / 0.5207 GB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3886, allocations: 11.92 kB / 0.5207 GB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.3889, allocations: 303.9 kB / 0.521 GB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.389, allocations: 110.8 kB / 0.5211 GB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.389, allocations: 15.48 kB / 0.5211 GB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3891, allocations: 19.17 kB / 0.5211 GB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.3892, allocations: 0 / 0.5211 GB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3892, allocations: 8 kB / 0.5211 GB, free: 5.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.393e-05/0.3893, allocations: 140.3 kB / 0.5213 GB, free: 5.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3893, allocations: 0 / 0.5213 GB, free: 5.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.3896, allocations: 34.5 kB / 0.5213 GB, free: 5.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.3897, allocations: 122.5 kB / 0.5214 GB, free: 5.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.39, allocations: 151.3 kB / 0.5216 GB, free: 5.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3901, allocations: 0 / 0.5216 GB, free: 5.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.3901, allocations: 13.17 kB / 0.5216 GB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.3906, allocations: 158.2 kB / 0.5217 GB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.3912, allocations: 371.1 kB / 0.5221 GB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.3914, allocations: 0.7285 MB / 0.5228 GB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.3915, allocations: 21.55 kB / 0.5228 GB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.3915, allocations: 15.44 kB / 0.5228 GB, free: 4.211 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3915, allocations: 0 / 0.5228 GB, free: 4.211 MB / 330.7 MB Notification: Performance of Templates: time 0.004532/0.396, allocations: 2.102 MB / 0.5249 GB, free: 2.125 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches