Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.001574, allocations: 186.1 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.149/2.149, 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.001146/0.001146, allocations: 94.86 kB / 270.9 MB, free: 13.38 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.2864/0.2864, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006318/0.000632, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1272, allocations: 58.85 MB / 490.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002469/0.1297, allocations: 1.268 MB / 491.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008139/0.1306, allocations: 291.7 kB / 491.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1307, allocations: 4 kB / 491.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.131, allocations: 83.8 kB / 491.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1313, allocations: 59.84 kB / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.1316, allocations: 59.86 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1318, allocations: 59.86 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1319, allocations: 12.19 kB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.132, allocations: 27.91 kB / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1321, allocations: 39.83 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1321, allocations: 4 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1323, allocations: 16 kB / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.1323, allocations: 19.92 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.1324, allocations: 41.58 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1326, allocations: 79.88 kB / 492.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1326, allocations: 0 / 492.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1326, allocations: 0 / 492.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1326, allocations: 0 / 492.3 MB, free: 7.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006116/0.1332, allocations: 399.2 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1333, allocations: 12.02 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1334, allocations: 15.75 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1336, allocations: 202.8 kB / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1337, allocations: 8 kB / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1337, allocations: 0 / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1339, allocations: 61.67 kB / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.134, allocations: 4 kB / 493 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.134, allocations: 7.984 kB / 493 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.134, allocations: 0 / 493 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1342, allocations: 31.97 kB / 493 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.1347, allocations: 308.7 kB / 493.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1349, allocations: 46.56 kB / 493.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.135, allocations: 7.984 kB / 493.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.135, allocations: 38.62 kB / 493.4 MB, free: 6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.974e-06/0.135, allocations: 4 kB / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009774/0.136, allocations: 197.2 kB / 493.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1361, allocations: 63.28 kB / 493.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.1364, allocations: 238.2 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1364, allocations: 25.7 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.1365, allocations: 166.5 kB / 494.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1366, allocations: 23.66 kB / 494.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1366, allocations: 0 / 494.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1367, allocations: 314.8 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1369, allocations: 35.97 kB / 494.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.137, allocations: 23.98 kB / 494.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1372, allocations: 31.98 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1372, allocations: 0 / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003581/0.1376, allocations: 101.6 kB / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1376, allocations: 10.66 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1376, allocations: 0 / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1376, allocations: 3.953 kB / 494.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1378, allocations: 23.92 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1378, allocations: 0 / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.1379, allocations: 15.98 kB / 494.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.138, allocations: 4 kB / 494.6 MB, free: 4.695 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 (8): * Single equations (assignments): 8 * 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.0001373/0.1381, allocations: 125.8 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.1382, allocations: 7.906 kB / 494.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.1386, allocations: 139.2 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1387, allocations: 3.953 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1387, allocations: 0 / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1387, allocations: 3.938 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/0.1395, allocations: 394.5 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1395, allocations: 7.984 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.1396, allocations: 16.38 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.1397, allocations: 3.953 kB / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1397, allocations: 3.938 kB / 495.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.1397, allocations: 7.984 kB / 495.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1397, allocations: 0 / 495.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1401, allocations: 207.3 kB / 495.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.1402, allocations: 93 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1402, allocations: 3.953 kB / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1404, allocations: 4 kB / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1404, allocations: 7.984 kB / 495.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1404, allocations: 8 kB / 495.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002153/0.1407, allocations: 172.2 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1407, allocations: 0 / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.141, allocations: 16 kB / 495.8 MB, free: 3.391 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 (8): * Single equations (assignments): 8 * 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.001192/0.1422, allocations: 406.2 kB / 496.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.1426, allocations: 71.97 kB / 496.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1427, allocations: 0 / 496.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1428, allocations: 39.91 kB / 496.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1432, allocations: 15.28 kB / 496.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/0.1439, allocations: 310.9 kB / 496.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1442, allocations: 0.716 MB / 497.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1443, allocations: 15.42 kB / 497.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1443, allocations: 0 / 497.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of Templates: time 0.004986/0.1493, allocations: 1.684 MB / 499.1 MB, free: 144 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches