Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 104.8 kB / 16.64 MB, free: 5.918 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.001112/0.001112, allocations: 195.1 kB / 17.56 MB, free: 5.508 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.331/1.331, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.2536/0.2536, allocations: 43.52 MB / 314.3 MB, free: 0.7031 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.001476/0.001476, allocations: 69.33 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1538, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003866/0.1577, allocations: 1.604 MB / 442.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.1585, allocations: 308.2 kB / 442.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.1586, allocations: 0 / 442.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1589, allocations: 79.77 kB / 442.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1592, allocations: 51.88 kB / 442.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1595, allocations: 71.47 kB / 442.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1597, allocations: 67.83 kB / 442.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1598, allocations: 11.94 kB / 442.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.1599, allocations: 35.89 kB / 442.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1601, allocations: 55.83 kB / 442.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1601, allocations: 3.984 kB / 442.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.1602, allocations: 31.94 kB / 443 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.1602, allocations: 19.92 kB / 443 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1603, allocations: 27.75 kB / 443 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1605, allocations: 63.89 kB / 443.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1605, allocations: 7.938 kB / 443.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1605, allocations: 4 kB / 443.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1605, allocations: 0 / 443.1 MB, free: 4.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005624/0.1611, allocations: 395 kB / 443.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.1612, allocations: 11.89 kB / 443.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.1612, allocations: 8.844 kB / 443.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1614, allocations: 197 kB / 443.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1614, allocations: 384 / 443.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.1615, allocations: 4.375 kB / 443.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1617, allocations: 49.81 kB / 443.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1617, allocations: 0 / 443.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1617, allocations: 0 / 443.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1617, allocations: 4 kB / 443.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1618, allocations: 27.92 kB / 443.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.1622, allocations: 276.9 kB / 444 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1625, allocations: 38.56 kB / 444.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.1626, allocations: 24.73 kB / 444.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1626, allocations: 4 kB / 444.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.1627, allocations: 30.56 kB / 444.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1627, allocations: 4 kB / 444.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007105/0.1634, allocations: 145.4 kB / 444.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1634, allocations: 63.39 kB / 444.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1636, allocations: 206.2 kB / 444.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1637, allocations: 25.7 kB / 444.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.1637, allocations: 100.1 kB / 444.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1638, allocations: 23.64 kB / 444.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1638, allocations: 17.72 kB / 444.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.1639, allocations: 322.8 kB / 445 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/0.164, allocations: 19.98 kB / 445 MB, free: 2.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.1641, allocations: 27.98 kB / 445.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1643, allocations: 41.02 kB / 445.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1643, allocations: 4 kB / 445.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002073/0.1645, allocations: 81.61 kB / 445.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1645, allocations: 8 kB / 445.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1645, allocations: 3.984 kB / 445.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1645, allocations: 0 / 445.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.1646, allocations: 15.98 kB / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1646, allocations: 4 kB / 445.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.1647, allocations: 7.938 kB / 445.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1647, allocations: 4 kB / 445.2 MB, free: 2.535 MB / 318.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.000103/0.1648, allocations: 133.7 kB / 445.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.1649, allocations: 7.906 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1651, allocations: 97.89 kB / 445.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1652, allocations: 8 kB / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1652, allocations: 0 / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1652, allocations: 0 / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1656, allocations: 346.5 kB / 445.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1656, allocations: 0 / 445.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.1657, allocations: 15.98 kB / 445.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1657, allocations: 3.938 kB / 445.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1657, allocations: 4 kB / 445.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1657, allocations: 11.88 kB / 445.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1658, allocations: 0 / 445.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.166, allocations: 179.5 kB / 446 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.166, allocations: 85.02 kB / 446.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.166, allocations: 3.984 kB / 446.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.1661, allocations: 7.938 kB / 446.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1662, allocations: 4 kB / 446.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1662, allocations: 7.984 kB / 446.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1664, allocations: 151.2 kB / 446.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1664, allocations: 0 / 446.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.1668, allocations: 19.98 kB / 446.3 MB, free: 1.367 MB / 318.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.001202/0.168, allocations: 387.7 kB / 446.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1683, allocations: 59.91 kB / 446.7 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1683, allocations: 0 / 446.7 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.1684, allocations: 23.98 kB / 446.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1689, allocations: 19.92 kB / 446.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.1694, allocations: 259.8 kB / 447 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.1696, allocations: 0.7041 MB / 447.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1697, allocations: 15.38 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1697, allocations: 0 / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004051/0.1737, allocations: 1.479 MB / 449.2 MB, free: 14.45 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches