Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, 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.383/1.383, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.001006/0.001006, allocations: 89.77 kB / 291.9 MB, free: 10.92 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.3692/0.3692, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.92 kB / 457.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4351, allocations: 60.8 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003128/0.4383, allocations: 1.768 MB / 0.5081 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.4401, allocations: 1.45 MB / 0.5095 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.4401, allocations: 0 / 0.5095 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.4404, allocations: 37.72 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.4406, allocations: 44.94 kB / 0.5096 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.4409, allocations: 99.16 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.441, allocations: 97.97 kB / 0.5098 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.4412, allocations: 13.55 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.4412, allocations: 37.5 kB / 0.5099 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.4414, allocations: 35.03 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.4414, allocations: 0 / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.4415, allocations: 58.22 kB / 0.5099 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.4416, allocations: 21.66 kB / 0.51 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.4417, allocations: 31.42 kB / 0.51 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.4419, allocations: 112.4 kB / 0.5101 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4419, allocations: 3.328 kB / 0.5101 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4419, allocations: 6.5 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4419, allocations: 0 / 0.5101 GB, free: 35.64 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.0005297/0.4424, allocations: 403.3 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4425, allocations: 10.16 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.4425, allocations: 7.812 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.4428, allocations: 204.8 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4428, allocations: 4.312 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4428, allocations: 7.094 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.443, allocations: 71.75 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.443, allocations: 0 / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4431, allocations: 0 / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4431, allocations: 2.906 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.4431, allocations: 16.12 kB / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.4435, allocations: 285.6 kB / 0.5111 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4437, allocations: 64.03 kB / 0.5111 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.4437, allocations: 20.62 kB / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.4438, allocations: 2.406 kB / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.444, allocations: 69.17 kB / 0.5112 GB, free: 34.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.436e-06/0.444, allocations: 0 / 0.5112 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005397/0.4445, allocations: 173.4 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4446, allocations: 77.11 kB / 0.5115 GB, free: 34.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.4447, allocations: 153.5 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4447, allocations: 25.7 kB / 0.5116 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.4448, allocations: 98.23 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4448, allocations: 28.73 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.4449, allocations: 23.66 kB / 0.5118 GB, free: 34.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.4449, allocations: 328.9 kB / 0.5121 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.445, allocations: 18.91 kB / 0.5121 GB, free: 33.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.4451, allocations: 40.94 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.4452, allocations: 66.98 kB / 0.5122 GB, free: 33.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4452, allocations: 0 / 0.5122 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/0.4454, allocations: 108.1 kB / 0.5123 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4454, allocations: 9.812 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4454, allocations: 192 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4454, allocations: 2.938 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.4455, allocations: 22.62 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4455, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.4456, allocations: 6.812 kB / 0.5124 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4456, allocations: 2.844 kB / 0.5124 GB, free: 33.6 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 8.52e-05/0.4457, allocations: 128.6 kB / 0.5125 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.4457, allocations: 9.688 kB / 0.5125 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.4457, allocations: 15.62 kB / 0.5125 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4458, allocations: 2.844 kB / 0.5125 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4458, allocations: 0 / 0.5125 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4458, allocations: 7.219 kB / 0.5125 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.4462, allocations: 382.3 kB / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4462, allocations: 2.656 kB / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.4462, allocations: 7.969 kB / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4462, allocations: 32 / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4462, allocations: 14.69 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4462, allocations: 3.234 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4462, allocations: 0 / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.4467, allocations: 0.7705 MB / 0.5137 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.4467, allocations: 94.91 kB / 0.5137 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.4467, allocations: 4 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.4468, allocations: 6.719 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.4469, allocations: 6.125 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4469, allocations: 5.219 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.165e-05/0.447, allocations: 116.8 kB / 0.5139 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.447, allocations: 0 / 0.5139 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.4473, allocations: 36.98 kB / 0.5139 GB, free: 32.13 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.00105/0.4484, allocations: 0.5018 MB / 0.5144 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.4486, allocations: 63.69 kB / 0.5145 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4486, allocations: 0 / 0.5145 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.4487, allocations: 28.03 kB / 0.5145 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.449, allocations: 29.33 kB / 0.5145 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.4495, allocations: 337.7 kB / 0.5148 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.4496, allocations: 0.6969 MB / 0.5155 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.4497, allocations: 23.69 kB / 0.5155 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.4497, allocations: 23.61 kB / 0.5156 GB, free: 30.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4497, allocations: 0 / 0.5156 GB, free: 30.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004594/0.4543, allocations: 1.929 MB / 0.5175 GB, free: 30.62 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches