Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 117.2 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.002159/0.00216, allocations: 185 kB / 18.71 MB, free: 4.34 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.453/1.453, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2401/0.2401, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5375, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003916/0.5415, allocations: 1.716 MB / 0.5207 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.5433, allocations: 0.8754 MB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.5434, allocations: 5.062 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.5439, allocations: 42.2 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.5443, allocations: 62.62 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.5447, allocations: 109.1 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.5449, allocations: 88.52 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.5451, allocations: 11.48 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.5452, allocations: 50 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5454, allocations: 30.81 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.5454, allocations: 3.375 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.5455, allocations: 46.23 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.5456, allocations: 20.39 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.5457, allocations: 42.47 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.546, allocations: 115.9 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.546, allocations: 1.219 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.546, allocations: 0 / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.5461, allocations: 3.938 kB / 0.5221 GB, free: 1.523 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.0006814/0.5467, allocations: 432.5 kB / 0.5225 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5468, allocations: 10.34 kB / 0.5225 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.5469, allocations: 13.22 kB / 0.5225 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.5471, allocations: 213.1 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5472, allocations: 1.906 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.5472, allocations: 6.344 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.5474, allocations: 54.56 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5474, allocations: 3.938 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.5474, allocations: 0.75 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5474, allocations: 9.406 kB / 0.5228 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/0.5475, allocations: 17.92 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.548, allocations: 294 kB / 0.5231 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.5481, allocations: 52.69 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.5482, allocations: 26.86 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.5483, allocations: 6.578 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.5484, allocations: 65.59 kB / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.5485, allocations: 0 / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006582/0.5491, allocations: 182.3 kB / 0.5234 GB, free: 332 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.5492, allocations: 56.81 kB / 0.5235 GB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5494, allocations: 218.1 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.5494, allocations: 31.75 kB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.5495, allocations: 105.2 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.5496, allocations: 21.84 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.5496, allocations: 25.92 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5498, allocations: 327.5 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.5499, allocations: 21.92 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.55, allocations: 35.39 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.5501, allocations: 61.8 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5501, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.5503, allocations: 105.5 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5503, allocations: 5.406 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.5504, allocations: 2.406 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5504, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5505, allocations: 24.78 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5505, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.5506, allocations: 10.47 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5506, allocations: 4.109 kB / 0.5244 GB, free: 15.48 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.0001362/0.5507, allocations: 134.7 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.5508, allocations: 14.75 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.5508, allocations: 17.25 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5508, allocations: 1.344 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5509, allocations: 3.938 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5509, allocations: 4.688 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.5515, allocations: 403 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5515, allocations: 0 / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.5515, allocations: 16.86 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5515, allocations: 1.688 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.5515, allocations: 6.375 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5516, allocations: 384 / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5516, allocations: 2.156 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.5518, allocations: 209.4 kB / 0.5252 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.552, allocations: 88.36 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.552, allocations: 6.453 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.5521, allocations: 2.859 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.5522, allocations: 13.78 kB / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.5522, allocations: 3.625 kB / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.5525, allocations: 176.4 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5525, allocations: 0 / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.5528, allocations: 25.61 kB / 0.5255 GB, free: 14.56 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.001339/0.5541, allocations: 463.9 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.5544, allocations: 64.83 kB / 0.526 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5544, allocations: 0 / 0.526 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.5545, allocations: 24.77 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.5549, allocations: 30.38 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.5556, allocations: 257.3 kB / 0.5263 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.556, allocations: 0.713 MB / 0.527 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.5561, allocations: 17.66 kB / 0.527 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.5561, allocations: 20.06 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5561, allocations: 0 / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Templates: time 0.005827/0.562, allocations: 1.736 MB / 0.5288 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches