Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007956/0.0007953, allocations: 94.55 kB / 17 MB, free: 6.418 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.0009809/0.0009809, allocations: 189.9 kB / 17.89 MB, free: 5.945 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.464/1.464, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.26 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 19.94 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002328/0.1479, allocations: 1.275 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007536/0.1487, allocations: 375.7 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1488, allocations: 4 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.1494, allocations: 435.2 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1497, allocations: 247.5 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1501, allocations: 107.4 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1503, allocations: 131.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.1504, allocations: 4 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1506, allocations: 103.8 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.1508, allocations: 163.7 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1509, allocations: 4 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.389e-05/0.1509, allocations: 16 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1511, allocations: 83.67 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.1511, allocations: 69.52 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1513, allocations: 167.8 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1514, allocations: 0 / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1514, allocations: 4 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1514, allocations: 0 / 474.7 MB, free: 10.53 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008445/0.1522, allocations: 0.599 MB / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1523, allocations: 8.031 kB / 475.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.1524, allocations: 39.53 kB / 475.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1527, allocations: 279.2 kB / 475.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1527, allocations: 0 / 475.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1528, allocations: 7.953 kB / 475.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1529, allocations: 61.67 kB / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.153, allocations: 0 / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.153, allocations: 0 / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.153, allocations: 0 / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1531, allocations: 35.97 kB / 475.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.1536, allocations: 376.8 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1537, allocations: 42.5 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.694e-05/0.1538, allocations: 24.94 kB / 476.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1538, allocations: 7.984 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1539, allocations: 38.56 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1539, allocations: 0 / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003395/0.1542, allocations: 129 kB / 476.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1543, allocations: 63.39 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.1551, allocations: 0.8496 MB / 477.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1552, allocations: 25.7 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1554, allocations: 212.1 kB / 477.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.1554, allocations: 3.906 kB / 477.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1554, allocations: 0 / 477.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1556, allocations: 358.8 kB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.1556, allocations: 19.98 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.1557, allocations: 19.98 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.363e-05/0.1558, allocations: 27.94 kB / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1558, allocations: 0 / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001913/0.156, allocations: 109.1 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.156, allocations: 8 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.156, allocations: 3.938 kB / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.156, allocations: 0 / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.1561, allocations: 15.92 kB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1561, allocations: 0 / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.1562, allocations: 8 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1562, allocations: 4 kB / 478.1 MB, free: 6.969 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 (3): * Single equations (assignments): 3 * 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 0.0002134/0.1564, allocations: 218.2 kB / 478.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.1565, allocations: 35.53 kB / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1567, allocations: 128.8 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1568, allocations: 4 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1568, allocations: 4 kB / 478.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1568, allocations: 3.938 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.1571, allocations: 277.6 kB / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1571, allocations: 3.953 kB / 478.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.1571, allocations: 15.92 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1571, allocations: 0 / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1572, allocations: 8 kB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1572, allocations: 0 / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1572, allocations: 0 / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.1574, allocations: 203 kB / 479 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.1575, allocations: 116.5 kB / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1575, allocations: 0 / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.1576, allocations: 11.98 kB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.1577, allocations: 4.422 kB / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1577, allocations: 0 / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.1583, allocations: 0.6472 MB / 479.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1583, allocations: 4 kB / 479.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1586, allocations: 12 kB / 479.8 MB, free: 5.188 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0008579/0.1595, allocations: 363.5 kB / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1597, allocations: 43.97 kB / 480.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1597, allocations: 4 kB / 480.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.1597, allocations: 19.98 kB / 480.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1601, allocations: 21.95 kB / 480.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1612, allocations: 0.7983 MB / 481 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1616, allocations: 0.8262 MB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.911e-05/0.1616, allocations: 7.969 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1617, allocations: 11.44 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1617, allocations: 3.938 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of Templates: time 0.004133/0.1658, allocations: 1.182 MB / 483 MB, free: 1.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches