Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008557/0.0008556, allocations: 86.3 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4583/0.4583, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1471, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002354/0.1495, allocations: 1.259 MB / 491.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1508, allocations: 0.8752 MB / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.1509, allocations: 8 kB / 492.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.1511, allocations: 15.92 kB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1513, allocations: 31.91 kB / 492.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1516, allocations: 63.88 kB / 492.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1517, allocations: 47.84 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.1518, allocations: 15.91 kB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.224e-05/0.1519, allocations: 19.92 kB / 492.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.152, allocations: 23.86 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1521, allocations: 4 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1522, allocations: 47.95 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.1522, allocations: 3.938 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.1523, allocations: 33.7 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1524, allocations: 55.91 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1525, allocations: 4 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1525, allocations: 0 / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1525, allocations: 0 / 492.7 MB, free: 8.719 MB / 378.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.0005325/0.153, allocations: 379.4 kB / 493.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1531, allocations: 16.02 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.1531, allocations: 7.859 kB / 493.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.1534, allocations: 186.9 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1534, allocations: 3.984 kB / 493.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.1534, allocations: 4 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1536, allocations: 63.39 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1536, allocations: 11.91 kB / 493.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1537, allocations: 0 / 493.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1537, allocations: 0 / 493.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1538, allocations: 27.94 kB / 493.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.1542, allocations: 268.9 kB / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.1544, allocations: 46.56 kB / 493.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.1545, allocations: 20.94 kB / 493.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1545, allocations: 0 / 493.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1546, allocations: 30.56 kB / 493.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1546, allocations: 0 / 493.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006112/0.1552, allocations: 157.3 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1553, allocations: 77.11 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1554, allocations: 133.8 kB / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1554, allocations: 33.64 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.1555, allocations: 92.05 kB / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1555, allocations: 19.73 kB / 494.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.1556, allocations: 3.938 kB / 494.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1557, allocations: 314.8 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.1558, allocations: 23.98 kB / 494.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/0.1559, allocations: 41.69 kB / 494.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.156, allocations: 20 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.156, allocations: 3.984 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.1562, allocations: 89.61 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1562, allocations: 7.953 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1562, allocations: 3.938 kB / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1562, allocations: 4 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.1563, allocations: 20.17 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1563, allocations: 0 / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.1564, allocations: 8 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1564, allocations: 4 kB / 494.8 MB, free: 6.402 MB / 378.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.0001008/0.1565, allocations: 113.8 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.1565, allocations: 4 kB / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1568, allocations: 97.48 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1568, allocations: 8 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1568, allocations: 3.984 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1568, allocations: 0 / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.1573, allocations: 346.5 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1573, allocations: 0 / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.1573, allocations: 23.94 kB / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1574, allocations: 0 / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1574, allocations: 4 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1574, allocations: 0 / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1574, allocations: 0 / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1576, allocations: 183.5 kB / 495.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.1577, allocations: 85.02 kB / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1577, allocations: 7.953 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.1578, allocations: 11.98 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1579, allocations: 288 / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1579, allocations: 192 / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.671e-05/0.158, allocations: 103.3 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.158, allocations: 0 / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.1583, allocations: 35.92 kB / 495.8 MB, free: 5.289 MB / 378.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.0009727/0.1592, allocations: 440.8 kB / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1595, allocations: 63.91 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1595, allocations: 0 / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1596, allocations: 23.98 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.16, allocations: 19.92 kB / 496.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.1604, allocations: 206.4 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1607, allocations: 0.6848 MB / 497.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.1607, allocations: 15.42 kB / 497.3 MB, free: 3.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1607, allocations: 4 kB / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of Templates: time 0.003686/0.1644, allocations: 1.532 MB / 498.8 MB, free: 2.305 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches