Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001342/0.001343, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.357/1.357, allocations: 222.9 MB / 243.1 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.212/0.212, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4325, allocations: 60.81 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003751/0.4363, allocations: 1.717 MB / 0.5213 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.4379, allocations: 0.8757 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.438, allocations: 5.094 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.4384, allocations: 71 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.4387, allocations: 77.45 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.4392, allocations: 109.9 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.4394, allocations: 115 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4395, allocations: 12.23 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.4396, allocations: 50.75 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.4398, allocations: 58.84 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.4398, allocations: 3.062 kB / 0.5227 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4399, allocations: 43 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.44, allocations: 20.53 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.4401, allocations: 33.28 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.4403, allocations: 130.6 kB / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4403, allocations: 0 / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4404, allocations: 1.406 kB / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.4404, allocations: 0 / 0.5229 GB, free: 1.531 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.000548/0.4409, allocations: 424.5 kB / 0.5233 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.441, allocations: 9.219 kB / 0.5233 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.441, allocations: 9.5 kB / 0.5233 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.4414, allocations: 212.2 kB / 0.5235 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.4414, allocations: 6.25 kB / 0.5235 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.4414, allocations: 6.406 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4416, allocations: 58.36 kB / 0.5236 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4416, allocations: 0 / 0.5236 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4416, allocations: 1 kB / 0.5236 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4416, allocations: 1.031 kB / 0.5236 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.4417, allocations: 18.81 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.4421, allocations: 292.2 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.4423, allocations: 59.97 kB / 0.5239 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.4423, allocations: 24.36 kB / 0.5239 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4424, allocations: 1 kB / 0.5239 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.4425, allocations: 62.23 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.4425, allocations: 0 / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005592/0.4431, allocations: 181.7 kB / 0.5242 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4431, allocations: 53.34 kB / 0.5242 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.4434, allocations: 213.4 kB / 0.5244 GB, free: 152 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4434, allocations: 26.92 kB / 0.5245 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.4435, allocations: 109 kB / 0.5246 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.4435, allocations: 22.47 kB / 0.5246 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.4436, allocations: 21.34 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4437, allocations: 336.1 kB / 0.5249 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.4438, allocations: 17.19 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.4439, allocations: 46.53 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.444, allocations: 55.36 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.444, allocations: 0 / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.4442, allocations: 106.3 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4443, allocations: 10.69 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4443, allocations: 2.312 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4443, allocations: 1.219 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.4444, allocations: 14.75 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4444, allocations: 2.875 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.4445, allocations: 8.5 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.4445, allocations: 3.234 kB / 0.5252 GB, free: 15.51 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.0001164/0.4446, allocations: 137.1 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4446, allocations: 12.81 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.4447, allocations: 23.75 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4447, allocations: 0 / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4447, allocations: 0 / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4447, allocations: 4.5 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.4452, allocations: 392.4 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4452, allocations: 1.953 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.4452, allocations: 7.734 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4453, allocations: 5.219 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4453, allocations: 10.06 kB / 0.5257 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4453, allocations: 2.188 kB / 0.5257 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4453, allocations: 0.7188 kB / 0.5257 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.4456, allocations: 205.9 kB / 0.5259 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.4456, allocations: 88.34 kB / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4457, allocations: 9.875 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.4457, allocations: 7.406 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.4458, allocations: 6.109 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4458, allocations: 3.203 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.446, allocations: 161 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.446, allocations: 0 / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.4463, allocations: 22.67 kB / 0.5262 GB, free: 14.61 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.001161/0.4474, allocations: 472 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.4477, allocations: 56.25 kB / 0.5267 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4477, allocations: 4 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.4478, allocations: 23.95 kB / 0.5268 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.4482, allocations: 30.84 kB / 0.5268 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.4487, allocations: 271.7 kB / 0.527 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4491, allocations: 0.707 MB / 0.5277 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.4491, allocations: 15.25 kB / 0.5278 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4491, allocations: 0 / 0.5278 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.004472/0.4536, allocations: 1.97 MB / 0.5297 GB, free: 12.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches