Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.077/2.077, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001093/0.001093, allocations: 97.91 kB / 267.5 MB, free: 14.1 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.2818/0.2818, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.718e-05, allocations: 4 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 58.85 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4979/0.6164, allocations: 87.63 MB / 0.5584 GB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.6168, allocations: 78.91 kB / 0.5584 GB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.641, allocations: 5.433 MB / 0.5638 GB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6411, allocations: 0 / 0.5638 GB, free: 11.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.6411, allocations: 11.94 kB / 0.5638 GB, free: 11.37 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.0005765/0.6417, allocations: 399.6 kB / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6418, allocations: 8.031 kB / 0.5642 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.6419, allocations: 15.81 kB / 0.5642 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.6423, allocations: 218.1 kB / 0.5644 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.6423, allocations: 0 / 0.5644 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.6423, allocations: 3.438 kB / 0.5644 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.6425, allocations: 56.38 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6425, allocations: 0 / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.6426, allocations: 3.984 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6426, allocations: 0 / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.6427, allocations: 15.44 kB / 0.5645 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.6432, allocations: 300.5 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.6433, allocations: 52.31 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.6434, allocations: 23.92 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.6435, allocations: 0 / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.6436, allocations: 66.2 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.6437, allocations: 4 kB / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006031/0.6443, allocations: 160.6 kB / 0.565 GB, free: 9.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.6443, allocations: 51.41 kB / 0.5651 GB, free: 9.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.6446, allocations: 188.8 kB / 0.5653 GB, free: 9.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.6447, allocations: 25.7 kB / 0.5653 GB, free: 9.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.6447, allocations: 164.9 kB / 0.5654 GB, free: 9.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.6448, allocations: 29.64 kB / 0.5655 GB, free: 9.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.6448, allocations: 0 / 0.5655 GB, free: 9.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.645, allocations: 317.4 kB / 0.5658 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.6451, allocations: 18.31 kB / 0.5658 GB, free: 9.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.603e-05/0.6452, allocations: 42.64 kB / 0.5658 GB, free: 9.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.071e-05/0.6452, allocations: 18.25 kB / 0.5658 GB, free: 9.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6452, allocations: 192 / 0.5658 GB, free: 9.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002334/0.6455, allocations: 88.3 kB / 0.5659 GB, free: 9.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.6455, allocations: 7.938 kB / 0.5659 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6455, allocations: 4.219 kB / 0.5659 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6456, allocations: 3.984 kB / 0.5659 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.6457, allocations: 27.75 kB / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6458, allocations: 3.953 kB / 0.566 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.6459, allocations: 3.984 kB / 0.566 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.6459, allocations: 4 kB / 0.566 GB, free: 9.043 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 () * 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.0001307/0.6461, allocations: 108.9 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.6461, allocations: 11.81 kB / 0.5661 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.6467, allocations: 125.7 kB / 0.5662 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6467, allocations: 4 kB / 0.5662 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6467, allocations: 0 / 0.5662 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6468, allocations: 3.953 kB / 0.5662 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.6478, allocations: 405.2 kB / 0.5666 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6478, allocations: 0 / 0.5666 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.648, allocations: 15.98 kB / 0.5666 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.648, allocations: 0 / 0.5666 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6481, allocations: 7.969 kB / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.6481, allocations: 7.953 kB / 0.5666 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.6481, allocations: 0 / 0.5666 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.6486, allocations: 216.3 kB / 0.5669 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.6488, allocations: 92.81 kB / 0.5669 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.6489, allocations: 7.953 kB / 0.5669 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.6491, allocations: 7.75 kB / 0.567 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.6492, allocations: 7.984 kB / 0.567 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.6493, allocations: 7.938 kB / 0.567 GB, free: 8.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003537/0.6496, allocations: 155.8 kB / 0.5671 GB, free: 7.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6497, allocations: 0 / 0.5671 GB, free: 7.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000904/0.6506, allocations: 31.88 kB / 0.5671 GB, free: 7.855 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002222/0.6528, allocations: 424.3 kB / 0.5676 GB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.6534, allocations: 54.31 kB / 0.5676 GB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6534, allocations: 0 / 0.5676 GB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.6536, allocations: 35.05 kB / 0.5676 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.6543, allocations: 32.42 kB / 0.5677 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.655, allocations: 202.2 kB / 0.5679 GB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.6555, allocations: 0.7117 MB / 0.5686 GB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.6556, allocations: 15.44 kB / 0.5686 GB, free: 6.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6556, allocations: 0 / 0.5686 GB, free: 6.449 MB / 378.7 MB Notification: Performance of Templates: time 0.006575/0.6622, allocations: 1.973 MB / 0.5705 GB, free: 4.488 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches