Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001575, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.134/2.134, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001193/0.001193, allocations: 93.5 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.5223/0.5223, allocations: 43.57 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007883/0.0007885, allocations: 16 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1292, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002648/0.1319, allocations: 1.39 MB / 491.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1337, allocations: 0.7344 MB / 492.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.1338, allocations: 0 / 492.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.1343, allocations: 95.72 kB / 492.4 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.1346, allocations: 75.83 kB / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.135, allocations: 79.78 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1352, allocations: 75.83 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1353, allocations: 8.219 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1355, allocations: 47.83 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1356, allocations: 47.83 kB / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1356, allocations: 0 / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1358, allocations: 35.86 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.1359, allocations: 15.92 kB / 492.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.136, allocations: 45.64 kB / 492.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1362, allocations: 96.08 kB / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1362, allocations: 0 / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1362, allocations: 0 / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1362, allocations: 0 / 493 MB, free: 8.215 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.0007117/0.1369, allocations: 422.7 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.137, allocations: 8.031 kB / 493.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1371, allocations: 7.906 kB / 493.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.1374, allocations: 219.5 kB / 493.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1375, allocations: 4 kB / 493.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1375, allocations: 4 kB / 493.6 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1377, allocations: 57.61 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1377, allocations: 0 / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1377, allocations: 0 / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.1378, allocations: 3.953 kB / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1379, allocations: 23.98 kB / 493.7 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.1384, allocations: 284.9 kB / 494 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1386, allocations: 62.62 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1387, allocations: 0 / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1389, allocations: 71.45 kB / 494.1 MB, free: 6.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1389, allocations: 0 / 494.1 MB, free: 6.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007622/0.1397, allocations: 185.3 kB / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1398, allocations: 55.34 kB / 494.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.1401, allocations: 242.1 kB / 494.6 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1402, allocations: 29.7 kB / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1403, allocations: 170.5 kB / 494.8 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.1403, allocations: 27.72 kB / 494.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.1404, allocations: 0 / 494.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1405, allocations: 318.8 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.1406, allocations: 19.98 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1407, allocations: 41.64 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1409, allocations: 24 kB / 495.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1409, allocations: 0 / 495.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002799/0.1412, allocations: 85.59 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1412, allocations: 11.94 kB / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1412, allocations: 4 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1412, allocations: 0 / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1414, allocations: 23.91 kB / 495.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1414, allocations: 0 / 495.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.1415, allocations: 4 kB / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1416, allocations: 11.98 kB / 495.3 MB, free: 5.621 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.0001522/0.1417, allocations: 125.8 kB / 495.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.1418, allocations: 27.78 kB / 495.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.1418, allocations: 21.36 kB / 495.5 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1419, allocations: 0 / 495.5 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1419, allocations: 4 kB / 495.5 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1419, allocations: 0 / 495.5 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007042/0.1426, allocations: 403.3 kB / 495.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1426, allocations: 0 / 495.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.1427, allocations: 8 kB / 495.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1427, allocations: 3.938 kB / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1428, allocations: 0 / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1428, allocations: 4 kB / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1428, allocations: 3.984 kB / 495.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.1431, allocations: 222.1 kB / 496.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.1432, allocations: 89.02 kB / 496.2 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.1433, allocations: 0 / 496.2 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1434, allocations: 7.984 kB / 496.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1435, allocations: 8.188 kB / 496.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.1435, allocations: 8 kB / 496.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.1437, allocations: 184.2 kB / 496.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1438, allocations: 0 / 496.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.1441, allocations: 23.98 kB / 496.4 MB, free: 4.391 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.001377/0.1455, allocations: 472 kB / 496.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.1459, allocations: 51.97 kB / 497 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1459, allocations: 0 / 497 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.146, allocations: 35.92 kB / 497 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.1465, allocations: 32.11 kB / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.1473, allocations: 312.3 kB / 497.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1478, allocations: 0.7315 MB / 498.1 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.1478, allocations: 15.44 kB / 498.1 MB, free: 2.742 MB / 378.7 MB Notification: Performance of SimCode: time 3.226e-06/0.1479, allocations: 0 / 498.1 MB, free: 2.742 MB / 378.7 MB Notification: Performance of Templates: time 0.00596/0.1538, allocations: 1.991 MB / 0.4883 GB, free: 0.7578 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches