Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008909, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009369/0.0009368, allocations: 179 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4934/0.4934, allocations: 43.58 MB / 315 MB, free: 8.988 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.0006302/0.0006302, allocations: 16 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1584, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002061/0.1605, allocations: 1.275 MB / 444.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1619, allocations: 0.9025 MB / 445.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.162, allocations: 8 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.1622, allocations: 15.94 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1624, allocations: 39.84 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1626, allocations: 55.92 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1628, allocations: 59.83 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1629, allocations: 11.97 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.92e-05/0.163, allocations: 19.88 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1631, allocations: 27.91 kB / 445.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1632, allocations: 7.938 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.1633, allocations: 39.98 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1633, allocations: 15.86 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1634, allocations: 45.56 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1636, allocations: 87.98 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1636, allocations: 0 / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1636, allocations: 0 / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1636, allocations: 0 / 446 MB, free: 10.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005012/0.1641, allocations: 375.3 kB / 446.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1642, allocations: 8.031 kB / 446.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.1642, allocations: 8.844 kB / 446.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1644, allocations: 192.2 kB / 446.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1645, allocations: 384 / 446.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1645, allocations: 4.375 kB / 446.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1647, allocations: 75.45 kB / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1647, allocations: 0 / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1647, allocations: 4 kB / 446.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1647, allocations: 4 kB / 446.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1648, allocations: 23.98 kB / 446.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.1652, allocations: 268.9 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.1654, allocations: 50.5 kB / 447 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1655, allocations: 16.86 kB / 447.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1655, allocations: 3.984 kB / 447.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1655, allocations: 34.64 kB / 447.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1655, allocations: 0 / 447.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005694/0.1661, allocations: 157.3 kB / 447.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.1662, allocations: 77.11 kB / 447.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1663, allocations: 133.8 kB / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1664, allocations: 29.7 kB / 447.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.1664, allocations: 92.08 kB / 447.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1665, allocations: 11.81 kB / 447.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.1665, allocations: 17.7 kB / 447.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1666, allocations: 318.8 kB / 447.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.1667, allocations: 19.98 kB / 447.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.1668, allocations: 37.7 kB / 448 MB, free: 8.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1669, allocations: 60.77 kB / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1669, allocations: 0 / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.1671, allocations: 85.61 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1671, allocations: 8 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1672, allocations: 0 / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1672, allocations: 0 / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.1672, allocations: 19.92 kB / 448.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1673, allocations: 3.938 kB / 448.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.1673, allocations: 11.98 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1673, allocations: 4 kB / 448.2 MB, free: 7.934 MB / 382.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 8.291e-05/0.1674, allocations: 125.7 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.1675, allocations: 3.906 kB / 448.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.1677, allocations: 101.9 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1677, allocations: 64 / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1677, allocations: 4 kB / 448.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1677, allocations: 0 / 448.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.1681, allocations: 354.4 kB / 448.7 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1681, allocations: 4 kB / 448.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.1682, allocations: 12 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1682, allocations: 3.984 kB / 448.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1682, allocations: 4 kB / 448.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1682, allocations: 3.938 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1682, allocations: 0 / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1685, allocations: 183.4 kB / 448.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.1685, allocations: 88.94 kB / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1685, allocations: 4 kB / 449 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.1686, allocations: 7.938 kB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1687, allocations: 11.98 kB / 449 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1687, allocations: 0 / 449 MB, free: 6.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.1687, allocations: 107.3 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1688, allocations: 0 / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.169, allocations: 16 kB / 449.2 MB, free: 6.812 MB / 382.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.0009921/0.17, allocations: 458.7 kB / 449.6 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1702, allocations: 55.95 kB / 449.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1702, allocations: 0 / 449.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.1703, allocations: 31.92 kB / 449.7 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1706, allocations: 15.94 kB / 449.7 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.171, allocations: 172.7 kB / 449.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1713, allocations: 0.6926 MB / 450.6 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.1714, allocations: 12.19 kB / 450.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1714, allocations: 23.42 kB / 450.6 MB, free: 5.34 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1714, allocations: 0 / 450.6 MB, free: 5.34 MB / 382.1 MB Notification: Performance of Templates: time 0.003668/0.1751, allocations: 1.28 MB / 451.9 MB, free: 4.059 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches