Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008941/0.0008941, allocations: 175.3 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007892/0.0007892, allocations: 95.02 kB / 271.2 MB, free: 8.25 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.3016/0.3016, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003626, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002046/0.1251, allocations: 1.398 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1268, allocations: 1.317 MB / 493.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.1269, allocations: 3.938 kB / 493.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1272, allocations: 35.89 kB / 493.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1274, allocations: 39.83 kB / 493.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1277, allocations: 79.78 kB / 493.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1278, allocations: 83.7 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1279, allocations: 16.2 kB / 493.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.128, allocations: 39.78 kB / 493.8 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1282, allocations: 35.78 kB / 493.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1282, allocations: 7.938 kB / 493.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1283, allocations: 55.95 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.1284, allocations: 11.94 kB / 493.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.1284, allocations: 53.5 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1286, allocations: 92.08 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1287, allocations: 0 / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1287, allocations: 4 kB / 494.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1287, allocations: 0 / 494.1 MB, free: 7.586 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.0004877/0.1292, allocations: 395.2 kB / 494.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1292, allocations: 8.031 kB / 494.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.1293, allocations: 12.84 kB / 494.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1295, allocations: 212 kB / 494.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1295, allocations: 8.312 kB / 494.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1295, allocations: 4.125 kB / 494.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1297, allocations: 71.39 kB / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1297, allocations: 0 / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1297, allocations: 0 / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1298, allocations: 0 / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/0.1298, allocations: 23.98 kB / 494.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.1302, allocations: 276.9 kB / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1303, allocations: 62.61 kB / 495.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.1304, allocations: 20.84 kB / 495.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1304, allocations: 4 kB / 495.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1306, allocations: 63.39 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1306, allocations: 0 / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005141/0.1312, allocations: 177.2 kB / 495.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1312, allocations: 81.09 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1314, allocations: 145.8 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1314, allocations: 25.7 kB / 495.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1315, allocations: 104 kB / 495.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1315, allocations: 15.75 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1315, allocations: 4 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1316, allocations: 330.8 kB / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.1317, allocations: 15.98 kB / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.1318, allocations: 46.56 kB / 496.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1319, allocations: 57.88 kB / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1319, allocations: 0 / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.1321, allocations: 105.4 kB / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1321, allocations: 15.34 kB / 496.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1321, allocations: 0 / 496.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1321, allocations: 3.938 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.1322, allocations: 15.98 kB / 496.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1322, allocations: 7.938 kB / 496.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.1323, allocations: 3.938 kB / 496.4 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1323, allocations: 4 kB / 496.4 MB, free: 5.07 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 8.819e-05/0.1324, allocations: 137.5 kB / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.1324, allocations: 7.906 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1324, allocations: 16.72 kB / 496.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1325, allocations: 0 / 496.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1325, allocations: 384 / 496.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1325, allocations: 3.938 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1329, allocations: 391.3 kB / 496.9 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1329, allocations: 0 / 496.9 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.1329, allocations: 12 kB / 496.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1329, allocations: 3.984 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.133, allocations: 11.97 kB / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.133, allocations: 0 / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.133, allocations: 0 / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1332, allocations: 204.5 kB / 497.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1332, allocations: 89 kB / 497.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1333, allocations: 3.938 kB / 497.2 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.1334, allocations: 15.98 kB / 497.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1334, allocations: 4 kB / 497.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1334, allocations: 4 kB / 497.2 MB, free: 4.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.856e-05/0.1335, allocations: 118.7 kB / 497.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1335, allocations: 0 / 497.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.1338, allocations: 31.98 kB / 497.4 MB, free: 3.938 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.0009923/0.1348, allocations: 0.4888 MB / 497.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.135, allocations: 59.91 kB / 497.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.135, allocations: 4.062 kB / 497.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.1351, allocations: 27.94 kB / 498 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1354, allocations: 23.97 kB / 498 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.1358, allocations: 235.8 kB / 498.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1361, allocations: 0.6965 MB / 498.9 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.1362, allocations: 15.44 kB / 498.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1362, allocations: 3.938 kB / 498.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of Templates: time 0.003601/0.1398, allocations: 2.029 MB / 0.4892 GB, free: 356 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches