Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 105.5 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.001112/0.001112, allocations: 184.3 kB / 19.38 MB, free: 3.68 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.32/1.32, allocations: 222.9 MB / 243.1 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.2051/0.2051, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3641, allocations: 60.82 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003106/0.3672, allocations: 1.888 MB / 0.5215 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3688, allocations: 0.9879 MB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.3689, allocations: 1.094 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.3694, allocations: 221.9 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.3698, allocations: 165.1 kB / 0.5229 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.3702, allocations: 188.6 kB / 0.523 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.3705, allocations: 236.4 kB / 0.5233 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3706, allocations: 33.78 kB / 0.5233 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3708, allocations: 120.3 kB / 0.5234 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.371, allocations: 149.9 kB / 0.5235 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.371, allocations: 7.531 kB / 0.5236 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3712, allocations: 66.95 kB / 0.5236 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.3712, allocations: 60.11 kB / 0.5237 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.3713, allocations: 89.77 kB / 0.5238 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.3717, allocations: 233.1 kB / 0.524 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3717, allocations: 1.094 kB / 0.524 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3717, allocations: 0 / 0.524 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3717, allocations: 0 / 0.524 GB, free: 1.039 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006441/0.3723, allocations: 0.5461 MB / 0.5245 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3724, allocations: 9.625 kB / 0.5245 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.3725, allocations: 33.23 kB / 0.5246 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3728, allocations: 284.1 kB / 0.5248 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3728, allocations: 4.875 kB / 0.5248 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3729, allocations: 12.45 kB / 0.5248 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.3731, allocations: 111 kB / 0.525 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3731, allocations: 3.906 kB / 0.525 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3732, allocations: 2.094 kB / 0.525 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3732, allocations: 5.438 kB / 0.525 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3733, allocations: 55.2 kB / 0.525 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.3739, allocations: 465.1 kB / 0.5255 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.3743, allocations: 129.3 kB / 0.5256 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3744, allocations: 42.81 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3745, allocations: 2.562 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.3747, allocations: 121.4 kB / 0.5257 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.3747, allocations: 4 kB / 0.5257 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001427/0.3762, allocations: 498.7 kB / 0.5262 GB, free: 15.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3762, allocations: 80.56 kB / 0.5263 GB, free: 15.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.3767, allocations: 427 kB / 0.5267 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3768, allocations: 31.67 kB / 0.5267 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3769, allocations: 155.4 kB / 0.5269 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.377, allocations: 76.42 kB / 0.527 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.3771, allocations: 41.86 kB / 0.527 GB, free: 14.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3772, allocations: 341.5 kB / 0.5273 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.3774, allocations: 56.31 kB / 0.5274 GB, free: 14.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.3775, allocations: 102.2 kB / 0.5275 GB, free: 14.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.3778, allocations: 165.2 kB / 0.5276 GB, free: 14.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3778, allocations: 1.312 kB / 0.5276 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004187/0.3783, allocations: 235.4 kB / 0.5279 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3783, allocations: 12.83 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3783, allocations: 0.8438 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3783, allocations: 5.891 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3785, allocations: 51.12 kB / 0.5279 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3785, allocations: 2.469 kB / 0.5279 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.3786, allocations: 7.594 kB / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3786, allocations: 11.53 kB / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001529/0.3788, allocations: 167.8 kB / 0.5281 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.3788, allocations: 35.16 kB / 0.5281 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.623e-05/0.3789, allocations: 41.8 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3789, allocations: 1.406 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3789, allocations: 4 kB / 0.5282 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.379, allocations: 100.6 kB / 0.5283 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.3791, allocations: 6.844 kB / 0.5283 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.3791, allocations: 10.83 kB / 0.5283 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.3792, allocations: 12.98 kB / 0.5283 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004973/0.3797, allocations: 379.1 kB / 0.5287 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005252/0.3802, allocations: 481.1 kB / 0.5291 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001644/0.3804, allocations: 81.34 kB / 0.5292 GB, free: 13.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003413/0.3808, allocations: 320.3 kB / 0.5295 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.3808, allocations: 0 / 0.5295 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.3826, allocations: 0.6216 MB / 0.5301 GB, free: 12.71 MB / 398.1 MB Notification: Performance of SimCode: time 0.001099/0.3837, allocations: 0.9227 MB / 0.531 GB, free: 11.93 MB / 398.1 MB Notification: Performance of Templates: time 0.007818/0.3916, allocations: 3.265 MB / 0.5342 GB, free: 10.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches