Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002487/0.002487, allocations: 214.9 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.663/1.663, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4634, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.005176/0.4686, allocations: 1.841 MB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.4705, allocations: 0.7049 MB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.4707, allocations: 7.938 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.4709, allocations: 23.78 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.4711, allocations: 23.8 kB / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.4719, allocations: 171.5 kB / 435.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.4722, allocations: 151.6 kB / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.4724, allocations: 45.38 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.4726, allocations: 67.7 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.4728, allocations: 59.64 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.4728, allocations: 20 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.473, allocations: 55.95 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.4732, allocations: 39.91 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.4733, allocations: 59.59 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.4737, allocations: 206.1 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4738, allocations: 0 / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4738, allocations: 0 / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.547e-06/0.4738, allocations: 0 / 435.8 MB, free: 3.242 MB / 334.1 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.001156/0.4749, allocations: 411.6 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.151e-05/0.475, allocations: 12.03 kB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.4753, allocations: 24.8 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.4759, allocations: 198.7 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.4759, allocations: 8.562 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.4759, allocations: 12.12 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/0.4769, allocations: 355.9 kB / 436.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.4769, allocations: 0 / 436.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.4769, allocations: 4 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.4769, allocations: 4 kB / 436.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.4772, allocations: 91.81 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.4778, allocations: 261.3 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.4784, allocations: 185 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.4786, allocations: 89.73 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004903/0.4791, allocations: 59.94 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/0.4792, allocations: 42.78 kB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.4792, allocations: 0 / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007565/0.4799, allocations: 237.5 kB / 437.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.4801, allocations: 114.8 kB / 437.9 MB, free: 1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.4803, allocations: 198.8 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.4804, allocations: 25.7 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4805, allocations: 104.6 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.4805, allocations: 19.89 kB / 438.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.4806, allocations: 37.72 kB / 438.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.4808, allocations: 330.8 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4809, allocations: 35.98 kB / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.4812, allocations: 186.9 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.4816, allocations: 212 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4816, allocations: 0 / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004016/0.482, allocations: 217.1 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.482, allocations: 14.59 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.482, allocations: 4 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.4821, allocations: 4.594 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4822, allocations: 39.92 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.4822, allocations: 12 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4824, allocations: 31.75 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.4824, allocations: 8 kB / 439.3 MB, free: 15.38 MB / 350.1 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 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.4826, allocations: 163.3 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.483, allocations: 157.5 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.4834, allocations: 179.3 kB / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.4834, allocations: 8 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4834, allocations: 0 / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4834, allocations: 0 / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.4836, allocations: 149.2 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4836, allocations: 4 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.4838, allocations: 31.92 kB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4838, allocations: 4 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.4838, allocations: 7.922 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4838, allocations: 7.938 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4838, allocations: 0 / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.4844, allocations: 288.1 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.4845, allocations: 39.81 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.4845, allocations: 11.94 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.4847, allocations: 11.98 kB / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.4847, allocations: 0 / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.4847, allocations: 4 kB / 440.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000282/0.485, allocations: 152 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.485, allocations: 0 / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.4853, allocations: 36 kB / 440.5 MB, free: 14.08 MB / 350.1 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 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.4856, allocations: 115.2 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.486, allocations: 140.7 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.486, allocations: 0 / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.255e-05/0.4861, allocations: 12.12 kB / 440.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.487, allocations: 143.7 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.4879, allocations: 344.9 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.4881, allocations: 127.5 kB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.4881, allocations: 21.55 kB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.4882, allocations: 19.42 kB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4882, allocations: 0 / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Templates: time 0.00935/0.4976, allocations: 2.724 MB / 444.2 MB, free: 10.43 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.299895360993105]