Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 96.03 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2929/0.2929, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.87e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.471, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.6359, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.6362, allocations: 71.97 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02484/0.6611, allocations: 5.648 MB / 0.5564 GB, free: 6.629 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6611, allocations: 0 / 0.5564 GB, free: 6.629 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.6612, allocations: 3.938 kB / 0.5564 GB, free: 6.625 MB / 395.1 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.0006037/0.6618, allocations: 414.1 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6618, allocations: 8.031 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.6619, allocations: 7.906 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.6624, allocations: 230.7 kB / 0.5571 GB, free: 5.895 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6624, allocations: 4 kB / 0.5571 GB, free: 5.891 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.6624, allocations: 0 / 0.5571 GB, free: 5.891 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/0.6625, allocations: 23.98 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.6627, allocations: 49.62 kB / 0.5571 GB, free: 5.812 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6627, allocations: 0 / 0.5571 GB, free: 5.812 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.6627, allocations: 3.984 kB / 0.5571 GB, free: 5.809 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6627, allocations: 3.938 kB / 0.5571 GB, free: 5.805 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.6633, allocations: 285.3 kB / 0.5574 GB, free: 5.488 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.6635, allocations: 54.69 kB / 0.5575 GB, free: 5.426 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.6635, allocations: 20.97 kB / 0.5575 GB, free: 5.402 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.6636, allocations: 4 kB / 0.5575 GB, free: 5.398 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.6637, allocations: 59.34 kB / 0.5575 GB, free: 5.328 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.6637, allocations: 0 / 0.5575 GB, free: 5.328 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005893/0.6643, allocations: 157.2 kB / 0.5577 GB, free: 5.168 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.6644, allocations: 55.34 kB / 0.5577 GB, free: 5.102 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.6648, allocations: 241.7 kB / 0.558 GB, free: 4.855 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.6649, allocations: 25.7 kB / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.665, allocations: 166.6 kB / 0.5582 GB, free: 4.66 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.665, allocations: 27.64 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.665, allocations: 0 / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6652, allocations: 314.8 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.6652, allocations: 20 kB / 0.5585 GB, free: 4.297 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.6653, allocations: 29.72 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.981e-05/0.6654, allocations: 23.98 kB / 0.5586 GB, free: 4.238 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6654, allocations: 0 / 0.5586 GB, free: 4.238 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002114/0.6657, allocations: 85.53 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6657, allocations: 7.984 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6657, allocations: 0 / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6657, allocations: 4 kB / 0.5586 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.6659, allocations: 16.03 kB / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.6659, allocations: 0 / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.666, allocations: 8.172 kB / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.6661, allocations: 7.953 kB / 0.5587 GB, free: 4.105 MB / 395.1 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.0001/0.6662, allocations: 108.9 kB / 0.5588 GB, free: 3.992 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.6662, allocations: 11.91 kB / 0.5588 GB, free: 3.98 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.6665, allocations: 115.4 kB / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6666, allocations: 0 / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6666, allocations: 8.266 kB / 0.5589 GB, free: 3.855 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6666, allocations: 0 / 0.5589 GB, free: 3.855 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.6673, allocations: 403.8 kB / 0.5593 GB, free: 3.414 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6673, allocations: 3.938 kB / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.6674, allocations: 15.92 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.6674, allocations: 4 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.6674, allocations: 0 / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6674, allocations: 0 / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6674, allocations: 4 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.6678, allocations: 221.8 kB / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.6679, allocations: 100.9 kB / 0.5596 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.6679, allocations: 0 / 0.5596 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6681, allocations: 4 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.6681, allocations: 15.94 kB / 0.5597 GB, free: 3.008 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.6682, allocations: 7.938 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.6684, allocations: 192.2 kB / 0.5598 GB, free: 2.812 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6685, allocations: 0 / 0.5598 GB, free: 2.812 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.6689, allocations: 35.94 kB / 0.5599 GB, free: 2.777 MB / 395.1 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.001162/0.67, allocations: 397.9 kB / 0.5603 GB, free: 2.438 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.6703, allocations: 51.94 kB / 0.5603 GB, free: 2.387 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6703, allocations: 0 / 0.5603 GB, free: 2.387 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.6704, allocations: 31.94 kB / 0.5603 GB, free: 2.355 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.6708, allocations: 35.89 kB / 0.5604 GB, free: 2.32 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.6715, allocations: 243.7 kB / 0.5606 GB, free: 2.051 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.6719, allocations: 0.7236 MB / 0.5613 GB, free: 1.301 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.672, allocations: 15.44 kB / 0.5613 GB, free: 1.285 MB / 395.1 MB Notification: Performance of SimCode: time 1.453e-06/0.672, allocations: 0 / 0.5613 GB, free: 1.285 MB / 395.1 MB Notification: Performance of Templates: time 0.006141/0.6781, allocations: 2.142 MB / 0.5634 GB, free: 15.15 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches