Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002481/0.002481, allocations: 188.3 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.213/2.213, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.00114/0.00114, allocations: 98.86 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.3226/0.3226, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004709, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.85 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002747/0.1276, allocations: 1.387 MB / 491.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1295, allocations: 0.7345 MB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1296, allocations: 3.938 kB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.13, allocations: 27.84 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1303, allocations: 39.89 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.1307, allocations: 83.77 kB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1309, allocations: 59.86 kB / 492.5 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.131, allocations: 12.22 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1311, allocations: 39.83 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.1312, allocations: 23.86 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1313, allocations: 0 / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1314, allocations: 31.94 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1315, allocations: 19.91 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.1315, allocations: 33.7 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1318, allocations: 88.03 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1318, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1318, allocations: 4 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1318, allocations: 0 / 492.8 MB, free: 6.73 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.0006696/0.1325, allocations: 402.9 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1325, allocations: 12.02 kB / 493.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.1326, allocations: 11.86 kB / 493.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1329, allocations: 198.9 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.133, allocations: 3.938 kB / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.133, allocations: 8 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1332, allocations: 53.67 kB / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1333, allocations: 3.938 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1333, allocations: 4 kB / 493.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1333, allocations: 0 / 493.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1334, allocations: 27.94 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.1339, allocations: 280.9 kB / 493.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1342, allocations: 62.61 kB / 493.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1342, allocations: 0 / 493.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.1345, allocations: 63.52 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.375e-06/0.1345, allocations: 4 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007766/0.1353, allocations: 185.1 kB / 494.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1353, allocations: 55.41 kB / 494.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.1356, allocations: 194.1 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1357, allocations: 25.7 kB / 494.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1358, allocations: 162.6 kB / 494.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1358, allocations: 23.66 kB / 494.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.1358, allocations: 4 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.136, allocations: 314.8 kB / 494.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.1361, allocations: 20 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1362, allocations: 37.7 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1363, allocations: 27.92 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1364, allocations: 3.938 kB / 494.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002717/0.1366, allocations: 85.69 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1367, allocations: 4 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1367, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1367, allocations: 3.953 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.1369, allocations: 27.92 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1369, allocations: 0 / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.137, allocations: 4.031 kB / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.137, allocations: 4 kB / 495.1 MB, free: 4.238 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.0001408/0.1372, allocations: 125.8 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1372, allocations: 15.81 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.1373, allocations: 12.72 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1373, allocations: 3.953 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1373, allocations: 192 / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1373, allocations: 3.984 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.138, allocations: 399.3 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.138, allocations: 0 / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.1381, allocations: 8 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1381, allocations: 3.953 kB / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1381, allocations: 4 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.1381, allocations: 4.312 kB / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1382, allocations: 0 / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.1385, allocations: 222 kB / 495.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.1386, allocations: 92.88 kB / 495.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.1387, allocations: 4 kB / 495.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1388, allocations: 8 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1389, allocations: 7.984 kB / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.1389, allocations: 4 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1391, allocations: 143.2 kB / 496.1 MB, free: 3.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1391, allocations: 0 / 496.1 MB, free: 3.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.1395, allocations: 20 kB / 496.1 MB, free: 3.059 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.0014/0.1409, allocations: 475.5 kB / 496.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.1412, allocations: 55.95 kB / 496.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1412, allocations: 0 / 496.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1413, allocations: 31.92 kB / 496.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1417, allocations: 23.59 kB / 496.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.1424, allocations: 272.1 kB / 497 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1428, allocations: 0.7043 MB / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1429, allocations: 19.42 kB / 497.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of SimCode: time 4.899e-06/0.1429, allocations: 4 kB / 497.7 MB, free: 1.488 MB / 330.7 MB Notification: Performance of Templates: time 0.005631/0.1486, allocations: 1.883 MB / 499.6 MB, free: 15.61 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches