Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.866/1.866, 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.000893/0.000893, allocations: 94.61 kB / 270.9 MB, free: 8.352 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.3745/0.3745, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004085, allocations: 16 kB / 431.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 58.85 MB / 490.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002024/0.123, allocations: 1.394 MB / 491.6 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1241, allocations: 0.7384 MB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.1242, allocations: 0 / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1245, allocations: 39.83 kB / 492.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1246, allocations: 55.81 kB / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1249, allocations: 63.84 kB / 492.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.125, allocations: 87.75 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.1251, allocations: 12.22 kB / 492.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.916e-05/0.1252, allocations: 43.77 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1253, allocations: 31.8 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1253, allocations: 0 / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.1254, allocations: 35.94 kB / 492.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1254, allocations: 35.83 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.1255, allocations: 37.64 kB / 492.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1257, allocations: 92.09 kB / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1257, allocations: 0 / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1257, allocations: 0 / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1257, allocations: 0 / 492.9 MB, free: 8.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000496/0.1262, allocations: 410.8 kB / 493.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1262, allocations: 12.02 kB / 493.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1263, allocations: 15.81 kB / 493.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1265, allocations: 202.9 kB / 493.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1265, allocations: 4 kB / 493.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1266, allocations: 4 kB / 493.5 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1267, allocations: 61.55 kB / 493.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1267, allocations: 0 / 493.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1268, allocations: 0 / 493.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1268, allocations: 3.953 kB / 493.6 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/0.1268, allocations: 19.98 kB / 493.6 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1272, allocations: 300.8 kB / 493.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1274, allocations: 62.61 kB / 494 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1275, allocations: 20.84 kB / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1275, allocations: 0 / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.1277, allocations: 67.34 kB / 494.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1277, allocations: 4 kB / 494.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005472/0.1283, allocations: 181.2 kB / 494.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1284, allocations: 51.41 kB / 494.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1286, allocations: 218.7 kB / 494.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1286, allocations: 25.7 kB / 494.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.1287, allocations: 116 kB / 494.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1288, allocations: 19.66 kB / 494.7 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.1288, allocations: 4 kB / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1289, allocations: 326.8 kB / 495 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.129, allocations: 19.98 kB / 495 MB, free: 5.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.1291, allocations: 41.64 kB / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.886e-05/0.1291, allocations: 20.19 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1291, allocations: 0 / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.1293, allocations: 109.5 kB / 495.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1294, allocations: 8 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1294, allocations: 4.031 kB / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1294, allocations: 3.938 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.1295, allocations: 15.98 kB / 495.2 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1295, allocations: 4 kB / 495.2 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1296, allocations: 0 / 495.2 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1296, allocations: 4 kB / 495.2 MB, free: 5.727 MB / 378.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.0001204/0.1297, allocations: 130.9 kB / 495.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.1297, allocations: 19.77 kB / 495.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.1298, allocations: 17.41 kB / 495.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1298, allocations: 0 / 495.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1298, allocations: 4 kB / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1298, allocations: 7.922 kB / 495.4 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.1303, allocations: 395.3 kB / 495.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1303, allocations: 0 / 495.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1303, allocations: 11.94 kB / 495.8 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1304, allocations: 0 / 495.8 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1304, allocations: 11.98 kB / 495.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1304, allocations: 4.031 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1304, allocations: 0 / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1306, allocations: 196.2 kB / 496 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1307, allocations: 92.97 kB / 496.1 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1307, allocations: 0 / 496.1 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.1308, allocations: 7.984 kB / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1308, allocations: 12 kB / 496.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1308, allocations: 7.984 kB / 496.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.131, allocations: 167.2 kB / 496.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.503e-06/0.131, allocations: 0 / 496.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.1312, allocations: 27.94 kB / 496.3 MB, free: 4.531 MB / 378.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.00104/0.1323, allocations: 476.2 kB / 496.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1325, allocations: 51.98 kB / 496.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1325, allocations: 0 / 496.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.1326, allocations: 31.92 kB / 496.9 MB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.133, allocations: 24.17 kB / 496.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.1336, allocations: 307.8 kB / 497.2 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.134, allocations: 0.7121 MB / 497.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.1341, allocations: 23.36 kB / 497.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1341, allocations: 0 / 497.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004144/0.1383, allocations: 1.94 MB / 499.9 MB, free: 0.9766 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches