Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 109.9 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.001223/0.001223, allocations: 185.9 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.341/1.341, 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.1994/0.1994, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 60.82 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002847/0.3554, allocations: 1.677 MB / 0.5213 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3568, allocations: 0.8525 MB / 0.5221 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.3569, allocations: 5.094 kB / 0.5221 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.3572, allocations: 49.33 kB / 0.5222 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.3575, allocations: 60.61 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3578, allocations: 106.9 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.3581, allocations: 93.67 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.3581, allocations: 4.891 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3582, allocations: 45.48 kB / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.3583, allocations: 28.83 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3584, allocations: 3.5 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.3585, allocations: 30.17 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.3585, allocations: 26.67 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.3586, allocations: 38.23 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3588, allocations: 117 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3589, allocations: 5.188 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3589, allocations: 0 / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3589, allocations: 0 / 0.5227 GB, free: 1.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005831/0.3595, allocations: 431.2 kB / 0.5231 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3595, allocations: 8.344 kB / 0.5231 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.3596, allocations: 15.39 kB / 0.5231 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3598, allocations: 218 kB / 0.5233 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3598, allocations: 1.75 kB / 0.5233 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3599, allocations: 5.797 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.36, allocations: 50.48 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.36, allocations: 0.7031 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.36, allocations: 1.031 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3601, allocations: 0 / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.3601, allocations: 19.34 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.3603, allocations: 189.8 kB / 0.5236 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3605, allocations: 52.8 kB / 0.5236 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.3605, allocations: 23.41 kB / 0.5237 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3606, allocations: 2.547 kB / 0.5237 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3607, allocations: 68.42 kB / 0.5237 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.3607, allocations: 0 / 0.5237 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000274/0.361, allocations: 97.28 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.361, allocations: 56.06 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3613, allocations: 262.4 kB / 0.5241 GB, free: 324 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.3613, allocations: 31.05 kB / 0.5242 GB, free: 288 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.3613, allocations: 110.3 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3614, allocations: 15.59 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3614, allocations: 20.7 kB / 0.5243 GB, free: 152 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3615, allocations: 324.1 kB / 0.5246 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.3616, allocations: 13.41 kB / 0.5246 GB, free: 15.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.3617, allocations: 34.39 kB / 0.5247 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.796e-05/0.3618, allocations: 47.27 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3618, allocations: 0 / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001747/0.362, allocations: 92.88 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.362, allocations: 9.203 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.362, allocations: 320 / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.362, allocations: 2 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.3621, allocations: 14.19 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3621, allocations: 4.969 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.3622, allocations: 3.516 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3622, allocations: 2.125 kB / 0.5248 GB, free: 15.7 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 (7): * Single equations (assignments): 7 * 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.0001149/0.3623, allocations: 136.4 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3623, allocations: 19.12 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.3624, allocations: 17.89 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3624, allocations: 1.078 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3624, allocations: 4 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.3625, allocations: 89.17 kB / 0.5251 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3625, allocations: 1.125 kB / 0.5251 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.3625, allocations: 3.766 kB / 0.5251 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.3626, allocations: 7.828 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002035/0.3628, allocations: 155.9 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002383/0.363, allocations: 257.2 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.679e-05/0.3631, allocations: 20.09 kB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3633, allocations: 203.9 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of Backend: time 6.61e-07/0.3633, allocations: 0 / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.3646, allocations: 436.1 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007104/0.3653, allocations: 0.6965 MB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Templates: time 0.004638/0.3699, allocations: 1.546 MB / 0.5283 GB, free: 13.73 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches