Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002373/0.002373, allocations: 187.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.496/2.496, allocations: 205.4 MB / 222.5 MB, free: 13.7 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.001173/0.001173, allocations: 102.8 kB / 270.9 MB, free: 13.22 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.3034/0.3034, allocations: 43.55 MB / 362.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006243, allocations: 12 kB / 431.4 MB, free: 20.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.12, allocations: 58.86 MB / 490.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002586/0.1227, allocations: 1.375 MB / 491.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1245, allocations: 0.7383 MB / 492.3 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.1247, allocations: 3.938 kB / 492.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.1251, allocations: 87.73 kB / 492.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1254, allocations: 63.84 kB / 492.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1258, allocations: 71.8 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1261, allocations: 67.84 kB / 492.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1262, allocations: 16.22 kB / 492.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1263, allocations: 47.83 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1265, allocations: 43.83 kB / 492.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1265, allocations: 0 / 492.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1267, allocations: 31.92 kB / 492.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.1267, allocations: 23.91 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1268, allocations: 41.64 kB / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.127, allocations: 92.09 kB / 492.9 MB, free: 6.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.127, allocations: 0 / 492.9 MB, free: 6.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.127, allocations: 4 kB / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1271, allocations: 0 / 492.9 MB, free: 6.578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006614/0.1277, allocations: 410.8 kB / 493.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1278, allocations: 12.02 kB / 493.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.1279, allocations: 15.86 kB / 493.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1282, allocations: 194.9 kB / 493.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1282, allocations: 11.92 kB / 493.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1282, allocations: 7.906 kB / 493.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1284, allocations: 57.67 kB / 493.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1285, allocations: 0 / 493.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1285, allocations: 0 / 493.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1285, allocations: 0 / 493.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1286, allocations: 23.94 kB / 493.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1291, allocations: 284.9 kB / 493.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1293, allocations: 62.61 kB / 494 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1294, allocations: 4 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.1297, allocations: 67.5 kB / 494.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.225e-06/0.1297, allocations: 0 / 494.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007663/0.1305, allocations: 181 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.1305, allocations: 51.41 kB / 494.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.1309, allocations: 226.7 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1309, allocations: 33.7 kB / 494.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.131, allocations: 162.6 kB / 494.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1311, allocations: 27.59 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.1311, allocations: 0 / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1313, allocations: 322.8 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.1314, allocations: 15.94 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1315, allocations: 37.7 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1316, allocations: 31.98 kB / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1316, allocations: 0 / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002925/0.1319, allocations: 89.61 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.132, allocations: 10.59 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.132, allocations: 4 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.132, allocations: 4.328 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1322, allocations: 15.98 kB / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1322, allocations: 0 / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.1323, allocations: 16.03 kB / 495.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1323, allocations: 4 kB / 495.3 MB, free: 4.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001474/0.1325, allocations: 130.5 kB / 495.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1325, allocations: 11.81 kB / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.1326, allocations: 25.39 kB / 495.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1326, allocations: 7.891 kB / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1326, allocations: 0 / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1326, allocations: 0 / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.1333, allocations: 391.4 kB / 495.8 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1333, allocations: 3.938 kB / 495.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.1334, allocations: 11.98 kB / 495.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.1334, allocations: 3.953 kB / 495.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1335, allocations: 0 / 495.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.1335, allocations: 4 kB / 495.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1335, allocations: 0 / 495.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.1338, allocations: 217.9 kB / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.1339, allocations: 92.95 kB / 496.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.134, allocations: 4 kB / 496.1 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1341, allocations: 4 kB / 496.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1342, allocations: 11.92 kB / 496.2 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1342, allocations: 4 kB / 496.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.1344, allocations: 171.2 kB / 496.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1344, allocations: 0 / 496.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.1348, allocations: 28.17 kB / 496.4 MB, free: 2.809 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001402/0.1362, allocations: 469.4 kB / 496.8 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.1365, allocations: 51.92 kB / 496.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1365, allocations: 0 / 496.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1367, allocations: 27.98 kB / 496.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1371, allocations: 24.16 kB / 496.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.1378, allocations: 311.8 kB / 497.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1382, allocations: 0.7082 MB / 497.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.1383, allocations: 23.42 kB / 498 MB, free: 1.199 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1383, allocations: 4 kB / 498 MB, free: 1.195 MB / 330.7 MB Notification: Performance of Templates: time 0.005738/0.144, allocations: 1.952 MB / 499.9 MB, free: 15.24 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches