Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 107.7 kB / 17.78 MB, free: 5.27 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.001549/0.001549, allocations: 183.9 kB / 18.71 MB, free: 4.348 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.755/1.755, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2301/0.2301, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.543, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004503/0.5476, allocations: 1.976 MB / 0.5208 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.5498, allocations: 0.9568 MB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.5501, allocations: 2.625 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.5508, allocations: 258.3 kB / 0.522 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006304/0.5515, allocations: 194.2 kB / 0.5222 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.5537, allocations: 0.6557 MB / 0.5228 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.5546, allocations: 305.8 kB / 0.5231 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.5549, allocations: 73.83 kB / 0.5232 GB, free: 1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.5553, allocations: 138.8 kB / 0.5233 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.5557, allocations: 201 kB / 0.5235 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.5558, allocations: 9.062 kB / 0.5235 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.5561, allocations: 69.59 kB / 0.5236 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.5563, allocations: 94.09 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.5564, allocations: 114.7 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.5571, allocations: 307.2 kB / 0.5241 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.5571, allocations: 1.188 kB / 0.5241 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5571, allocations: 0 / 0.5241 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.5571, allocations: 0 / 0.5241 GB, free: 0.6094 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009877/0.5581, allocations: 0.6212 MB / 0.5247 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5582, allocations: 13.56 kB / 0.5247 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.5583, allocations: 45.66 kB / 0.5248 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.5589, allocations: 307.5 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.5589, allocations: 8.531 kB / 0.5251 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.5589, allocations: 11.56 kB / 0.5251 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.5593, allocations: 133 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5593, allocations: 2.172 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.5594, allocations: 5.875 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5594, allocations: 5.125 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.5597, allocations: 92.27 kB / 0.5253 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.5607, allocations: 0.4962 MB / 0.5258 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.561, allocations: 110.1 kB / 0.5259 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.5612, allocations: 41.55 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.5612, allocations: 9.359 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.5612, allocations: 31.94 kB / 0.526 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.5613, allocations: 1.375 kB / 0.526 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001317/0.5626, allocations: 430 kB / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.5626, allocations: 60.72 kB / 0.5264 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.5633, allocations: 0.5264 MB / 0.527 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.5633, allocations: 35.06 kB / 0.527 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.5635, allocations: 196.9 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.5636, allocations: 49.73 kB / 0.5272 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.5636, allocations: 34.58 kB / 0.5273 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5638, allocations: 350.4 kB / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5639, allocations: 66.53 kB / 0.5277 GB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5641, allocations: 66.89 kB / 0.5277 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.5644, allocations: 161.1 kB / 0.5279 GB, free: 13.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5644, allocations: 3.938 kB / 0.5279 GB, free: 13.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004139/0.5648, allocations: 223.7 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5648, allocations: 4.469 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5649, allocations: 0 / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5649, allocations: 1.562 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.565, allocations: 42.72 kB / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5651, allocations: 1.406 kB / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.5651, allocations: 11.5 kB / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.5652, allocations: 8.109 kB / 0.5282 GB, free: 13.66 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 (17): * Single equations (assignments): 17 * 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.0001936/0.5654, allocations: 182.3 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.5655, allocations: 36.5 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.566, allocations: 273.5 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.566, allocations: 7 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.566, allocations: 0 / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.566, allocations: 0 / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.567, allocations: 0.6633 MB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.567, allocations: 1.125 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.5671, allocations: 30.11 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5671, allocations: 0 / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.5671, allocations: 11.17 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.5672, allocations: 8 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5672, allocations: 5.031 kB / 0.5293 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.5676, allocations: 323.9 kB / 0.5296 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.5677, allocations: 103.6 kB / 0.5297 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.5677, allocations: 1.438 kB / 0.5297 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.5678, allocations: 11.36 kB / 0.5298 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.5679, allocations: 18.86 kB / 0.5298 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5679, allocations: 4.031 kB / 0.5298 GB, free: 12.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000481/0.5684, allocations: 400.2 kB / 0.5302 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5684, allocations: 0 / 0.5302 GB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.5687, allocations: 47.16 kB / 0.5302 GB, free: 12.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 (17): * Single equations (assignments): 17 * 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.001783/0.5705, allocations: 0.6926 MB / 0.5309 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.5709, allocations: 168.8 kB / 0.531 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5709, allocations: 0 / 0.531 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.5711, allocations: 95.61 kB / 0.5311 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.5717, allocations: 78.12 kB / 0.5312 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5728, allocations: 0.6834 MB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.5734, allocations: 0.8189 MB / 0.5327 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.5736, allocations: 52.34 kB / 0.5327 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.5737, allocations: 29.03 kB / 0.5328 GB, free: 10.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5737, allocations: 3.938 kB / 0.5328 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Templates: time 0.009461/0.5831, allocations: 3.296 MB / 0.536 GB, free: 8.883 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches