Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001656, allocations: 182.5 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.094/2.094, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001122/0.001122, allocations: 97.83 kB / 270.9 MB, free: 8.359 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.5165/0.5165, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004793, allocations: 23.98 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002616/0.1323, allocations: 1.39 MB / 491.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.134, allocations: 0.7305 MB / 492.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.1341, allocations: 0 / 492.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.1345, allocations: 87.69 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1348, allocations: 63.84 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1352, allocations: 71.78 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1354, allocations: 63.91 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.1355, allocations: 8.219 kB / 492.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1357, allocations: 51.77 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1358, allocations: 43.84 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1358, allocations: 0 / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.136, allocations: 31.92 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.136, allocations: 19.91 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.1361, allocations: 41.64 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1363, allocations: 88.08 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1363, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1364, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1364, allocations: 0 / 492.9 MB, free: 8.52 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.0006542/0.137, allocations: 414.8 kB / 493.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1371, allocations: 8.031 kB / 493.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.1372, allocations: 15.81 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1375, allocations: 206.9 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1375, allocations: 0 / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1375, allocations: 4 kB / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1377, allocations: 57.61 kB / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1378, allocations: 0 / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1378, allocations: 0 / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1378, allocations: 7.938 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1379, allocations: 20 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1384, allocations: 284.9 kB / 493.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1386, allocations: 58.62 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1387, allocations: 0 / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1389, allocations: 79.45 kB / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.1389, allocations: 0 / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007856/0.1397, allocations: 177.1 kB / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1398, allocations: 51.41 kB / 494.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.1401, allocations: 210.3 kB / 494.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1401, allocations: 29.7 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.1402, allocations: 166.6 kB / 494.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1403, allocations: 31.64 kB / 494.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-06/0.1403, allocations: 3.938 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1404, allocations: 310.8 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.1405, allocations: 23.98 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1406, allocations: 37.64 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/0.1408, allocations: 20 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1408, allocations: 0 / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002723/0.1411, allocations: 97.67 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1411, allocations: 7.953 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1411, allocations: 0 / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1411, allocations: 11.92 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1413, allocations: 15.94 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1413, allocations: 0 / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1414, allocations: 4 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1414, allocations: 0 / 495.2 MB, free: 5.992 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.0001487/0.1416, allocations: 137.8 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1416, allocations: 15.81 kB / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.1417, allocations: 25.33 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1417, allocations: 0 / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1417, allocations: 4 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1417, allocations: 0 / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.1424, allocations: 395.3 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1424, allocations: 0 / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.1425, allocations: 19.95 kB / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1425, allocations: 0 / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1425, allocations: 4 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1425, allocations: 4 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1425, allocations: 0 / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.1429, allocations: 213.9 kB / 496 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.143, allocations: 93 kB / 496.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.143, allocations: 0 / 496.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1431, allocations: 4 kB / 496.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1432, allocations: 11.98 kB / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1432, allocations: 0 / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1434, allocations: 156.2 kB / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1435, allocations: 0 / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.1438, allocations: 28 kB / 496.3 MB, free: 4.789 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.001327/0.1452, allocations: 476.2 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.1454, allocations: 55.98 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1455, allocations: 0 / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1456, allocations: 35.98 kB / 496.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.146, allocations: 31.62 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.1466, allocations: 275.9 kB / 497.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.147, allocations: 0.716 MB / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.147, allocations: 19.42 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1471, allocations: 3.938 kB / 497.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of Templates: time 0.005461/0.1525, allocations: 1.934 MB / 499.8 MB, free: 1.254 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches