Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,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.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001609, allocations: 186.7 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.094/2.094, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001131/0.001131, allocations: 86.94 kB / 270.9 MB, free: 13.29 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.2959/0.2959, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004833, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.85 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002506/0.1303, allocations: 1.252 MB / 491.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.1312, allocations: 283.9 kB / 491.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.1312, allocations: 4 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1316, allocations: 71.72 kB / 491.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1318, allocations: 51.88 kB / 491.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1322, allocations: 83.75 kB / 492 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1324, allocations: 39.95 kB / 492 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1325, allocations: 12 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.1326, allocations: 31.84 kB / 492 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1327, allocations: 31.91 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1327, allocations: 0 / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1329, allocations: 15.98 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.1329, allocations: 19.92 kB / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.133, allocations: 33.64 kB / 492.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1331, allocations: 63.84 kB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1332, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1332, allocations: 4 kB / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1332, allocations: 0 / 492.2 MB, free: 7.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005771/0.1338, allocations: 387.3 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1338, allocations: 12.02 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.1339, allocations: 11.86 kB / 492.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1341, allocations: 194.9 kB / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1342, allocations: 0 / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1342, allocations: 0 / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1344, allocations: 57.62 kB / 492.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1344, allocations: 4 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1344, allocations: 3.984 kB / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1345, allocations: 3.984 kB / 492.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1346, allocations: 23.98 kB / 492.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.1352, allocations: 288.9 kB / 493.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.1355, allocations: 50.5 kB / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1355, allocations: 0 / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1356, allocations: 30.56 kB / 493.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.1356, allocations: 4 kB / 493.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008723/0.1365, allocations: 177.2 kB / 493.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1365, allocations: 59.41 kB / 493.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.1368, allocations: 198 kB / 493.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1369, allocations: 25.7 kB / 493.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.137, allocations: 162.5 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.137, allocations: 11.81 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.137, allocations: 4 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1372, allocations: 310.8 kB / 494.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1373, allocations: 27.98 kB / 494.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1375, allocations: 27.97 kB / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1376, allocations: 23.98 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1376, allocations: 3.938 kB / 494.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003364/0.138, allocations: 93.61 kB / 494.3 MB, free: 4.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.138, allocations: 4 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.138, allocations: 0 / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.138, allocations: 3.984 kB / 494.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1382, allocations: 15.95 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1382, allocations: 0 / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.1383, allocations: 7.984 kB / 494.4 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1383, allocations: 8 kB / 494.4 MB, free: 4.918 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 (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.0001296/0.1385, allocations: 121.8 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.1385, allocations: 11.81 kB / 494.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.1389, allocations: 109.9 kB / 494.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.139, allocations: 4 kB / 494.6 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.139, allocations: 3.953 kB / 494.6 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.139, allocations: 0 / 494.6 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/0.1397, allocations: 358.6 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1397, allocations: 0 / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1398, allocations: 24.3 kB / 495 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1398, allocations: 0 / 495 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.1399, allocations: 7.953 kB / 495 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1399, allocations: 0 / 495 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1399, allocations: 4 kB / 495 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.1403, allocations: 191.4 kB / 495.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.1404, allocations: 85.02 kB / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1404, allocations: 0 / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1405, allocations: 15.94 kB / 495.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1406, allocations: 7.938 kB / 495.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1406, allocations: 0 / 495.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.1408, allocations: 147.2 kB / 495.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1408, allocations: 0 / 495.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.1412, allocations: 16 kB / 495.5 MB, free: 3.73 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 (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.001201/0.1424, allocations: 409.5 kB / 495.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.1428, allocations: 59.95 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1428, allocations: 4 kB / 495.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.143, allocations: 27.98 kB / 496 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1433, allocations: 19.91 kB / 496 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.144, allocations: 262.7 kB / 496.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1444, allocations: 0.7043 MB / 496.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.1445, allocations: 11.44 kB / 497 MB, free: 2.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1445, allocations: 0 / 497 MB, free: 2.23 MB / 330.7 MB Notification: Performance of Templates: time 0.004733/0.1492, allocations: 1.49 MB / 498.4 MB, free: 0.7461 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches