Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002468/0.002473, allocations: 187 kB / 16.4 MB, free: 5.621 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.167/2.167, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001687/0.001687, allocations: 98.84 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.2888/0.2888, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005039, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00262/0.1268, allocations: 1.383 MB / 491.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1296, allocations: 1.305 MB / 492.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1298, allocations: 7.938 kB / 492.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1301, allocations: 27.89 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1304, allocations: 47.81 kB / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1308, allocations: 71.8 kB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.131, allocations: 67.84 kB / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1311, allocations: 12.22 kB / 493.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1312, allocations: 39.83 kB / 493.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1314, allocations: 35.84 kB / 493.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1314, allocations: 4 kB / 493.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1316, allocations: 35.92 kB / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.1317, allocations: 23.91 kB / 493.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.1318, allocations: 33.7 kB / 493.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.132, allocations: 100 kB / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.132, allocations: 0 / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.132, allocations: 0 / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.132, allocations: 0 / 493.4 MB, free: 6.117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006792/0.1327, allocations: 399.1 kB / 493.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1328, allocations: 12.02 kB / 493.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.1329, allocations: 15.77 kB / 493.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1332, allocations: 203.4 kB / 494 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1332, allocations: 4 kB / 494 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1333, allocations: 7.984 kB / 494 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1335, allocations: 71.33 kB / 494.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1335, allocations: 0 / 494.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1336, allocations: 8 kB / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1336, allocations: 0 / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1337, allocations: 35.92 kB / 494.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1343, allocations: 292.8 kB / 494.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1346, allocations: 66.61 kB / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.1346, allocations: 4 kB / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.1349, allocations: 79.5 kB / 494.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.1349, allocations: 0 / 494.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008832/0.1358, allocations: 193.2 kB / 494.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.1359, allocations: 77.11 kB / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1361, allocations: 155 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1362, allocations: 29.7 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1363, allocations: 170.7 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.1364, allocations: 35.58 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.1364, allocations: 0 / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1365, allocations: 310.8 kB / 495.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1367, allocations: 23.98 kB / 495.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1368, allocations: 50.5 kB / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1369, allocations: 36.02 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.137, allocations: 0 / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003242/0.1373, allocations: 101.5 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.1373, allocations: 8 kB / 495.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1374, allocations: 3.953 kB / 495.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1374, allocations: 0 / 495.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1376, allocations: 23.92 kB / 495.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.475e-06/0.1376, allocations: 0 / 495.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.1377, allocations: 8 kB / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1377, allocations: 8.031 kB / 495.8 MB, free: 3.496 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 (11): * Single equations (assignments): 11 * 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.0001512/0.1379, allocations: 121.8 kB / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.1379, allocations: 11.91 kB / 495.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.138, allocations: 17.17 kB / 495.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.138, allocations: 3.953 kB / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.138, allocations: 0 / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.138, allocations: 0 / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007784/0.1388, allocations: 415.3 kB / 496.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1388, allocations: 0 / 496.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.602e-05/0.1389, allocations: 15.94 kB / 496.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.139, allocations: 0 / 496.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.139, allocations: 11.94 kB / 496.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.139, allocations: 0 / 496.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.139, allocations: 0 / 496.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.1394, allocations: 238 kB / 496.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/0.1395, allocations: 96.91 kB / 496.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.1396, allocations: 0 / 496.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1397, allocations: 4 kB / 496.7 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1398, allocations: 7.984 kB / 496.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.1398, allocations: 8 kB / 496.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.14, allocations: 120.5 kB / 496.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.529e-06/0.14, allocations: 8 kB / 496.8 MB, free: 2.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004021/0.1404, allocations: 35.92 kB / 496.9 MB, free: 2.285 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 (9): * Single equations (assignments): 7 * 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.001527/0.142, allocations: 0.4923 MB / 497.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.1424, allocations: 67.91 kB / 497.4 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1424, allocations: 0 / 497.4 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.1425, allocations: 35.92 kB / 497.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1429, allocations: 31.48 kB / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.1436, allocations: 251.9 kB / 497.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.144, allocations: 0.7043 MB / 498.5 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.1441, allocations: 23.44 kB / 498.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of SimCode: time 1.093e-06/0.1441, allocations: 0 / 498.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of Templates: time 0.006455/0.1506, allocations: 2.161 MB / 0.4889 GB, free: 14.53 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches