Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.00153, allocations: 182.4 kB / 16.4 MB, free: 5.75 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.198/2.198, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001168/0.001168, allocations: 96.31 kB / 270.9 MB, free: 8.359 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.5264/0.5264, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004549, allocations: 8 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002368/0.1312, allocations: 1.255 MB / 491.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.132, allocations: 275.9 kB / 491.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.1321, allocations: 0 / 491.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.1325, allocations: 123.7 kB / 491.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.1328, allocations: 67.84 kB / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1331, allocations: 71.8 kB / 492 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1333, allocations: 51.92 kB / 492 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1334, allocations: 19.95 kB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.1335, allocations: 39.83 kB / 492.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1337, allocations: 59.86 kB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1337, allocations: 4 kB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1338, allocations: 19.98 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.1339, allocations: 19.92 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.134, allocations: 41.58 kB / 492.2 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1342, allocations: 75.88 kB / 492.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1342, allocations: 3.938 kB / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1342, allocations: 0 / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1342, allocations: 0 / 492.3 MB, free: 9.082 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.0005706/0.1348, allocations: 415 kB / 492.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1348, allocations: 16.02 kB / 492.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1349, allocations: 11.86 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1351, allocations: 202.5 kB / 493 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1352, allocations: 4 kB / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1352, allocations: 0 / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1354, allocations: 49.69 kB / 493 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1354, allocations: 0 / 493 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1354, allocations: 3.984 kB / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1354, allocations: 0 / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1356, allocations: 39.88 kB / 493.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1361, allocations: 281 kB / 493.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.1363, allocations: 46.55 kB / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1364, allocations: 4 kB / 493.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1364, allocations: 34.56 kB / 493.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.546e-06/0.1364, allocations: 0 / 493.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008679/0.1373, allocations: 173.1 kB / 493.6 MB, free: 7.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1374, allocations: 55.41 kB / 493.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.1378, allocations: 263.2 kB / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1378, allocations: 25.7 kB / 493.9 MB, free: 7.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.138, allocations: 174.5 kB / 494.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.138, allocations: 11.8 kB / 494.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.138, allocations: 7.938 kB / 494.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1382, allocations: 318.8 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1383, allocations: 19.98 kB / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1384, allocations: 19.98 kB / 494.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1386, allocations: 27.98 kB / 494.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1386, allocations: 0 / 494.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003314/0.1389, allocations: 77.67 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.139, allocations: 8 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.139, allocations: 3.953 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.139, allocations: 0 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1392, allocations: 20.23 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1392, allocations: 3.938 kB / 494.6 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.1393, allocations: 8 kB / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1393, allocations: 4 kB / 494.6 MB, free: 6.59 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.0001514/0.1395, allocations: 129.8 kB / 494.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.1395, allocations: 19.75 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.1399, allocations: 110.6 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.14, allocations: 3.953 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.14, allocations: 4 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.14, allocations: 0 / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.1407, allocations: 370.4 kB / 495.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1407, allocations: 0 / 495.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1408, allocations: 15.98 kB / 495.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1408, allocations: 3.953 kB / 495.2 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.1409, allocations: 0 / 495.2 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1409, allocations: 0 / 495.2 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1409, allocations: 0 / 495.2 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.1413, allocations: 195.3 kB / 495.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.1413, allocations: 89.28 kB / 495.5 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1414, allocations: 7.953 kB / 495.5 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1415, allocations: 4 kB / 495.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1416, allocations: 11.97 kB / 495.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1416, allocations: 4.188 kB / 495.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002771/0.1419, allocations: 203.4 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1419, allocations: 0 / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.1422, allocations: 19.98 kB / 495.8 MB, free: 5.309 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.001177/0.1434, allocations: 404 kB / 496.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.1438, allocations: 59.95 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.1438, allocations: 0 / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.144, allocations: 31.92 kB / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1443, allocations: 8.188 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.1451, allocations: 315.8 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1455, allocations: 0.7238 MB / 497.3 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1456, allocations: 11.44 kB / 497.3 MB, free: 3.762 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1456, allocations: 3.938 kB / 497.3 MB, free: 3.758 MB / 378.7 MB Notification: Performance of Templates: time 0.004996/0.1506, allocations: 1.594 MB / 498.9 MB, free: 2.164 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches