Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 118.4 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3778, allocations: 60.81 MB / 0.519 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002973/0.3808, allocations: 1.722 MB / 0.5207 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3828, allocations: 1.485 MB / 0.5221 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.922e-05/0.3829, allocations: 1.219 kB / 0.5221 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3832, allocations: 36.25 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.3835, allocations: 58.92 kB / 0.5222 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.3838, allocations: 106.2 kB / 0.5223 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.384, allocations: 96.39 kB / 0.5224 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3841, allocations: 14.92 kB / 0.5224 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.3842, allocations: 45.7 kB / 0.5225 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.3844, allocations: 43.98 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3844, allocations: 4.438 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3845, allocations: 58.19 kB / 0.5226 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.3846, allocations: 19.45 kB / 0.5226 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.3846, allocations: 30.08 kB / 0.5226 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3849, allocations: 121.3 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3849, allocations: 1.344 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3849, allocations: 0 / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3849, allocations: 0 / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004425/0.3853, allocations: 413.3 kB / 0.5231 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3854, allocations: 8.656 kB / 0.5231 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.3854, allocations: 9.891 kB / 0.5231 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3856, allocations: 205.4 kB / 0.5233 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3857, allocations: 1.812 kB / 0.5233 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3857, allocations: 7.562 kB / 0.5233 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3859, allocations: 70.03 kB / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3859, allocations: 5.188 kB / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3859, allocations: 0 / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3859, allocations: 5.828 kB / 0.5234 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.052e-05/0.386, allocations: 21.92 kB / 0.5234 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.3863, allocations: 283.7 kB / 0.5237 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3865, allocations: 60 kB / 0.5238 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.3865, allocations: 23.84 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.3866, allocations: 2.062 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.3868, allocations: 65.66 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.3868, allocations: 0 / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006569/0.3874, allocations: 172.2 kB / 0.524 GB, free: 152 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3875, allocations: 79.31 kB / 0.5241 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3877, allocations: 156.9 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3877, allocations: 27.02 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.3878, allocations: 94.73 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3878, allocations: 25.84 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.3879, allocations: 25.75 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.388, allocations: 325.4 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.3881, allocations: 17.59 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.562e-05/0.3882, allocations: 52.59 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3883, allocations: 62.25 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3883, allocations: 0.9375 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001985/0.3885, allocations: 99.61 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3886, allocations: 5.594 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3886, allocations: 2.359 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3886, allocations: 0 / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.3887, allocations: 20.89 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3887, allocations: 0 / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.3888, allocations: 6.844 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3888, allocations: 3.562 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001395/0.3889, allocations: 130.5 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.389, allocations: 12.11 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.389, allocations: 14.36 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3891, allocations: 1.844 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3891, allocations: 4 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3891, allocations: 4.641 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.3896, allocations: 388.1 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3896, allocations: 6.531 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.3896, allocations: 8.859 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3896, allocations: 0 / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3897, allocations: 14.66 kB / 0.5255 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3897, allocations: 1.625 kB / 0.5255 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3897, allocations: 0 / 0.5255 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.3899, allocations: 196.8 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.39, allocations: 92.62 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.39, allocations: 7.141 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.3901, allocations: 2.766 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3901, allocations: 4.891 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.3902, allocations: 8.078 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3903, allocations: 119.6 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3903, allocations: 1.312 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3906, allocations: 34.16 kB / 0.526 GB, free: 14.4 MB / 398.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 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001117/0.3917, allocations: 498.9 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3919, allocations: 63.88 kB / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3919, allocations: 1.156 kB / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.392, allocations: 27.72 kB / 0.5265 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3924, allocations: 38.45 kB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.3928, allocations: 195.3 kB / 0.5268 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3931, allocations: 0.6953 MB / 0.5274 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.3932, allocations: 22.64 kB / 0.5275 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.3932, allocations: 18.88 kB / 0.5275 GB, free: 13.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3932, allocations: 0 / 0.5275 GB, free: 13.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004937/0.3982, allocations: 1.962 MB / 0.5294 GB, free: 12.51 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches