Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 95 kB / 17.35 MB, free: 6.367 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.001744/0.001744, allocations: 177 kB / 18.26 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.25 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002627/0.15, allocations: 1.353 MB / 473.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.151, allocations: 415.2 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.151, allocations: 0 / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.1513, allocations: 47.88 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1515, allocations: 47.83 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.1519, allocations: 117.7 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1521, allocations: 63.83 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1522, allocations: 16 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.1523, allocations: 31.84 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.1523, allocations: 35.84 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1524, allocations: 4 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1525, allocations: 47.97 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.1526, allocations: 15.92 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.1526, allocations: 53.5 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1528, allocations: 95.69 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1528, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.1528, allocations: 4 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1528, allocations: 3.938 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005168/0.1533, allocations: 387.5 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1534, allocations: 8.031 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1534, allocations: 16.73 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1536, allocations: 190.4 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1537, allocations: 8.375 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1537, allocations: 384 / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1539, allocations: 81.67 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1539, allocations: 0 / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1539, allocations: 0 / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1539, allocations: 0 / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1541, allocations: 55.95 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.1545, allocations: 304.7 kB / 475.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1548, allocations: 58.55 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.1549, allocations: 28.97 kB / 475.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1549, allocations: 4 kB / 475.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.155, allocations: 30.56 kB / 475.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.155, allocations: 0 / 475.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.1566, allocations: 473.2 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1566, allocations: 55.34 kB / 476.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1568, allocations: 164.2 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1568, allocations: 29.7 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1569, allocations: 104 kB / 476.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1569, allocations: 35.55 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.157, allocations: 13.72 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1571, allocations: 322.8 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1572, allocations: 51.91 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1574, allocations: 55.97 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.1576, allocations: 116.8 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1576, allocations: 0 / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003313/0.158, allocations: 165.3 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.158, allocations: 4 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.158, allocations: 0 / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.158, allocations: 0 / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1582, allocations: 31.92 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1582, allocations: 0 / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.1582, allocations: 23.92 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1583, allocations: 4 kB / 477.3 MB, free: 8 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001258/0.1584, allocations: 126.4 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1584, allocations: 11.84 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.1588, allocations: 174.3 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1589, allocations: 3.938 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1589, allocations: 0 / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1589, allocations: 7.938 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1596, allocations: 487.9 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1596, allocations: 7.938 kB / 478.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1597, allocations: 27.98 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1597, allocations: 0 / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1597, allocations: 4 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1597, allocations: 0 / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1597, allocations: 3.938 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.1601, allocations: 269.1 kB / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1602, allocations: 89 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1602, allocations: 4 kB / 478.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.1603, allocations: 15.98 kB / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1604, allocations: 8.172 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1604, allocations: 12 kB / 478.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1605, allocations: 131.2 kB / 478.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1605, allocations: 3.938 kB / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1608, allocations: 27.98 kB / 478.7 MB, free: 6.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001087/0.1619, allocations: 454.5 kB / 479.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.1622, allocations: 115.9 kB / 479.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1623, allocations: 8 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.1624, allocations: 63.84 kB / 479.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1628, allocations: 30.89 kB / 479.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.1634, allocations: 295.5 kB / 479.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1638, allocations: 0.7043 MB / 480.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.94e-05/0.1638, allocations: 20.41 kB / 480.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.1639, allocations: 15.44 kB / 480.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1639, allocations: 0 / 480.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004407/0.1683, allocations: 1.412 MB / 481.8 MB, free: 3.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches