Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002259/0.002264, allocations: 188.4 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3012/0.3012, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004801, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.144, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002506/0.1466, allocations: 1.245 MB / 491.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1485, allocations: 0.8752 MB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.1486, allocations: 7.938 kB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1488, allocations: 15.91 kB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1491, allocations: 35.91 kB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1494, allocations: 67.8 kB / 492.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1496, allocations: 31.89 kB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1497, allocations: 15.98 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.1498, allocations: 7.938 kB / 492.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1499, allocations: 27.91 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.15, allocations: 0 / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1501, allocations: 35.86 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.1502, allocations: 15.98 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.1502, allocations: 33.64 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1504, allocations: 67.89 kB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1504, allocations: 0 / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1504, allocations: 0 / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1505, allocations: 0 / 492.7 MB, free: 6.836 MB / 330.7 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.0005796/0.151, allocations: 371.5 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1511, allocations: 12.02 kB / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.1512, allocations: 11.86 kB / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1514, allocations: 186.9 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1514, allocations: 0 / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1515, allocations: 0 / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1517, allocations: 71.33 kB / 493.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1517, allocations: 0 / 493.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1518, allocations: 4 kB / 493.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1518, allocations: 0 / 493.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1519, allocations: 23.98 kB / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1524, allocations: 272.9 kB / 493.6 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1527, allocations: 46.5 kB / 493.7 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1527, allocations: 4 kB / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1528, allocations: 34.56 kB / 493.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.1528, allocations: 0 / 493.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000851/0.1536, allocations: 153.7 kB / 493.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.1537, allocations: 77.11 kB / 493.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1539, allocations: 137.7 kB / 494.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.154, allocations: 25.7 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.1541, allocations: 158.6 kB / 494.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.1541, allocations: 23.73 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.1541, allocations: 3.938 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1543, allocations: 310.8 kB / 494.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1544, allocations: 23.98 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1546, allocations: 37.77 kB / 494.6 MB, free: 4.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1547, allocations: 28.05 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1547, allocations: 4 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003214/0.1551, allocations: 77.61 kB / 494.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1551, allocations: 12.03 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1551, allocations: 0 / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1551, allocations: 4.031 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1553, allocations: 23.94 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1553, allocations: 0 / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.1554, allocations: 4 kB / 494.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1554, allocations: 4 kB / 494.8 MB, free: 4.504 MB / 330.7 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 0.0001326/0.1555, allocations: 121.8 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.1556, allocations: 3.906 kB / 494.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.156, allocations: 97.56 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.156, allocations: 0 / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.156, allocations: 3.953 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.156, allocations: 0 / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.1567, allocations: 354.6 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1567, allocations: 3.984 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1568, allocations: 11.94 kB / 495.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1569, allocations: 4 kB / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1569, allocations: 7.953 kB / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1569, allocations: 0 / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1569, allocations: 192 / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.1573, allocations: 187.4 kB / 495.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1574, allocations: 81.02 kB / 495.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1574, allocations: 15.98 kB / 495.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1575, allocations: 7.953 kB / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1576, allocations: 0 / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1576, allocations: 4 kB / 495.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.1578, allocations: 103.2 kB / 495.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1578, allocations: 0 / 495.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.1581, allocations: 27.94 kB / 495.8 MB, free: 3.383 MB / 330.7 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.001323/0.1595, allocations: 441.2 kB / 496.2 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.1599, allocations: 51.97 kB / 496.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1599, allocations: 7.938 kB / 496.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.16, allocations: 27.98 kB / 496.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1604, allocations: 15.92 kB / 496.3 MB, free: 2.898 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.1609, allocations: 198.5 kB / 496.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1613, allocations: 0.7004 MB / 497.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.1614, allocations: 15.42 kB / 497.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1614, allocations: 0 / 497.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of Templates: time 0.004888/0.1663, allocations: 1.566 MB / 498.8 MB, free: 376 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches