Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 96.39 kB / 15.7 MB, free: 468 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.002282/0.002282, allocations: 166.4 kB / 16.57 MB, free: 6.043 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.13/2.13, allocations: 205.4 MB / 222.8 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.4468/0.4468, 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.0005492/0.0005496, allocations: 22.97 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1562, allocations: 58.85 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.0024/0.1587, allocations: 1.264 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.1593, allocations: 291.8 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.1593, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1596, allocations: 15.92 kB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1597, allocations: 35.91 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.16, allocations: 55.88 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1602, allocations: 43.84 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1603, allocations: 23.95 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.1603, allocations: 11.94 kB / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.1604, allocations: 19.86 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1604, allocations: 0 / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.1605, allocations: 31.98 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.1606, allocations: 11.92 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.1606, allocations: 33.7 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1607, allocations: 52.08 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1607, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1608, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.1608, allocations: 4 kB / 444.7 MB, free: 11.12 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.0005623/0.1613, allocations: 371.1 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1614, allocations: 12.02 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1614, allocations: 15.86 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1617, allocations: 183 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1617, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1617, allocations: 4 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1619, allocations: 45.69 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1619, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1619, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1619, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.162, allocations: 35.88 kB / 445.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1624, allocations: 269 kB / 445.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1626, allocations: 42.56 kB / 445.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1627, allocations: 20.94 kB / 445.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1627, allocations: 4 kB / 445.7 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1627, allocations: 38.5 kB / 445.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1627, allocations: 0 / 445.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006138/0.1633, allocations: 165.2 kB / 445.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1634, allocations: 55.41 kB / 445.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1636, allocations: 141.8 kB / 446.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1636, allocations: 29.7 kB / 446.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.1637, allocations: 96.06 kB / 446.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1637, allocations: 19.75 kB / 446.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.1638, allocations: 3.938 kB / 446.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1639, allocations: 322.8 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.438e-05/0.164, allocations: 19.98 kB / 446.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.1641, allocations: 28.05 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.598e-05/0.1641, allocations: 23.98 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1641, allocations: 0 / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.1643, allocations: 85.58 kB / 446.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1644, allocations: 7.953 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1644, allocations: 0 / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1644, allocations: 4 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.1644, allocations: 19.92 kB / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1645, allocations: 0 / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.1645, allocations: 8 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1645, allocations: 0 / 446.7 MB, free: 8.875 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.427e-05/0.1646, allocations: 113.8 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.1646, allocations: 11.89 kB / 446.8 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1649, allocations: 101.9 kB / 446.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1649, allocations: 4 kB / 446.9 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1649, allocations: 0 / 446.9 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1649, allocations: 0 / 446.9 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.1653, allocations: 346.5 kB / 447.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1653, allocations: 3.953 kB / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.1654, allocations: 15.98 kB / 447.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1654, allocations: 288 / 447.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1654, allocations: 0 / 447.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1654, allocations: 4.312 kB / 447.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1654, allocations: 0 / 447.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1656, allocations: 191.4 kB / 447.5 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1657, allocations: 96.95 kB / 447.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1657, allocations: 0 / 447.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.1658, allocations: 8 kB / 447.6 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1658, allocations: 7.984 kB / 447.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1659, allocations: 0 / 447.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.166, allocations: 111.2 kB / 447.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.166, allocations: 0 / 447.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1662, allocations: 23.98 kB / 447.7 MB, free: 7.75 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.0009215/0.1671, allocations: 387.4 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.1674, allocations: 59.91 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1674, allocations: 0 / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.1674, allocations: 31.97 kB / 448.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1678, allocations: 12 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.1682, allocations: 184.5 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1686, allocations: 0.6887 MB / 449.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.1686, allocations: 11.98 kB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.1687, allocations: 11.44 kB / 449.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1687, allocations: 0 / 449.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of Templates: time 0.003479/0.1721, allocations: 1.01 MB / 450.1 MB, free: 5.344 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches