Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001558, allocations: 183.9 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.023/2.023, 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.00115/0.00115, allocations: 94.84 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.5312/0.5312, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00253/0.1343, allocations: 1.259 MB / 491.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1361, allocations: 0.8712 MB / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.1362, allocations: 0 / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1365, allocations: 15.92 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1367, allocations: 31.84 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.137, allocations: 67.86 kB / 492.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1371, allocations: 43.88 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.1373, allocations: 7.984 kB / 492.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.1373, allocations: 19.92 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1375, allocations: 19.91 kB / 492.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1375, allocations: 4 kB / 492.5 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1377, allocations: 31.88 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.1377, allocations: 11.98 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.1378, allocations: 33.7 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1381, allocations: 67.83 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1381, allocations: 0 / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1381, allocations: 0 / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1382, allocations: 4 kB / 492.7 MB, free: 8.723 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.0007541/0.1389, allocations: 379 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.139, allocations: 12.02 kB / 493.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.1391, allocations: 11.86 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1394, allocations: 179 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1395, allocations: 4 kB / 493.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.1395, allocations: 4 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.1398, allocations: 67.33 kB / 493.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1399, allocations: 3.906 kB / 493.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1399, allocations: 0 / 493.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1399, allocations: 4 kB / 493.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.1402, allocations: 31.94 kB / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.1409, allocations: 265 kB / 493.6 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.1413, allocations: 46.5 kB / 493.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1413, allocations: 0 / 493.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.1414, allocations: 34.56 kB / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.1414, allocations: 0 / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00121/0.1426, allocations: 161.4 kB / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.1427, allocations: 85.09 kB / 493.9 MB, free: 7.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.143, allocations: 125.8 kB / 494.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.143, allocations: 25.7 kB / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.1431, allocations: 166.5 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.1431, allocations: 15.73 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.1432, allocations: 4 kB / 494.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1433, allocations: 326.7 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1434, allocations: 19.98 kB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1436, allocations: 33.7 kB / 494.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1437, allocations: 28.02 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1438, allocations: 0 / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003184/0.1441, allocations: 85.8 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1441, allocations: 4 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1441, allocations: 7.938 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1442, allocations: 0 / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1443, allocations: 16 kB / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1443, allocations: 0 / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.1444, allocations: 15.98 kB / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1445, allocations: 0 / 494.8 MB, free: 6.379 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.0001225/0.1446, allocations: 113.8 kB / 494.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.1446, allocations: 7.906 kB / 494.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.145, allocations: 97.56 kB / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1451, allocations: 3.953 kB / 495 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1451, allocations: 0 / 495 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1451, allocations: 4 kB / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.1457, allocations: 350.6 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1458, allocations: 0 / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1459, allocations: 19.92 kB / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.1459, allocations: 3.953 kB / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1459, allocations: 0 / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1459, allocations: 0 / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1459, allocations: 0 / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1463, allocations: 183.7 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.1464, allocations: 89 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1464, allocations: 7.953 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1465, allocations: 8 kB / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1466, allocations: 11.98 kB / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1466, allocations: 0 / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.1467, allocations: 103.8 kB / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1468, allocations: 0 / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.1471, allocations: 23.98 kB / 495.8 MB, free: 5.266 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.001316/0.1485, allocations: 459.6 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.1489, allocations: 47.97 kB / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1489, allocations: 0 / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.149, allocations: 27.98 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1494, allocations: 23.92 kB / 496.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.1499, allocations: 190.5 kB / 496.5 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1502, allocations: 0.6926 MB / 497.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.1503, allocations: 19.44 kB / 497.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1503, allocations: 0 / 497.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of Templates: time 0.004891/0.1552, allocations: 1.559 MB / 498.8 MB, free: 2.25 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches