Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001597/0.001597, allocations: 183.1 kB / 18.7 MB, free: 4.371 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.488/1.488, 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.2397/0.2397, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4495, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003186/0.4527, allocations: 1.633 MB / 0.5205 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.4545, allocations: 1.052 MB / 0.5215 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.4546, allocations: 0.875 kB / 0.5215 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.4549, allocations: 28.98 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.4552, allocations: 41.05 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.4557, allocations: 180 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.4558, allocations: 69.28 kB / 0.5218 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.456, allocations: 15.3 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.456, allocations: 29.52 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.4562, allocations: 31.81 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.4562, allocations: 3.594 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.4564, allocations: 52.14 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.4564, allocations: 20.61 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.4565, allocations: 26.98 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.4567, allocations: 100 kB / 0.5221 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.4568, allocations: 1.844 kB / 0.5221 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4568, allocations: 0 / 0.5221 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.4568, allocations: 0 / 0.5221 GB, free: 1.441 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.0004956/0.4573, allocations: 395 kB / 0.5225 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4573, allocations: 10.06 kB / 0.5225 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.4574, allocations: 9.047 kB / 0.5225 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4576, allocations: 190.5 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4576, allocations: 2.594 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4576, allocations: 2.656 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.4578, allocations: 84.66 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4578, allocations: 0 / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4579, allocations: 0 / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4579, allocations: 5.031 kB / 0.5228 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.458, allocations: 37.12 kB / 0.5228 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.4585, allocations: 310.3 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.4586, allocations: 51.05 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.574e-05/0.4587, allocations: 25.84 kB / 0.5232 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4587, allocations: 0.75 kB / 0.5232 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.4587, allocations: 35.78 kB / 0.5232 GB, free: 380 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4588, allocations: 1.188 kB / 0.5232 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008213/0.4596, allocations: 221.2 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.4596, allocations: 83.3 kB / 0.5235 GB, free: 196 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.4598, allocations: 131.1 kB / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.4598, allocations: 29.7 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.4598, allocations: 90 kB / 0.5237 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.4599, allocations: 28.27 kB / 0.5238 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.4599, allocations: 21.5 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4601, allocations: 323.7 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4602, allocations: 41.83 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.4604, allocations: 59 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.4606, allocations: 87.72 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4607, allocations: 0 / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000315/0.461, allocations: 125.5 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.461, allocations: 6.453 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.461, allocations: 0 / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.461, allocations: 6.125 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4612, allocations: 22.88 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.4612, allocations: 0 / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.4613, allocations: 13.02 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4613, allocations: 2.938 kB / 0.5245 GB, free: 15.46 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 9.688e-05/0.4614, allocations: 117.8 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.4614, allocations: 11.62 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.4618, allocations: 131.3 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4618, allocations: 1.125 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4618, allocations: 1.094 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4618, allocations: 12.47 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.4625, allocations: 405.1 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4625, allocations: 4 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.4626, allocations: 22.88 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4626, allocations: 1.188 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4626, allocations: 5.672 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4626, allocations: 0 / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4626, allocations: 1.219 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.463, allocations: 225.9 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.463, allocations: 83.81 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.463, allocations: 5.812 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.4631, allocations: 9.422 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.4632, allocations: 10.03 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.4632, allocations: 2.688 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.4633, allocations: 102.5 kB / 0.5256 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4633, allocations: 0 / 0.5256 GB, free: 14.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.4636, allocations: 32.25 kB / 0.5256 GB, free: 14.55 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.00106/0.4646, allocations: 443.4 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.465, allocations: 97.39 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.465, allocations: 1.844 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.4652, allocations: 44.77 kB / 0.5261 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.4655, allocations: 16.39 kB / 0.5262 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.466, allocations: 208.9 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.4664, allocations: 0.7013 MB / 0.527 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.4665, allocations: 23.17 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.4665, allocations: 18.3 kB / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4665, allocations: 1.375 kB / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.005551/0.4721, allocations: 1.549 MB / 0.5286 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches