Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002364/0.002364, allocations: 183.8 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.052/2.052, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001155/0.001155, allocations: 92.42 kB / 270.9 MB, free: 8.363 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.5147/0.5147, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004809, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00268/0.1296, allocations: 1.394 MB / 491.6 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1315, allocations: 0.7305 MB / 492.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1316, allocations: 3.938 kB / 492.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.132, allocations: 27.84 kB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1322, allocations: 47.88 kB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1326, allocations: 75.78 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1328, allocations: 55.92 kB / 492.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.133, allocations: 16.16 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1331, allocations: 35.84 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1332, allocations: 23.84 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1332, allocations: 4 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1334, allocations: 35.92 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.1334, allocations: 11.94 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.1335, allocations: 37.69 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1337, allocations: 80.09 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1337, allocations: 0 / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1338, allocations: 0 / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1338, allocations: 0 / 492.8 MB, free: 8.637 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.0006628/0.1344, allocations: 398.9 kB / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1345, allocations: 8.031 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.1346, allocations: 11.91 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1349, allocations: 203.4 kB / 493.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.135, allocations: 3.984 kB / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.135, allocations: 0 / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1352, allocations: 53.67 kB / 493.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1352, allocations: 4 kB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1353, allocations: 0 / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1353, allocations: 3.953 kB / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1354, allocations: 19.92 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1359, allocations: 288.8 kB / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1362, allocations: 54.69 kB / 493.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1362, allocations: 3.984 kB / 493.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.1365, allocations: 71.41 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/0.1365, allocations: 7.938 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007966/0.1373, allocations: 169.2 kB / 494.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.1374, allocations: 55.41 kB / 494.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.1377, allocations: 155 kB / 494.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.1377, allocations: 29.7 kB / 494.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.1378, allocations: 162.6 kB / 494.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.1379, allocations: 27.64 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.1379, allocations: 0 / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.138, allocations: 318.8 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1382, allocations: 19.98 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1383, allocations: 33.7 kB / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1384, allocations: 24 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1384, allocations: 0 / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003406/0.1388, allocations: 101.5 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1388, allocations: 11.98 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1388, allocations: 0 / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1389, allocations: 3.938 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.139, allocations: 16.38 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.139, allocations: 3.938 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.606e-05/0.1391, allocations: 11.98 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1392, allocations: 4 kB / 495 MB, free: 6.18 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.0001567/0.1393, allocations: 125.6 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1394, allocations: 7.906 kB / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.1395, allocations: 24.66 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1395, allocations: 4 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1395, allocations: 0 / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1395, allocations: 0 / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.1402, allocations: 391.3 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1403, allocations: 0 / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.1404, allocations: 8 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1404, allocations: 0 / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1404, allocations: 4.031 kB / 495.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/0.1404, allocations: 7.984 kB / 495.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1404, allocations: 0 / 495.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.1408, allocations: 217.8 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.1409, allocations: 81.02 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.141, allocations: 8.188 kB / 495.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1411, allocations: 11.98 kB / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.1412, allocations: 3.938 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.1412, allocations: 4 kB / 495.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1414, allocations: 124.6 kB / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1414, allocations: 0 / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.1418, allocations: 27.98 kB / 496 MB, free: 5.043 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.001423/0.1432, allocations: 464.5 kB / 496.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.1436, allocations: 59.91 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1436, allocations: 0 / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1438, allocations: 27.94 kB / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1442, allocations: 32.05 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.1449, allocations: 243.7 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1452, allocations: 0.7082 MB / 497.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.1453, allocations: 15.44 kB / 497.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1453, allocations: 0 / 497.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of Templates: time 0.00571/0.151, allocations: 1.848 MB / 499.4 MB, free: 1.656 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches