Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009723/0.0009722, allocations: 176.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007723/0.0007724, allocations: 82.36 kB / 271.9 MB, free: 8.246 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.4052/0.4052, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004136, allocations: 16 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1546, allocations: 58.84 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5929, allocations: 87.76 MB / 0.5656 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5932, allocations: 81.17 kB / 0.5657 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01561/0.6088, allocations: 5.561 MB / 0.5711 GB, free: 8.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6089, allocations: 4 kB / 0.5711 GB, free: 8.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.6089, allocations: 4 kB / 0.5712 GB, free: 8.895 MB / 394.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.0006684/0.6096, allocations: 430.4 kB / 0.5716 GB, free: 8.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6096, allocations: 12.03 kB / 0.5716 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.6097, allocations: 8.844 kB / 0.5716 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.61, allocations: 232 kB / 0.5718 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.6101, allocations: 1 kB / 0.5718 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.6101, allocations: 12.36 kB / 0.5718 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.6103, allocations: 54.23 kB / 0.5719 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6103, allocations: 192 / 0.5719 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.6103, allocations: 9.188 kB / 0.5719 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.6104, allocations: 0 / 0.5719 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.303e-05/0.6105, allocations: 23.92 kB / 0.5719 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.611, allocations: 300.9 kB / 0.5722 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.6111, allocations: 66.55 kB / 0.5722 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.6112, allocations: 24.84 kB / 0.5723 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.6113, allocations: 3.938 kB / 0.5723 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.6114, allocations: 68.27 kB / 0.5723 GB, free: 7.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.6114, allocations: 0 / 0.5723 GB, free: 7.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005922/0.612, allocations: 181.1 kB / 0.5725 GB, free: 7.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6121, allocations: 55.41 kB / 0.5726 GB, free: 7.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.6123, allocations: 218.7 kB / 0.5728 GB, free: 7.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.6124, allocations: 25.7 kB / 0.5728 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.6124, allocations: 108.1 kB / 0.5729 GB, free: 6.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.6125, allocations: 27.64 kB / 0.5729 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.6125, allocations: 0 / 0.5729 GB, free: 6.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6126, allocations: 330.8 kB / 0.5732 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.6127, allocations: 23.98 kB / 0.5733 GB, free: 6.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.6128, allocations: 38.45 kB / 0.5733 GB, free: 6.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.6129, allocations: 61.64 kB / 0.5734 GB, free: 6.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6129, allocations: 0 / 0.5734 GB, free: 6.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.6131, allocations: 105.4 kB / 0.5735 GB, free: 6.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6132, allocations: 4 kB / 0.5735 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6132, allocations: 384 / 0.5735 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.6132, allocations: 3.984 kB / 0.5735 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.6133, allocations: 20.78 kB / 0.5735 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.6133, allocations: 4 kB / 0.5735 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.6134, allocations: 4 kB / 0.5735 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6134, allocations: 4 kB / 0.5735 GB, free: 6.254 MB / 394.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.0001127/0.6135, allocations: 132.3 kB / 0.5736 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.6135, allocations: 15.81 kB / 0.5736 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.6138, allocations: 127.1 kB / 0.5738 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6138, allocations: 4 kB / 0.5738 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.6138, allocations: 4 kB / 0.5738 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6139, allocations: 0 / 0.5738 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.6144, allocations: 423.2 kB / 0.5742 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6144, allocations: 0 / 0.5742 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.6144, allocations: 15.94 kB / 0.5742 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6144, allocations: 0 / 0.5742 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.6145, allocations: 0 / 0.5742 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.6145, allocations: 15.95 kB / 0.5742 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6145, allocations: 3.938 kB / 0.5742 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.6147, allocations: 212.4 kB / 0.5744 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.6148, allocations: 93 kB / 0.5745 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.6149, allocations: 4 kB / 0.5745 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.6149, allocations: 4 kB / 0.5745 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.615, allocations: 19.91 kB / 0.5745 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.615, allocations: 4 kB / 0.5745 GB, free: 5.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.6152, allocations: 174.4 kB / 0.5747 GB, free: 4.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6152, allocations: 0 / 0.5747 GB, free: 4.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.6155, allocations: 35.94 kB / 0.5747 GB, free: 4.887 MB / 394.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 (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.001065/0.6166, allocations: 474.2 kB / 0.5752 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.6168, allocations: 67.89 kB / 0.5753 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6168, allocations: 0 / 0.5753 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.6169, allocations: 35.92 kB / 0.5753 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.6173, allocations: 23.58 kB / 0.5753 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.6178, allocations: 318.6 kB / 0.5756 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.6182, allocations: 0.716 MB / 0.5763 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.6182, allocations: 15.44 kB / 0.5763 GB, free: 3.301 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6182, allocations: 0 / 0.5763 GB, free: 3.301 MB / 394.7 MB Notification: Performance of Templates: time 0.004539/0.6228, allocations: 2.013 MB / 0.5783 GB, free: 1.293 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches