Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001617, allocations: 188.3 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.263/2.263, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001124/0.001124, allocations: 98.8 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.2839/0.2839, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.000651, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1229, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00259/0.1255, allocations: 1.383 MB / 491.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.1281, allocations: 1.309 MB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1283, allocations: 3.938 kB / 492.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1286, allocations: 31.89 kB / 493 MB, free: 6.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1289, allocations: 51.81 kB / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1293, allocations: 63.8 kB / 493.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1295, allocations: 67.84 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.1296, allocations: 8.234 kB / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1297, allocations: 35.84 kB / 493.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1299, allocations: 27.86 kB / 493.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1299, allocations: 7.984 kB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1301, allocations: 35.92 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.1302, allocations: 15.92 kB / 493.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.1302, allocations: 33.7 kB / 493.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.1305, allocations: 96.08 kB / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1305, allocations: 0 / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1305, allocations: 0 / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1305, allocations: 4 kB / 493.4 MB, free: 6.145 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.0006695/0.1312, allocations: 391 kB / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1312, allocations: 12.02 kB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.1313, allocations: 11.86 kB / 493.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1316, allocations: 202.9 kB / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1316, allocations: 0 / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.1317, allocations: 8 kB / 494 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1319, allocations: 71.33 kB / 494.1 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1319, allocations: 3.984 kB / 494.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.132, allocations: 4 kB / 494.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.132, allocations: 3.953 kB / 494.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1321, allocations: 15.98 kB / 494.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1326, allocations: 277 kB / 494.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1329, allocations: 62.62 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1329, allocations: 0 / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.1332, allocations: 75.38 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1332, allocations: 0 / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000783/0.134, allocations: 169.2 kB / 494.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.1341, allocations: 81.11 kB / 494.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.1343, allocations: 149.8 kB / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.1344, allocations: 33.7 kB / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.1345, allocations: 154.6 kB / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.1345, allocations: 23.7 kB / 495.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.1346, allocations: 4 kB / 495.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1347, allocations: 310.8 kB / 495.4 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.1348, allocations: 27.92 kB / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1349, allocations: 46.5 kB / 495.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1351, allocations: 27.98 kB / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1351, allocations: 0 / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003069/0.1354, allocations: 89.64 kB / 495.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1354, allocations: 6.656 kB / 495.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1355, allocations: 7.984 kB / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1355, allocations: 0 / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1357, allocations: 19.88 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1357, allocations: 4.062 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.1358, allocations: 4 kB / 495.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1358, allocations: 4 kB / 495.6 MB, free: 3.656 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.000162/0.136, allocations: 129.8 kB / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.136, allocations: 19.77 kB / 495.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.1361, allocations: 8.719 kB / 495.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1361, allocations: 4 kB / 495.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1361, allocations: 0 / 495.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1362, allocations: 7.984 kB / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.1369, allocations: 387.3 kB / 496.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1369, allocations: 0 / 496.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.137, allocations: 8 kB / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.137, allocations: 3.938 kB / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1371, allocations: 11.98 kB / 496.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1371, allocations: 0 / 496.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1371, allocations: 0 / 496.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.1374, allocations: 214 kB / 496.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.1375, allocations: 85.02 kB / 496.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.1376, allocations: 3.984 kB / 496.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1377, allocations: 8 kB / 496.5 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.1378, allocations: 4 kB / 496.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.1378, allocations: 7.984 kB / 496.5 MB, free: 2.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.138, allocations: 118.7 kB / 496.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.138, allocations: 0 / 496.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.1384, allocations: 35.94 kB / 496.7 MB, free: 2.504 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.001612/0.14, allocations: 0.5053 MB / 497.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.1404, allocations: 51.97 kB / 497.2 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1404, allocations: 0 / 497.2 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.1405, allocations: 35.92 kB / 497.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.141, allocations: 27.7 kB / 497.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.1416, allocations: 231.7 kB / 497.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.142, allocations: 0.7043 MB / 498.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.1421, allocations: 19.38 kB / 498.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of SimCode: time 3.226e-06/0.1421, allocations: 0 / 498.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of Templates: time 0.005924/0.148, allocations: 2.045 MB / 0.4886 GB, free: 14.89 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches