Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 111.1 kB / 17.75 MB, free: 5.324 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.001337/0.001337, allocations: 187 kB / 18.68 MB, free: 4.398 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.454/1.454, 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.2349/0.2349, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.09 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4304, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003085/0.4336, allocations: 1.708 MB / 0.5206 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4349, allocations: 0.8762 MB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.435, allocations: 5.094 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.4353, allocations: 37.7 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.4355, allocations: 65.69 kB / 0.5216 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.4358, allocations: 113.2 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.436, allocations: 100.1 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4361, allocations: 12.19 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.4362, allocations: 36.84 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.4363, allocations: 34.67 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.4363, allocations: 3.562 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.4364, allocations: 46.64 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.4365, allocations: 20.14 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.4366, allocations: 33.64 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.4368, allocations: 123.8 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4368, allocations: 1.031 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4368, allocations: 4.828 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4368, allocations: 0 / 0.5221 GB, free: 1.535 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.0004953/0.4373, allocations: 427.7 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4374, allocations: 9.75 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.4374, allocations: 18.56 kB / 0.5225 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.4377, allocations: 204.2 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4377, allocations: 2.625 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.4377, allocations: 11.12 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4379, allocations: 53.3 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4379, allocations: 0 / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4379, allocations: 6.219 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4379, allocations: 0 / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.57e-05/0.438, allocations: 19.2 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.4383, allocations: 292.2 kB / 0.5231 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.4385, allocations: 61.48 kB / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.4386, allocations: 23.78 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.4386, allocations: 2.125 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.4388, allocations: 72.52 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.4388, allocations: 1.25 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005321/0.4393, allocations: 176.4 kB / 0.5234 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.4394, allocations: 58.23 kB / 0.5234 GB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.4396, allocations: 218.2 kB / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.4396, allocations: 31.72 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.4396, allocations: 104.8 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.4397, allocations: 25.91 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.4397, allocations: 21.61 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4399, allocations: 331.8 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.4399, allocations: 18.36 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.44, allocations: 38.47 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4401, allocations: 65.8 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4402, allocations: 4 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.4403, allocations: 110.9 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4404, allocations: 5.938 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4404, allocations: 0 / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4404, allocations: 2.422 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.4405, allocations: 18.45 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.4405, allocations: 2.438 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.4406, allocations: 6.688 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4406, allocations: 1.781 kB / 0.5244 GB, free: 15.49 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.0001032/0.4407, allocations: 140.3 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.4407, allocations: 13.47 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.4408, allocations: 16.69 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4408, allocations: 5.219 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4408, allocations: 1.344 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4408, allocations: 4.922 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.4412, allocations: 390.2 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4412, allocations: 7.969 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.4413, allocations: 9.188 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4413, allocations: 2.656 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4413, allocations: 9.062 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4413, allocations: 3.297 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4413, allocations: 4 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4415, allocations: 200.3 kB / 0.5252 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.4416, allocations: 88.86 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.4416, allocations: 10.02 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.4417, allocations: 3.344 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4418, allocations: 10.66 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4418, allocations: 3.609 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4419, allocations: 174.5 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4419, allocations: 1.531 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.4422, allocations: 21.66 kB / 0.5255 GB, free: 14.58 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.001025/0.4432, allocations: 467.3 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.4434, allocations: 61.58 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4434, allocations: 0 / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.467e-05/0.4435, allocations: 32.91 kB / 0.526 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4439, allocations: 29.67 kB / 0.526 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.4444, allocations: 252.4 kB / 0.5263 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.4447, allocations: 0.7185 MB / 0.527 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.4447, allocations: 16.66 kB / 0.527 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.4448, allocations: 16.33 kB / 0.527 GB, free: 13.44 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4448, allocations: 0 / 0.527 GB, free: 13.44 MB / 398.1 MB Notification: Performance of Templates: time 0.004818/0.4496, allocations: 1.726 MB / 0.5287 GB, free: 12.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches