Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.0014/0.0014, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.484/1.484, 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.2508/0.2508, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4382, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003301/0.4415, allocations: 1.64 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4433, allocations: 1.061 MB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.4434, allocations: 0 / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.4436, allocations: 24.58 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.4439, allocations: 46.39 kB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.4443, allocations: 174.4 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4445, allocations: 69.55 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.4447, allocations: 20.52 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.4447, allocations: 20.98 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.4449, allocations: 35.31 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.4449, allocations: 8.594 kB / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.4451, allocations: 47.81 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.4452, allocations: 24.48 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.4452, allocations: 23.14 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.4455, allocations: 100.2 kB / 0.5221 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4455, allocations: 0 / 0.5221 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4455, allocations: 1.188 kB / 0.5221 GB, free: 1.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4455, allocations: 0 / 0.5221 GB, free: 1.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005877/0.4461, allocations: 390.6 kB / 0.5225 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4461, allocations: 10.95 kB / 0.5225 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.4462, allocations: 8.125 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4464, allocations: 187 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4465, allocations: 7.094 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.4465, allocations: 2.062 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.4467, allocations: 80.83 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4467, allocations: 0.7031 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4468, allocations: 0 / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4468, allocations: 5.469 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.4469, allocations: 46.78 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.4474, allocations: 304.2 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4476, allocations: 49.84 kB / 0.5232 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.4477, allocations: 26.09 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4477, allocations: 2.062 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4477, allocations: 34.5 kB / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.4477, allocations: 1.562 kB / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008821/0.4486, allocations: 225 kB / 0.5234 GB, free: 308 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4487, allocations: 79.05 kB / 0.5235 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4488, allocations: 132.3 kB / 0.5236 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.4489, allocations: 25.7 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.449, allocations: 94.17 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.449, allocations: 28.08 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.4491, allocations: 20.8 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4492, allocations: 319.7 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.4494, allocations: 37.98 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.4495, allocations: 51.5 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4498, allocations: 100.3 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4498, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003294/0.4501, allocations: 124.8 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4502, allocations: 6.344 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4502, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4502, allocations: 5.062 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.4504, allocations: 20.05 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4504, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.4505, allocations: 17.58 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4505, allocations: 1.562 kB / 0.5245 GB, free: 15.48 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 (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.0001093/0.4506, allocations: 117.6 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.4506, allocations: 7.484 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.451, allocations: 140.9 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.451, allocations: 1.75 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4511, allocations: 0 / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4511, allocations: 4.641 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.4517, allocations: 405.4 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4517, allocations: 8 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.4518, allocations: 24.66 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4518, allocations: 0 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4518, allocations: 4.641 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4518, allocations: 0 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4518, allocations: 0.7188 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.4522, allocations: 222.9 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.4523, allocations: 82.92 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4523, allocations: 9.891 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.4524, allocations: 9.203 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.4524, allocations: 5.531 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.4524, allocations: 1.531 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.82e-05/0.4525, allocations: 104.1 kB / 0.5256 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.973e-06/0.4526, allocations: 4 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.4529, allocations: 33.31 kB / 0.5256 GB, free: 14.56 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 (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 Backend phase and start with SimCode phase: time 0.001187/0.454, allocations: 450.4 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.4544, allocations: 91.06 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4545, allocations: 0 / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.4546, allocations: 54.19 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4549, allocations: 17.78 kB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.4554, allocations: 202.8 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.4558, allocations: 0.7041 MB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.4559, allocations: 21.94 kB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4559, allocations: 16.69 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.456, allocations: 0 / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Templates: time 0.004825/0.4608, allocations: 1.549 MB / 0.5286 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches