Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002253/0.002253, allocations: 181.1 kB / 16.4 MB, free: 5.723 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.037/2.037, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001125/0.001125, allocations: 88.42 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.5065/0.5065, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006674/0.0006673, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1241, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.6291, allocations: 87.82 MB / 0.5645 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.6295, allocations: 75.95 kB / 0.5646 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04457/0.674, allocations: 7.526 MB / 0.5719 GB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6741, allocations: 0 / 0.5719 GB, free: 7.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.062e-05/0.6742, allocations: 11.36 kB / 0.5719 GB, free: 7.316 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001327/0.6755, allocations: 0.5049 MB / 0.5724 GB, free: 6.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.6756, allocations: 12.56 kB / 0.5724 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.6757, allocations: 23.16 kB / 0.5725 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009025/0.6767, allocations: 282.5 kB / 0.5727 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.6767, allocations: 0 / 0.5727 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.6768, allocations: 4 kB / 0.5727 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.6773, allocations: 111.2 kB / 0.5728 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.6773, allocations: 3.984 kB / 0.5728 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.6774, allocations: 0 / 0.5728 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.6774, allocations: 5.031 kB / 0.5728 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.6777, allocations: 35.97 kB / 0.5729 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.6789, allocations: 472.8 kB / 0.5733 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.6796, allocations: 121.4 kB / 0.5734 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.6796, allocations: 0 / 0.5734 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.6801, allocations: 113.2 kB / 0.5735 GB, free: 5.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.416e-06/0.6802, allocations: 0 / 0.5735 GB, free: 5.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002144/0.6823, allocations: 372 kB / 0.5739 GB, free: 5.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.6824, allocations: 77.11 kB / 0.574 GB, free: 5.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.6834, allocations: 322 kB / 0.5743 GB, free: 4.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.6834, allocations: 33.7 kB / 0.5743 GB, free: 4.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.6836, allocations: 186.8 kB / 0.5745 GB, free: 4.465 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6838, allocations: 51.34 kB / 0.5745 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.6838, allocations: 0 / 0.5745 GB, free: 4.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.684, allocations: 318.8 kB / 0.5748 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.6844, allocations: 43.97 kB / 0.5749 GB, free: 4.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.6847, allocations: 80.72 kB / 0.575 GB, free: 3.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.685, allocations: 43.98 kB / 0.575 GB, free: 3.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6851, allocations: 0 / 0.575 GB, free: 3.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008495/0.6859, allocations: 165.6 kB / 0.5752 GB, free: 3.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.686, allocations: 11.94 kB / 0.5752 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.686, allocations: 0 / 0.5752 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.686, allocations: 0 / 0.5752 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.6864, allocations: 39.92 kB / 0.5752 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6865, allocations: 0 / 0.5752 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.6867, allocations: 8 kB / 0.5752 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.6868, allocations: 12.73 kB / 0.5752 GB, free: 3.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0003337/0.6872, allocations: 153.8 kB / 0.5754 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6873, allocations: 35.58 kB / 0.5754 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.6884, allocations: 219.4 kB / 0.5756 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6884, allocations: 7.984 kB / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6885, allocations: 0 / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.6885, allocations: 0 / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.6899, allocations: 0.6632 MB / 0.5763 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6899, allocations: 0 / 0.5763 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.6901, allocations: 27.92 kB / 0.5763 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.6901, allocations: 0 / 0.5763 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.6901, allocations: 8.75 kB / 0.5763 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6901, allocations: 0 / 0.5763 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6902, allocations: 4 kB / 0.5763 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.6908, allocations: 414.8 kB / 0.5767 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.691, allocations: 112.8 kB / 0.5768 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.6911, allocations: 8 kB / 0.5768 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.6913, allocations: 15.98 kB / 0.5768 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.6914, allocations: 15.94 kB / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.6914, allocations: 12 kB / 0.5769 GB, free: 1.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004508/0.6919, allocations: 261.9 kB / 0.5771 GB, free: 1.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6919, allocations: 0 / 0.5771 GB, free: 1.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005077/0.6924, allocations: 52 kB / 0.5772 GB, free: 1.555 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00144/0.6939, allocations: 491.5 kB / 0.5776 GB, free: 1.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.6944, allocations: 123.9 kB / 0.5778 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6944, allocations: 0 / 0.5778 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.6947, allocations: 72.44 kB / 0.5778 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.6953, allocations: 49.56 kB / 0.5779 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.6965, allocations: 0.5209 MB / 0.5784 GB, free: 384 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.697, allocations: 0.7634 MB / 0.5791 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.6972, allocations: 23.44 kB / 0.5792 GB, free: 15.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6972, allocations: 0 / 0.5792 GB, free: 15.56 MB / 410.7 MB Notification: Performance of Templates: time 0.008484/0.7057, allocations: 3.21 MB / 0.5823 GB, free: 12.36 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches