Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002347/0.002352, allocations: 182.7 kB / 16.4 MB, free: 5.75 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.322/2.322, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001139/0.001139, allocations: 97.83 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.5067/0.5067, allocations: 43.54 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006549, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1289, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002642/0.1316, allocations: 1.39 MB / 491.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1334, allocations: 0.7305 MB / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1336, allocations: 0 / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1339, allocations: 31.84 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1342, allocations: 47.88 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1345, allocations: 71.78 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1347, allocations: 63.84 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.1349, allocations: 8.219 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.135, allocations: 39.84 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.1351, allocations: 23.86 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1351, allocations: 4 kB / 492.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1352, allocations: 31.92 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.1353, allocations: 23.91 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.1354, allocations: 37.64 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1356, allocations: 80.11 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1356, allocations: 0 / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1356, allocations: 0 / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1356, allocations: 0 / 492.8 MB, free: 8.621 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.0007215/0.1364, allocations: 406.8 kB / 493.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1364, allocations: 12.02 kB / 493.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.1365, allocations: 11.91 kB / 493.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1368, allocations: 210.8 kB / 493.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1369, allocations: 4 kB / 493.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1369, allocations: 0 / 493.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1371, allocations: 57.61 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1371, allocations: 0 / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1371, allocations: 0 / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1372, allocations: 7.953 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1373, allocations: 15.98 kB / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.1379, allocations: 281 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1382, allocations: 58.62 kB / 493.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1382, allocations: 7.969 kB / 493.8 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.1385, allocations: 79.38 kB / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.1385, allocations: 0 / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007808/0.1393, allocations: 169.3 kB / 494.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1393, allocations: 55.39 kB / 494.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1396, allocations: 182.2 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1396, allocations: 29.7 kB / 494.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.1398, allocations: 166.5 kB / 494.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.1398, allocations: 27.64 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1398, allocations: 0 / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.14, allocations: 318.8 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-05/0.1401, allocations: 19.98 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1402, allocations: 37.64 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1404, allocations: 20 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1404, allocations: 0 / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002931/0.1407, allocations: 97.61 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1407, allocations: 11.98 kB / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1407, allocations: 0 / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1408, allocations: 7.938 kB / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1409, allocations: 12 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1409, allocations: 3.984 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.141, allocations: 4 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1411, allocations: 8 kB / 495.1 MB, free: 6.121 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.0001374/0.1412, allocations: 121.6 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1413, allocations: 11.89 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.1413, allocations: 20.67 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1413, allocations: 4 kB / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1414, allocations: 0 / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1414, allocations: 0 / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.142, allocations: 395.2 kB / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1421, allocations: 0 / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.1421, allocations: 15.92 kB / 495.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1421, allocations: 4 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1422, allocations: 4.031 kB / 495.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1422, allocations: 0 / 495.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1422, allocations: 0 / 495.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1425, allocations: 218.2 kB / 495.8 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1426, allocations: 93 kB / 495.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1427, allocations: 4 kB / 495.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1428, allocations: 4 kB / 495.9 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.1428, allocations: 7.984 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.1429, allocations: 8 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.1431, allocations: 148 kB / 496.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1431, allocations: 192 / 496.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.1435, allocations: 27.91 kB / 496.1 MB, free: 4.953 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.0014/0.1449, allocations: 471.8 kB / 496.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1452, allocations: 59.91 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1452, allocations: 0 / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1453, allocations: 24 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1457, allocations: 36.05 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.1464, allocations: 256.1 kB / 497 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1468, allocations: 0.716 MB / 497.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.1469, allocations: 15.44 kB / 497.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1469, allocations: 0 / 497.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of Templates: time 0.00599/0.1529, allocations: 1.883 MB / 499.6 MB, free: 1.492 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches