Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.001381, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 97.92 kB / 291.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4593/0.4593, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 56.11 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3519, allocations: 60.8 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002982/0.3549, allocations: 1.762 MB / 0.5081 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3565, allocations: 1.449 MB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.3566, allocations: 6.969 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.3569, allocations: 30.3 kB / 0.5096 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.3571, allocations: 47.2 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.3574, allocations: 99.42 kB / 0.5097 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.3575, allocations: 90.47 kB / 0.5098 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.3576, allocations: 16.12 kB / 0.5098 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.3577, allocations: 34.22 kB / 0.5098 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.3578, allocations: 35.56 kB / 0.5099 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.3578, allocations: 2.531 kB / 0.5099 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.358, allocations: 65.7 kB / 0.5099 GB, free: 36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.358, allocations: 18.28 kB / 0.51 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.3581, allocations: 35.5 kB / 0.51 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3583, allocations: 113.4 kB / 0.5101 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3583, allocations: 3.375 kB / 0.5101 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3583, allocations: 0 / 0.5101 GB, free: 35.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3583, allocations: 0 / 0.5101 GB, free: 35.93 MB / 378.7 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.0004968/0.3588, allocations: 398.8 kB / 0.5105 GB, free: 35.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3588, allocations: 9.594 kB / 0.5105 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.3589, allocations: 14.91 kB / 0.5105 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3591, allocations: 205.9 kB / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3591, allocations: 3.5 kB / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3591, allocations: 7.5 kB / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3593, allocations: 64.67 kB / 0.5108 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3593, allocations: 4 kB / 0.5108 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3593, allocations: 3.219 kB / 0.5108 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.3593, allocations: 3.984 kB / 0.5108 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.3594, allocations: 23.97 kB / 0.5108 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.3597, allocations: 286.3 kB / 0.5111 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3599, allocations: 52.61 kB / 0.5111 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.3599, allocations: 20.62 kB / 0.5112 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.36, allocations: 0 / 0.5112 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.3602, allocations: 82.17 kB / 0.5112 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3602, allocations: 0 / 0.5112 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004881/0.3607, allocations: 158.5 kB / 0.5114 GB, free: 34.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3607, allocations: 87.89 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3609, allocations: 152.7 kB / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3609, allocations: 29.7 kB / 0.5116 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.3609, allocations: 98.98 kB / 0.5117 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.361, allocations: 24.89 kB / 0.5118 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.361, allocations: 19.44 kB / 0.5118 GB, free: 34.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.3611, allocations: 325.1 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.3611, allocations: 22.52 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.3612, allocations: 43.47 kB / 0.5121 GB, free: 34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.985e-05/0.3613, allocations: 68.05 kB / 0.5122 GB, free: 33.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3613, allocations: 0 / 0.5122 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/0.3614, allocations: 100.3 kB / 0.5123 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3614, allocations: 7 kB / 0.5123 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3614, allocations: 3.062 kB / 0.5123 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3615, allocations: 0 / 0.5123 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.3615, allocations: 23.11 kB / 0.5123 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3616, allocations: 2.875 kB / 0.5123 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.3616, allocations: 6.781 kB / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3616, allocations: 14.75 kB / 0.5124 GB, free: 33.88 MB / 378.7 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 6.072e-05/0.3617, allocations: 119.6 kB / 0.5125 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.3617, allocations: 9.656 kB / 0.5125 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.3618, allocations: 14.98 kB / 0.5125 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-06/0.3618, allocations: 0 / 0.5125 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3618, allocations: 0 / 0.5125 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3618, allocations: 3.938 kB / 0.5125 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.3621, allocations: 393.1 kB / 0.5129 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3622, allocations: 2.938 kB / 0.5129 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.3622, allocations: 5.781 kB / 0.5129 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3622, allocations: 2.969 kB / 0.5129 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3622, allocations: 3.938 kB / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3622, allocations: 3.938 kB / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3622, allocations: 6.234 kB / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.3626, allocations: 0.7773 MB / 0.5137 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.3627, allocations: 81.02 kB / 0.5137 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.3627, allocations: 6 kB / 0.5137 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.3628, allocations: 2.781 kB / 0.5138 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.3628, allocations: 14.14 kB / 0.5138 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3628, allocations: 2.625 kB / 0.5138 GB, free: 32.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.653e-05/0.3629, allocations: 122.1 kB / 0.5139 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3629, allocations: 0 / 0.5139 GB, free: 32.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.3633, allocations: 33.44 kB / 0.5139 GB, free: 32.41 MB / 378.7 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.001101/0.3644, allocations: 0.5105 MB / 0.5144 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.3646, allocations: 61.12 kB / 0.5145 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3646, allocations: 0 / 0.5145 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.3647, allocations: 34.27 kB / 0.5145 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3651, allocations: 29.12 kB / 0.5145 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.3655, allocations: 336.6 kB / 0.5149 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3656, allocations: 0.6997 MB / 0.5155 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.113e-05/0.3657, allocations: 15.17 kB / 0.5156 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.3657, allocations: 18.69 kB / 0.5156 GB, free: 31.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3657, allocations: 0 / 0.5156 GB, free: 31.12 MB / 378.7 MB Notification: Performance of Templates: time 0.004296/0.37, allocations: 1.93 MB / 0.5175 GB, free: 30.91 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches