Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 96 kB / 15.7 MB, free: 464 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.001667/0.001667, allocations: 177.2 kB / 16.58 MB, free: 6.848 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.169/2.169, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.4704/0.4704, allocations: 43.57 MB / 314.6 MB, free: 8.75 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.0006048/0.0006049, allocations: 16 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1562, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002063/0.1583, allocations: 1.26 MB / 444.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005829/0.1589, allocations: 283.9 kB / 444.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.1589, allocations: 0 / 444.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.1593, allocations: 87.81 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1594, allocations: 63.78 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1597, allocations: 67.91 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1598, allocations: 59.83 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.16, allocations: 11.98 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.16, allocations: 35.84 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1601, allocations: 35.89 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1602, allocations: 0 / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.1602, allocations: 27.98 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1604, allocations: 15.92 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.1604, allocations: 33.64 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1606, allocations: 72.11 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1606, allocations: 7.938 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1606, allocations: 0 / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1606, allocations: 4 kB / 444.9 MB, free: 10.96 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.0005428/0.1612, allocations: 387 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1612, allocations: 12.02 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.1612, allocations: 15.8 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1616, allocations: 195.6 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1616, allocations: 3.938 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1616, allocations: 7.984 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1618, allocations: 57.69 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1618, allocations: 3.906 kB / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1618, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1618, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.1619, allocations: 27.94 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.1624, allocations: 292.8 kB / 445.8 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1627, allocations: 42.56 kB / 445.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.1627, allocations: 12.86 kB / 445.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1628, allocations: 0 / 445.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1628, allocations: 38.64 kB / 445.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1628, allocations: 4 kB / 445.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005761/0.1634, allocations: 161.1 kB / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.1635, allocations: 55.41 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1637, allocations: 223.1 kB / 446.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1637, allocations: 25.7 kB / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.1638, allocations: 100.1 kB / 446.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1638, allocations: 31.58 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.1638, allocations: 3.938 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1639, allocations: 322.8 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.164, allocations: 23.98 kB / 446.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.1641, allocations: 23.98 kB / 446.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.1641, allocations: 20 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1641, allocations: 0 / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001713/0.1643, allocations: 93.56 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1643, allocations: 7.953 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1644, allocations: 256 / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1644, allocations: 0 / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.1644, allocations: 23.98 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1644, allocations: 0 / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.1645, allocations: 8 kB / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1645, allocations: 4 kB / 447 MB, free: 8.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.1646, allocations: 129.8 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1646, allocations: 7.906 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1649, allocations: 102.6 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1649, allocations: 4 kB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1649, allocations: 0 / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1649, allocations: 0 / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.1653, allocations: 366.4 kB / 447.6 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1653, allocations: 4 kB / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.1653, allocations: 19.94 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1654, allocations: 7.938 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1654, allocations: 0 / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1654, allocations: 0 / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1654, allocations: 0 / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1657, allocations: 187.4 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.1657, allocations: 93 kB / 447.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1658, allocations: 3.953 kB / 447.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.1658, allocations: 4.188 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1659, allocations: 8.266 kB / 448 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1659, allocations: 4 kB / 448 MB, free: 7.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.166, allocations: 171.2 kB / 448.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.166, allocations: 4 kB / 448.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1663, allocations: 23.92 kB / 448.2 MB, free: 7.336 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009851/0.1673, allocations: 399.5 kB / 448.6 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1675, allocations: 55.95 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1675, allocations: 4 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.1676, allocations: 31.92 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1679, allocations: 12 kB / 448.7 MB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.1685, allocations: 249.4 kB / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.169, allocations: 0.7004 MB / 449.6 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.169, allocations: 16.17 kB / 449.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.1691, allocations: 11.44 kB / 449.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1691, allocations: 0 / 449.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of Templates: time 0.003761/0.1728, allocations: 1.037 MB / 450.7 MB, free: 4.809 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches