Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002207/0.002207, allocations: 187.2 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.289/2.289, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001159/0.001159, allocations: 94.92 kB / 270.9 MB, free: 13.28 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.2933/0.2933, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006299/0.0006301, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1276, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002565/0.1302, allocations: 1.379 MB / 491.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.132, allocations: 0.7383 MB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.1321, allocations: 3.938 kB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1324, allocations: 31.84 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1326, allocations: 43.88 kB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.133, allocations: 83.77 kB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1332, allocations: 55.94 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.1333, allocations: 12.16 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1334, allocations: 39.84 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.1335, allocations: 31.84 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1336, allocations: 0 / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1337, allocations: 31.92 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.1338, allocations: 19.92 kB / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1338, allocations: 37.64 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.134, allocations: 100.1 kB / 492.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1341, allocations: 4 kB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1341, allocations: 0 / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1341, allocations: 0 / 492.8 MB, free: 6.707 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.0006288/0.1347, allocations: 402.8 kB / 493.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1348, allocations: 12.02 kB / 493.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1348, allocations: 15.84 kB / 493.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1351, allocations: 198.9 kB / 493.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1352, allocations: 4 kB / 493.4 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1352, allocations: 19.83 kB / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1354, allocations: 49.67 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1355, allocations: 4 kB / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1355, allocations: 4 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1355, allocations: 0 / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1356, allocations: 19.94 kB / 493.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.1361, allocations: 284.9 kB / 493.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.1364, allocations: 66.61 kB / 493.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1364, allocations: 3.938 kB / 493.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.1367, allocations: 67.52 kB / 494 MB, free: 5.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1367, allocations: 0 / 494 MB, free: 5.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007637/0.1375, allocations: 177.1 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1375, allocations: 59.39 kB / 494.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.1379, allocations: 222.7 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1379, allocations: 29.7 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.138, allocations: 166.6 kB / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.1381, allocations: 23.66 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.1381, allocations: 0 / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1382, allocations: 318.8 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.1383, allocations: 16 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1384, allocations: 41.64 kB / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1385, allocations: 27.98 kB / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1386, allocations: 0 / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002664/0.1388, allocations: 93.94 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1389, allocations: 7.438 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1389, allocations: 0 / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1389, allocations: 7.953 kB / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1391, allocations: 24.02 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1391, allocations: 0 / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.1392, allocations: 8 kB / 495.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1392, allocations: 4 kB / 495.2 MB, free: 4.156 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.00014/0.1394, allocations: 130.5 kB / 495.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1394, allocations: 15.81 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.1395, allocations: 21.39 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1395, allocations: 3.953 kB / 495.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1395, allocations: 0 / 495.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.1395, allocations: 7.984 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.1402, allocations: 391.3 kB / 495.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1402, allocations: 0 / 495.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.1403, allocations: 15.92 kB / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.1403, allocations: 7.953 kB / 495.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1403, allocations: 0 / 495.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1403, allocations: 0 / 495.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1403, allocations: 4 kB / 495.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.1407, allocations: 218.1 kB / 496 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.1408, allocations: 96.95 kB / 496 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1408, allocations: 3.938 kB / 496.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1409, allocations: 4 kB / 496.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.141, allocations: 7.922 kB / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.141, allocations: 8 kB / 496.1 MB, free: 3.129 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.1412, allocations: 171.2 kB / 496.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1412, allocations: 0 / 496.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.1416, allocations: 27.98 kB / 496.3 MB, free: 2.934 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.001357/0.143, allocations: 460.7 kB / 496.7 MB, free: 2.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1433, allocations: 55.91 kB / 496.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1433, allocations: 0 / 496.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1434, allocations: 27.98 kB / 496.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1438, allocations: 24.16 kB / 496.8 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.1445, allocations: 307.8 kB / 497.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1448, allocations: 0.716 MB / 497.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.1449, allocations: 19.42 kB / 497.9 MB, free: 1.328 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1449, allocations: 0 / 497.9 MB, free: 1.328 MB / 330.7 MB Notification: Performance of Templates: time 0.005591/0.1505, allocations: 1.953 MB / 499.8 MB, free: 15.38 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches