Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009744/0.0009745, allocations: 103 kB / 16.02 MB, free: 76 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.001039/0.001039, allocations: 185 kB / 16.92 MB, free: 6.918 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.77 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.4691/0.4691, allocations: 43.57 MB / 315 MB, free: 8.738 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.0005276/0.0005276, allocations: 16 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1486, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.0024/0.151, allocations: 1.271 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1526, allocations: 0.9064 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.1527, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.1529, allocations: 19.92 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1531, allocations: 39.92 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1533, allocations: 59.84 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1534, allocations: 47.91 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1536, allocations: 15.97 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.1536, allocations: 27.8 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1538, allocations: 19.91 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1538, allocations: 4 kB / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1539, allocations: 47.98 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1541, allocations: 15.91 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.1542, allocations: 41.58 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1544, allocations: 87.98 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1544, allocations: 0 / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1544, allocations: 3.938 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1544, allocations: 0 / 446 MB, free: 10.05 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.0005872/0.155, allocations: 375.3 kB / 446.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1551, allocations: 12.03 kB / 446.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1551, allocations: 8.844 kB / 446.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1554, allocations: 196.2 kB / 446.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1554, allocations: 384 / 446.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1554, allocations: 4.375 kB / 446.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1556, allocations: 63.53 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1556, allocations: 0 / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1556, allocations: 0 / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1556, allocations: 8 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.1557, allocations: 31.91 kB / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1562, allocations: 268.9 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1564, allocations: 46.56 kB / 447 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1565, allocations: 16.86 kB / 447.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1565, allocations: 3.938 kB / 447.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1565, allocations: 30.56 kB / 447.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1565, allocations: 0 / 447.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006343/0.1572, allocations: 157.4 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.1572, allocations: 81.09 kB / 447.3 MB, free: 8.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1574, allocations: 125.8 kB / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1574, allocations: 33.69 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.1575, allocations: 96.08 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1575, allocations: 11.81 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.1576, allocations: 13.72 kB / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1577, allocations: 322.8 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.1578, allocations: 19.98 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.1579, allocations: 37.7 kB / 448 MB, free: 7.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.158, allocations: 56.83 kB / 448 MB, free: 7.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.158, allocations: 0 / 448 MB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001967/0.1582, allocations: 89.55 kB / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1583, allocations: 8 kB / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1583, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1583, allocations: 256 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.1584, allocations: 19.92 kB / 448.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1584, allocations: 4 kB / 448.1 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.1584, allocations: 11.98 kB / 448.2 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1585, allocations: 4 kB / 448.2 MB, free: 7.695 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 0.000103/0.1586, allocations: 121.8 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1586, allocations: 3.906 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.1588, allocations: 101.6 kB / 448.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1589, allocations: 7.938 kB / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1589, allocations: 0 / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1589, allocations: 0 / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1593, allocations: 354.5 kB / 448.7 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1593, allocations: 0 / 448.7 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.1594, allocations: 19.94 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1594, allocations: 0 / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1594, allocations: 4 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1594, allocations: 7.922 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1594, allocations: 0 / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1597, allocations: 183.4 kB / 448.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1598, allocations: 85.28 kB / 449 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1598, allocations: 4 kB / 449 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.1599, allocations: 7.938 kB / 449 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1599, allocations: 12.16 kB / 449.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1599, allocations: 8 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.116e-05/0.16, allocations: 103.3 kB / 449.2 MB, free: 6.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.16, allocations: 4 kB / 449.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1603, allocations: 16 kB / 449.2 MB, free: 6.57 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.001053/0.1613, allocations: 439.9 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1615, allocations: 59.97 kB / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1616, allocations: 0 / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1616, allocations: 31.97 kB / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.162, allocations: 15.94 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.1623, allocations: 176.6 kB / 449.9 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1627, allocations: 0.6887 MB / 450.6 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.1628, allocations: 4 kB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1628, allocations: 23.42 kB / 450.6 MB, free: 5.117 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1628, allocations: 4 kB / 450.6 MB, free: 5.113 MB / 382.1 MB Notification: Performance of Templates: time 0.004153/0.167, allocations: 1.284 MB / 451.9 MB, free: 3.828 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches