Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 98.28 kB / 16.26 MB, free: 5.961 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.001532/0.001532, allocations: 188.8 kB / 17.19 MB, free: 5.598 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.743/1.743, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2267/0.2267, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 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.002087/0.002087, allocations: 75.88 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1517, allocations: 57.78 MB / 440.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.00384/0.1556, allocations: 1.597 MB / 442.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.1563, allocations: 327.5 kB / 442.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.1564, allocations: 4 kB / 442.4 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.157, allocations: 447.2 kB / 442.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.1574, allocations: 247.5 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1578, allocations: 114.8 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.158, allocations: 155.7 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1581, allocations: 20.38 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1583, allocations: 107.8 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1585, allocations: 211.6 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1585, allocations: 4 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1587, allocations: 35.98 kB / 443.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1588, allocations: 87.67 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.1589, allocations: 91.06 kB / 443.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1592, allocations: 247 kB / 444.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1592, allocations: 0 / 444.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1593, allocations: 0 / 444.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.1593, allocations: 0 / 444.2 MB, free: 3.27 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.0007731/0.1601, allocations: 0.6375 MB / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1601, allocations: 11.89 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.1602, allocations: 48.41 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1605, allocations: 288.2 kB / 445.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1605, allocations: 4.375 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1605, allocations: 4.375 kB / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1607, allocations: 57.61 kB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1607, allocations: 0 / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1608, allocations: 0 / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1608, allocations: 8 kB / 445.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.795e-05/0.1609, allocations: 27.91 kB / 445.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1613, allocations: 380.7 kB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1616, allocations: 42.56 kB / 445.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.1616, allocations: 16.8 kB / 445.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1616, allocations: 4 kB / 445.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1617, allocations: 38.56 kB / 445.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1617, allocations: 0 / 445.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006108/0.1623, allocations: 223.9 kB / 445.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1623, allocations: 55.39 kB / 446 MB, free: 1.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/0.1629, allocations: 0.8652 MB / 446.9 MB, free: 396 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.163, allocations: 25.7 kB / 446.9 MB, free: 364 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1631, allocations: 216.1 kB / 447.1 MB, free: 144 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1631, allocations: 19.73 kB / 447.1 MB, free: 124 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1631, allocations: 17.72 kB / 447.1 MB, free: 100 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1633, allocations: 358.8 kB / 447.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.1634, allocations: 15.98 kB / 447.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.1635, allocations: 19.98 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1636, allocations: 48.83 kB / 447.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1636, allocations: 0 / 447.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002633/0.1639, allocations: 117 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1639, allocations: 4 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1639, allocations: 3.984 kB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1639, allocations: 0 / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.164, allocations: 16 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.164, allocations: 0 / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.1641, allocations: 11.92 kB / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1641, allocations: 4 kB / 447.7 MB, free: 15.49 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.0002037/0.1643, allocations: 213.7 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.1644, allocations: 43.44 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1647, allocations: 141 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1647, allocations: 0 / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1647, allocations: 320 / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.1647, allocations: 3.938 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.1653, allocations: 458.5 kB / 448.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1653, allocations: 0 / 448.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.1654, allocations: 19.92 kB / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1654, allocations: 0 / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1654, allocations: 7.938 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1654, allocations: 0 / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1654, allocations: 0 / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1657, allocations: 203.3 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1658, allocations: 108.5 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.1659, allocations: 7.922 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.1659, allocations: 8 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.166, allocations: 11.98 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.166, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006879/0.1667, allocations: 0.6511 MB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1667, allocations: 0 / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.167, allocations: 16 kB / 449.6 MB, free: 13.52 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.00112/0.1681, allocations: 410.6 kB / 450 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1684, allocations: 47.97 kB / 450 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.1684, allocations: 4 kB / 450 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.1685, allocations: 19.98 kB / 450.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1689, allocations: 29.89 kB / 450.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1703, allocations: 0.7795 MB / 450.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.1709, allocations: 0.8299 MB / 451.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.755e-05/0.1709, allocations: 7.984 kB / 451.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.171, allocations: 11.44 kB / 451.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.171, allocations: 0 / 451.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of Templates: time 0.005636/0.1766, allocations: 1.449 MB / 453.2 MB, free: 9.969 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches