Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.7 kB / 18.46 MB, free: 4.613 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.001305/0.001305, allocations: 186.1 kB / 19.39 MB, free: 3.688 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.414/1.414, 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.198/0.198, allocations: 44.2 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.83 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3493, allocations: 60.81 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002704/0.352, allocations: 1.737 MB / 0.5214 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3533, allocations: 0.8703 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.3533, allocations: 1.062 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.3537, allocations: 108.6 kB / 0.5223 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.354, allocations: 90.47 kB / 0.5224 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.3543, allocations: 109.2 kB / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3545, allocations: 125.5 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3546, allocations: 21.53 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.3547, allocations: 67.36 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3548, allocations: 65.86 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3548, allocations: 4.938 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.355, allocations: 59.39 kB / 0.5228 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.355, allocations: 32.45 kB / 0.5229 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.3551, allocations: 40.7 kB / 0.5229 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3553, allocations: 152.2 kB / 0.523 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3553, allocations: 4.688 kB / 0.5231 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3553, allocations: 0 / 0.5231 GB, free: 1.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3553, allocations: 4 kB / 0.5231 GB, free: 1.469 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004954/0.3558, allocations: 462.5 kB / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3559, allocations: 9.562 kB / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.3559, allocations: 15.97 kB / 0.5235 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3562, allocations: 217.4 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3562, allocations: 2.047 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3562, allocations: 7.5 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.3564, allocations: 70.44 kB / 0.5238 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3564, allocations: 5.188 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3565, allocations: 0.75 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3565, allocations: 1.219 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.3566, allocations: 31.14 kB / 0.5238 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.3569, allocations: 322.8 kB / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.3572, allocations: 76.33 kB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.3573, allocations: 28.38 kB / 0.5243 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3573, allocations: 2.078 kB / 0.5243 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3574, allocations: 78.34 kB / 0.5243 GB, free: 320 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.3575, allocations: 2.062 kB / 0.5243 GB, free: 320 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008099/0.3583, allocations: 271 kB / 0.5246 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.3583, allocations: 57.28 kB / 0.5246 GB, free: 128 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.3586, allocations: 248.1 kB / 0.5249 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3586, allocations: 31.64 kB / 0.5249 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.3587, allocations: 110.7 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3588, allocations: 37.62 kB / 0.5251 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3588, allocations: 28.5 kB / 0.5251 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3589, allocations: 333.6 kB / 0.5254 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.359, allocations: 33.47 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3591, allocations: 55.8 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3593, allocations: 92.42 kB / 0.5256 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3593, allocations: 1.188 kB / 0.5256 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002842/0.3596, allocations: 146.8 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3597, allocations: 3.969 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3597, allocations: 2.844 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3597, allocations: 4.031 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3598, allocations: 26.5 kB / 0.5257 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3598, allocations: 5.422 kB / 0.5258 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.3599, allocations: 6.109 kB / 0.5258 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3599, allocations: 5.469 kB / 0.5258 GB, free: 15.27 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 (14): * Single equations (assignments): 14 * 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.0001398/0.36, allocations: 136.2 kB / 0.5259 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.3601, allocations: 15.17 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/0.3602, allocations: 24.55 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3602, allocations: 2.234 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3602, allocations: 4.562 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3602, allocations: 96.2 kB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.3603, allocations: 3.672 kB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.3603, allocations: 6.734 kB / 0.526 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3604, allocations: 11.5 kB / 0.526 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003008/0.3607, allocations: 206.4 kB / 0.5262 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00031/0.361, allocations: 329.7 kB / 0.5266 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.544e-05/0.3611, allocations: 46.33 kB / 0.5266 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3613, allocations: 184.1 kB / 0.5268 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3613, allocations: 1.375 kB / 0.5268 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.3629, allocations: 0.5507 MB / 0.5273 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007184/0.3636, allocations: 0.7273 MB / 0.528 GB, free: 13.6 MB / 398.1 MB Notification: Performance of Templates: time 0.005274/0.3689, allocations: 2.162 MB / 0.5301 GB, free: 12.72 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches