Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001111/0.001111, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.476/1.476, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2236/0.2236, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.08 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4572, allocations: 60.83 MB / 0.519 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003541/0.4608, allocations: 1.711 MB / 0.5206 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.4623, allocations: 0.8723 MB / 0.5215 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.4624, allocations: 9.156 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.4627, allocations: 33.09 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.463, allocations: 58.83 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.4633, allocations: 108.6 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.4635, allocations: 100.2 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.4636, allocations: 7.594 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.4637, allocations: 42.36 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.4637, allocations: 33.52 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4638, allocations: 3.781 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.4639, allocations: 42.31 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.4639, allocations: 17.31 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.464, allocations: 32.97 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.4642, allocations: 113.9 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4642, allocations: 0.6094 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4642, allocations: 1.031 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.4642, allocations: 0 / 0.5221 GB, free: 1.562 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.0004435/0.4647, allocations: 411.8 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4647, allocations: 9.031 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.4648, allocations: 9.281 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.4649, allocations: 205.7 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.465, allocations: 2.328 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.465, allocations: 6.344 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.4651, allocations: 54.33 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4651, allocations: 9.031 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4652, allocations: 0.75 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4652, allocations: 5.219 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.4652, allocations: 21.52 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.4655, allocations: 281.5 kB / 0.523 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.4657, allocations: 60.42 kB / 0.5231 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.4657, allocations: 19.55 kB / 0.5231 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4658, allocations: 5.344 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.4659, allocations: 70.14 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.4659, allocations: 0 / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004977/0.4664, allocations: 175.9 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.4665, allocations: 56.88 kB / 0.5234 GB, free: 328 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4666, allocations: 171.4 kB / 0.5236 GB, free: 204 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.4666, allocations: 34.77 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.4667, allocations: 99.05 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.4667, allocations: 26.98 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.4667, allocations: 21.97 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4668, allocations: 325 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.4669, allocations: 25.91 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.467, allocations: 38.59 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4671, allocations: 58.25 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4671, allocations: 0.7031 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.4673, allocations: 104.1 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4673, allocations: 6.156 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4673, allocations: 0.75 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4674, allocations: 1.156 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.4674, allocations: 15.38 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.4675, allocations: 1.188 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.4675, allocations: 11.44 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.4675, allocations: 2.438 kB / 0.5243 GB, free: 15.56 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 9.257e-05/0.4676, allocations: 123.8 kB / 0.5244 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.4676, allocations: 14.33 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.4677, allocations: 15.19 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4677, allocations: 0 / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4677, allocations: 1.156 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4677, allocations: 4.734 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.4681, allocations: 397.4 kB / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4682, allocations: 0 / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.4682, allocations: 12.62 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4682, allocations: 1.312 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4682, allocations: 6.109 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4682, allocations: 2.641 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4682, allocations: 0 / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.4685, allocations: 209.1 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.4685, allocations: 84.7 kB / 0.5252 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.4685, allocations: 10.25 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.4686, allocations: 6.422 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.4687, allocations: 9.672 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4687, allocations: 4.531 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.4688, allocations: 131.9 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.4688, allocations: 0 / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.4691, allocations: 29.91 kB / 0.5253 GB, free: 14.68 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.0009684/0.47, allocations: 461 kB / 0.5258 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.4702, allocations: 62.06 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4702, allocations: 0 / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.4703, allocations: 27.84 kB / 0.5259 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.4706, allocations: 29.92 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.471, allocations: 208.2 kB / 0.5261 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4713, allocations: 0.7038 MB / 0.5268 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.4714, allocations: 16.39 kB / 0.5268 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.4714, allocations: 20.45 kB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4714, allocations: 0 / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Templates: time 0.004504/0.4759, allocations: 1.729 MB / 0.5285 GB, free: 13 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches