Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 107.5 kB / 17.04 MB, free: 5.809 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.001477/0.001477, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2481/0.2481, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 69.64 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1447, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003691/0.1484, allocations: 1.6 MB / 443.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000625/0.1491, allocations: 319.6 kB / 443.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.1492, allocations: 0 / 443.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1497, allocations: 459.1 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.1501, allocations: 251.5 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1504, allocations: 115.3 kB / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1506, allocations: 159.7 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1507, allocations: 16.12 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.1508, allocations: 111.8 kB / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.151, allocations: 211.6 kB / 445.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.151, allocations: 4 kB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.1511, allocations: 28 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.1512, allocations: 83.69 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.1513, allocations: 103 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1515, allocations: 251 kB / 445.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1515, allocations: 4 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1515, allocations: 0 / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1515, allocations: 0 / 445.6 MB, free: 2.469 MB / 318.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.0005819/0.1521, allocations: 0.6258 MB / 446.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1522, allocations: 15.89 kB / 446.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1522, allocations: 36.47 kB / 446.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1525, allocations: 296.1 kB / 446.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1525, allocations: 4.375 kB / 446.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1525, allocations: 384 / 446.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1526, allocations: 61.55 kB / 446.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1527, allocations: 0 / 446.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1527, allocations: 4 kB / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1527, allocations: 0 / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.96e-05/0.1528, allocations: 23.98 kB / 446.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1532, allocations: 384.6 kB / 447.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.1534, allocations: 46.5 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.1535, allocations: 16.94 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1535, allocations: 8 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.1535, allocations: 30.56 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1535, allocations: 0 / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005721/0.1541, allocations: 224.2 kB / 447.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1541, allocations: 51.41 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.1549, allocations: 0.8575 MB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1549, allocations: 33.64 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1551, allocations: 224 kB / 448.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1552, allocations: 19.75 kB / 448.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1552, allocations: 13.72 kB / 448.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1554, allocations: 362.8 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.1555, allocations: 19.98 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.1555, allocations: 19.98 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1556, allocations: 52.77 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1557, allocations: 192 / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001906/0.1559, allocations: 117.1 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1559, allocations: 5.25 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1559, allocations: 4 kB / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1559, allocations: 0 / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.156, allocations: 15.97 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.156, allocations: 4 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.156, allocations: 7.938 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1561, allocations: 0 / 449.2 MB, free: 14.7 MB / 334.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.0001834/0.1562, allocations: 217.7 kB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.1563, allocations: 43.44 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1566, allocations: 129 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1566, allocations: 4 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1566, allocations: 4 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1566, allocations: 3.938 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.1572, allocations: 450.4 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1572, allocations: 0 / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.1573, allocations: 15.98 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1573, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1573, allocations: 3.938 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1573, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1573, allocations: 7.984 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1576, allocations: 211.2 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.1577, allocations: 108.5 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.1577, allocations: 11.94 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.1578, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.1579, allocations: 7.984 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1579, allocations: 4 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006111/0.1585, allocations: 0.6511 MB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1585, allocations: 3.938 kB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1587, allocations: 24 kB / 451.1 MB, free: 12.71 MB / 334.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.001101/0.1599, allocations: 394.1 kB / 451.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1601, allocations: 47.97 kB / 451.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1601, allocations: 4 kB / 451.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.1602, allocations: 27.92 kB / 451.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1605, allocations: 21.95 kB / 451.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1616, allocations: 0.7796 MB / 452.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.1621, allocations: 0.8182 MB / 453.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.486e-05/0.1621, allocations: 8 kB / 453.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1622, allocations: 15.42 kB / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1622, allocations: 0 / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Templates: time 0.005049/0.1672, allocations: 1.449 MB / 454.6 MB, free: 9.199 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches