Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002228/0.002228, 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.167/2.167, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001085/0.001085, allocations: 88.88 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.3062/0.3062, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.34e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4082, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5711, allocations: 86.97 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.5715, allocations: 71.97 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.5965, allocations: 5.372 MB / 0.5562 GB, free: 6.898 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5966, allocations: 3.828 kB / 0.5562 GB, free: 6.898 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.5966, allocations: 0 / 0.5562 GB, free: 6.898 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.0006268/0.5972, allocations: 398.2 kB / 0.5565 GB, free: 6.465 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.5973, allocations: 16.02 kB / 0.5566 GB, free: 6.449 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.5974, allocations: 15.81 kB / 0.5566 GB, free: 6.434 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.5978, allocations: 215.5 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.5978, allocations: 3.984 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.5979, allocations: 4 kB / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.742e-05/0.598, allocations: 16 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.5981, allocations: 53.61 kB / 0.5568 GB, free: 6.098 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5981, allocations: 4 kB / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5982, allocations: 0 / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5982, allocations: 0 / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.5987, allocations: 269.5 kB / 0.5571 GB, free: 5.793 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.5988, allocations: 46.69 kB / 0.5572 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.5989, allocations: 16.98 kB / 0.5572 GB, free: 5.719 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.5989, allocations: 4 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.5991, allocations: 71.33 kB / 0.5572 GB, free: 5.633 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.5991, allocations: 3.938 kB / 0.5572 GB, free: 5.629 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006433/0.5998, allocations: 149.2 kB / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5998, allocations: 51.41 kB / 0.5574 GB, free: 5.414 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.6001, allocations: 186.3 kB / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.6002, allocations: 25.7 kB / 0.5576 GB, free: 5.188 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.6003, allocations: 166.6 kB / 0.5578 GB, free: 5.023 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.6003, allocations: 27.64 kB / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.6004, allocations: 0 / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6005, allocations: 314.8 kB / 0.5581 GB, free: 4.68 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.6006, allocations: 20 kB / 0.5581 GB, free: 4.66 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.6007, allocations: 33.7 kB / 0.5582 GB, free: 4.621 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.6007, allocations: 16 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6008, allocations: 0 / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002239/0.601, allocations: 89.59 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.601, allocations: 4 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.601, allocations: 8.031 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6011, allocations: 0 / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.6012, allocations: 15.98 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6013, allocations: 0 / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.6014, allocations: 4 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.6014, allocations: 11.95 kB / 0.5583 GB, free: 4.469 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 9.765e-05/0.6015, allocations: 101 kB / 0.5584 GB, free: 4.363 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.6015, allocations: 15.81 kB / 0.5584 GB, free: 4.348 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.6019, allocations: 115.6 kB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6019, allocations: 0 / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6019, allocations: 0 / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.6019, allocations: 0 / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.6026, allocations: 387.8 kB / 0.5589 GB, free: 3.805 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6026, allocations: 0 / 0.5589 GB, free: 3.805 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.532e-05/0.6027, allocations: 8.188 kB / 0.5589 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.6027, allocations: 7.938 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.6028, allocations: 7.984 kB / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6028, allocations: 4.031 kB / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6028, allocations: 3.984 kB / 0.5589 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.6031, allocations: 222 kB / 0.5591 GB, free: 3.531 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.6033, allocations: 89.02 kB / 0.5592 GB, free: 3.426 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.6033, allocations: 7.922 kB / 0.5592 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.6035, allocations: 8 kB / 0.5592 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.6035, allocations: 11.95 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.6036, allocations: 7.984 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.6038, allocations: 140.9 kB / 0.5594 GB, free: 3.254 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6038, allocations: 0 / 0.5594 GB, free: 3.254 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.6042, allocations: 31.94 kB / 0.5594 GB, free: 3.223 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.001187/0.6054, allocations: 382.6 kB / 0.5598 GB, free: 2.887 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.6057, allocations: 59.86 kB / 0.5599 GB, free: 2.828 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6057, allocations: 4 kB / 0.5599 GB, free: 2.824 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.6058, allocations: 28 kB / 0.5599 GB, free: 2.797 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.6062, allocations: 23.84 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.6068, allocations: 195.8 kB / 0.5601 GB, free: 2.555 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6072, allocations: 0.708 MB / 0.5608 GB, free: 1.82 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.6072, allocations: 19.42 kB / 0.5608 GB, free: 1.801 MB / 395.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6073, allocations: 4.062 kB / 0.5608 GB, free: 1.797 MB / 395.1 MB Notification: Performance of Templates: time 0.005967/0.6132, allocations: 1.961 MB / 0.5627 GB, free: 15.84 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches