Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001672, allocations: 100.7 kB / 16.27 MB, free: 5.957 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.002116/0.002116, allocations: 189.6 kB / 17.19 MB, free: 5.594 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.699/1.699, allocations: 205.1 MB / 223.1 MB, free: 12.16 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.2237/0.2237, allocations: 43.52 MB / 313.9 MB, free: 0.5117 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.001797/0.001798, allocations: 66.86 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1531, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.004231/0.1573, allocations: 1.597 MB / 442.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007341/0.1581, allocations: 343.5 kB / 442.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1583, allocations: 11.94 kB / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.1589, allocations: 459.1 kB / 442.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.1593, allocations: 239.5 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.1598, allocations: 159.5 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.1601, allocations: 159.7 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1603, allocations: 28.11 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1605, allocations: 107.8 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.1607, allocations: 215.5 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.1608, allocations: 0 / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1609, allocations: 24 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1611, allocations: 83.69 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1612, allocations: 103 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1615, allocations: 255 kB / 444.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1616, allocations: 0 / 444.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1616, allocations: 4 kB / 444.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1616, allocations: 0 / 444.3 MB, free: 3.152 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.0007513/0.1623, allocations: 0.6258 MB / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1624, allocations: 15.89 kB / 444.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.1625, allocations: 40.38 kB / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1627, allocations: 296.2 kB / 445.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1628, allocations: 384 / 445.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1628, allocations: 8.359 kB / 445.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.163, allocations: 57.62 kB / 445.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.163, allocations: 0 / 445.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.163, allocations: 4 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.163, allocations: 4 kB / 445.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1631, allocations: 31.91 kB / 445.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.1637, allocations: 392.6 kB / 445.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.164, allocations: 42.56 kB / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.164, allocations: 20.8 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1641, allocations: 8.016 kB / 445.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1641, allocations: 30.56 kB / 445.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.1641, allocations: 0 / 445.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006376/0.1648, allocations: 243.9 kB / 446.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1648, allocations: 51.41 kB / 446.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/0.1655, allocations: 0.869 MB / 447 MB, free: 248 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1655, allocations: 25.7 kB / 447 MB, free: 216 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.1657, allocations: 220.2 kB / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1657, allocations: 27.55 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.1658, allocations: 13.72 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.166, allocations: 366.8 kB / 447.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1661, allocations: 27.97 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.1662, allocations: 19.98 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1663, allocations: 52.83 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1663, allocations: 0 / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002412/0.1666, allocations: 125.1 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1666, allocations: 4 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1666, allocations: 0 / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1666, allocations: 0 / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.1667, allocations: 12 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1667, allocations: 0 / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.1668, allocations: 11.92 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1668, allocations: 0 / 447.9 MB, free: 15.32 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.0002126/0.167, allocations: 221.7 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.1671, allocations: 43.44 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.1674, allocations: 141 kB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1674, allocations: 0 / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1674, allocations: 0 / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1674, allocations: 8.25 kB / 448.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.168, allocations: 466.5 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1681, allocations: 0 / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.1681, allocations: 11.98 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1681, allocations: 3.938 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1682, allocations: 3.938 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1682, allocations: 4 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1682, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1684, allocations: 215 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.1685, allocations: 112.6 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1686, allocations: 3.938 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.1687, allocations: 7.984 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1687, allocations: 3.938 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1687, allocations: 0 / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006642/0.1694, allocations: 0.655 MB / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1694, allocations: 0 / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1697, allocations: 23.98 kB / 449.8 MB, free: 13.32 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.001034/0.1707, allocations: 401.8 kB / 450.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.171, allocations: 55.91 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.171, allocations: 0 / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.1711, allocations: 23.98 kB / 450.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.1715, allocations: 25.95 kB / 450.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1728, allocations: 0.8029 MB / 451.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.1735, allocations: 0.8241 MB / 451.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.659e-05/0.1736, allocations: 19.91 kB / 451.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.1736, allocations: 15.44 kB / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1736, allocations: 4 kB / 451.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of Templates: time 0.006483/0.1801, allocations: 1.478 MB / 453.4 MB, free: 9.703 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches