Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.00099/0.00099, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1928/0.1928, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3493, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00311/0.3525, allocations: 1.598 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.3532, allocations: 405.7 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.3532, allocations: 0 / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.3539, allocations: 450.9 kB / 0.5213 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.3543, allocations: 256.1 kB / 0.5215 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.3546, allocations: 119.5 kB / 0.5216 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.3549, allocations: 161.5 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.355, allocations: 15.83 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.3552, allocations: 107.2 kB / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.3555, allocations: 210.5 kB / 0.5221 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.3555, allocations: 2.281 kB / 0.5221 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.3556, allocations: 24.08 kB / 0.5221 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.3558, allocations: 80.7 kB / 0.5222 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.3558, allocations: 100 kB / 0.5223 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.3562, allocations: 242.7 kB / 0.5225 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3562, allocations: 0 / 0.5225 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3562, allocations: 5.562 kB / 0.5226 GB, free: 1.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3562, allocations: 0.6562 kB / 0.5226 GB, free: 1.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006077/0.3568, allocations: 0.6388 MB / 0.5232 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3569, allocations: 9.5 kB / 0.5232 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.3569, allocations: 42.28 kB / 0.5232 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3571, allocations: 300.4 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.3571, allocations: 3.562 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3571, allocations: 5.172 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3573, allocations: 56.14 kB / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3573, allocations: 1.594 kB / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3573, allocations: 0 / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3573, allocations: 3.984 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3575, allocations: 30.36 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.3579, allocations: 379.2 kB / 0.524 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.358, allocations: 45.25 kB / 0.524 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.3581, allocations: 21.86 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3581, allocations: 4.688 kB / 0.524 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3581, allocations: 31.94 kB / 0.5241 GB, free: 500 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3581, allocations: 0 / 0.5241 GB, free: 500 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003187/0.3584, allocations: 125.5 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.3585, allocations: 52.38 kB / 0.5242 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.3593, allocations: 0.8519 MB / 0.5251 GB, free: 40 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.3593, allocations: 26.59 kB / 0.5251 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3595, allocations: 212.3 kB / 0.5253 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3595, allocations: 10.12 kB / 0.5253 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.3596, allocations: 13.22 kB / 0.5253 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3597, allocations: 360.3 kB / 0.5257 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.3598, allocations: 21.19 kB / 0.5257 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.3599, allocations: 16.19 kB / 0.5257 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.36, allocations: 40.78 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.36, allocations: 0 / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001687/0.3602, allocations: 103.8 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3602, allocations: 9.438 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3602, allocations: 5.375 kB / 0.5259 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3602, allocations: 0 / 0.5259 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.3603, allocations: 14.86 kB / 0.5259 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3603, allocations: 0 / 0.5259 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.3604, allocations: 4.125 kB / 0.5259 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3604, allocations: 3.984 kB / 0.5259 GB, free: 15.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001842/0.3606, allocations: 210.5 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.3606, allocations: 40.22 kB / 0.5261 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3609, allocations: 122.4 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3609, allocations: 1.375 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3609, allocations: 0 / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3609, allocations: 5.359 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.3612, allocations: 282.3 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3612, allocations: 0 / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.3613, allocations: 10.86 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3613, allocations: 1.375 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3613, allocations: 0 / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3613, allocations: 5.375 kB / 0.5265 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3613, allocations: 0 / 0.5265 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.3615, allocations: 211.9 kB / 0.5267 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.3616, allocations: 112.7 kB / 0.5268 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3616, allocations: 5.25 kB / 0.5268 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.3617, allocations: 2.844 kB / 0.5268 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3618, allocations: 9.422 kB / 0.5268 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3618, allocations: 1.312 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.3624, allocations: 0.6453 MB / 0.5275 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3624, allocations: 0 / 0.5275 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.3627, allocations: 14.91 kB / 0.5275 GB, free: 14.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007647/0.3634, allocations: 349 kB / 0.5278 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3636, allocations: 37.78 kB / 0.5279 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3637, allocations: 0 / 0.5279 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.3637, allocations: 23.86 kB / 0.5279 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3641, allocations: 26.77 kB / 0.5279 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3652, allocations: 0.7709 MB / 0.5287 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.3656, allocations: 0.8209 MB / 0.5295 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.3656, allocations: 15.25 kB / 0.5295 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.3657, allocations: 14.92 kB / 0.5295 GB, free: 12.79 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3657, allocations: 0 / 0.5295 GB, free: 12.79 MB / 398.1 MB Notification: Performance of Templates: time 0.00442/0.3701, allocations: 1.324 MB / 0.5308 GB, free: 12.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches