Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.94 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4379, allocations: 65.48 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004551/0.4425, allocations: 1.637 MB / 0.5598 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.4438, allocations: 0.5387 MB / 0.5603 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.4439, allocations: 0 / 0.5603 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007589/0.4446, allocations: 447.1 kB / 0.5608 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006885/0.4453, allocations: 299.3 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.4458, allocations: 131.4 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.4462, allocations: 171.6 kB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4463, allocations: 8 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.4465, allocations: 115.7 kB / 0.5615 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.4468, allocations: 251.5 kB / 0.5617 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.4468, allocations: 4 kB / 0.5617 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.447, allocations: 31.98 kB / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.4471, allocations: 83.69 kB / 0.5618 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.4472, allocations: 71.23 kB / 0.5619 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.4476, allocations: 265 kB / 0.5621 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4476, allocations: 4 kB / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4476, allocations: 4 kB / 0.5621 GB, free: 3.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4476, allocations: 0 / 0.5621 GB, free: 3.441 MB / 398.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.0008815/0.4485, allocations: 0.5776 MB / 0.5627 GB, free: 2.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4485, allocations: 8.031 kB / 0.5627 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.845e-05/0.4486, allocations: 44.66 kB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.4489, allocations: 238.8 kB / 0.563 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.4489, allocations: 4.375 kB / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4489, allocations: 384 / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.4491, allocations: 61.75 kB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4491, allocations: 0 / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4491, allocations: 0 / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4491, allocations: 4 kB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.4493, allocations: 31.97 kB / 0.5631 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.4498, allocations: 328.2 kB / 0.5634 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.45, allocations: 46.48 kB / 0.5634 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.4501, allocations: 16.86 kB / 0.5634 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.4501, allocations: 0 / 0.5634 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4501, allocations: 34.55 kB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4501, allocations: 0 / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006981/0.4508, allocations: 236.8 kB / 0.5637 GB, free: 1.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.4509, allocations: 55.41 kB / 0.5638 GB, free: 1.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4519, allocations: 0.8574 MB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4519, allocations: 25.7 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.4521, allocations: 224 kB / 0.5648 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.4521, allocations: 11.91 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.4522, allocations: 21.7 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.4524, allocations: 358.7 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.4525, allocations: 23.98 kB / 0.5652 GB, free: 100 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.4525, allocations: 19.98 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.4527, allocations: 52.77 kB / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4527, allocations: 0 / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002525/0.4529, allocations: 113.5 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4529, allocations: 8 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4529, allocations: 4 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.453, allocations: 0 / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.453, allocations: 11.98 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.453, allocations: 4 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.4531, allocations: 3.984 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.4531, allocations: 4 kB / 0.5654 GB, free: 15.87 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0002297/0.4533, allocations: 217.5 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.4534, allocations: 43.72 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.4537, allocations: 141.1 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4537, allocations: 0 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4537, allocations: 0 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4537, allocations: 0 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.4543, allocations: 406.4 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4543, allocations: 0 / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.4544, allocations: 16.06 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4544, allocations: 0 / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4544, allocations: 7.922 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4544, allocations: 4 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4544, allocations: 3.938 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.4547, allocations: 215.2 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.4547, allocations: 31.72 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.4547, allocations: 0 / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.4548, allocations: 7.984 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.4549, allocations: 7.875 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.4549, allocations: 4 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006865/0.4556, allocations: 0.655 MB / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4556, allocations: 4 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4558, allocations: 19.94 kB / 0.5672 GB, free: 14.04 MB / 414.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 (5): * Single equations (assignments): 5 * 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.001649/0.4575, allocations: 434.8 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.4577, allocations: 43.97 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4577, allocations: 0 / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.4577, allocations: 27.92 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.4581, allocations: 28.77 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4594, allocations: 0.8353 MB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.4597, allocations: 220.1 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.4597, allocations: 11.44 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4597, allocations: 0 / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of Templates: time 0.008438/0.4682, allocations: 3.848 MB / 0.5725 GB, free: 8.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.850312299095094]