Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 177 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.3 MB / 213.7 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008993/0.0008992, allocations: 86.28 kB / 261.7 MB, free: 1.633 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.2154/0.2154, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.036e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1393, allocations: 58.87 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5608, allocations: 87.06 MB / 0.551 GB, free: 7.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.561, allocations: 79.89 kB / 0.551 GB, free: 7.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.5789, allocations: 7.763 MB / 0.5586 GB, free: 1.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5789, allocations: 0 / 0.5586 GB, free: 1.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.579, allocations: 4 kB / 0.5586 GB, free: 1.637 MB / 362.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.0006/0.5796, allocations: 0.4968 MB / 0.5591 GB, free: 1.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5796, allocations: 12.03 kB / 0.5591 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.5797, allocations: 31.58 kB / 0.5592 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.5802, allocations: 299 kB / 0.5594 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.5802, allocations: 4 kB / 0.5594 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.5803, allocations: 4.75 kB / 0.5594 GB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.5804, allocations: 35.11 kB / 0.5595 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5805, allocations: 90.92 kB / 0.5596 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5805, allocations: 0 / 0.5596 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5806, allocations: 3.984 kB / 0.5596 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5806, allocations: 7.953 kB / 0.5596 GB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.5812, allocations: 455.1 kB / 0.56 GB, free: 196 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.5814, allocations: 100.4 kB / 0.5601 GB, free: 96 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.5815, allocations: 49.22 kB / 0.5602 GB, free: 52 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.5815, allocations: 4 kB / 0.5602 GB, free: 48 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.5817, allocations: 108.3 kB / 0.5603 GB, free: 15.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.5818, allocations: 4 kB / 0.5603 GB, free: 15.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008179/0.5826, allocations: 324.6 kB / 0.5606 GB, free: 15.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5827, allocations: 77.11 kB / 0.5607 GB, free: 15.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.5832, allocations: 415.2 kB / 0.561 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.5832, allocations: 31.83 kB / 0.5611 GB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.5833, allocations: 158.1 kB / 0.5612 GB, free: 15.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.5834, allocations: 53.73 kB / 0.5613 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.5834, allocations: 0 / 0.5613 GB, free: 15.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5836, allocations: 345.2 kB / 0.5616 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.5836, allocations: 32.19 kB / 0.5616 GB, free: 14.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.5837, allocations: 64.05 kB / 0.5617 GB, free: 14.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.5838, allocations: 40.92 kB / 0.5617 GB, free: 14.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5839, allocations: 4 kB / 0.5617 GB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003008/0.5842, allocations: 170.1 kB / 0.5619 GB, free: 14.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5842, allocations: 8 kB / 0.5619 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5842, allocations: 0 / 0.5619 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5842, allocations: 4 kB / 0.5619 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.5844, allocations: 31.92 kB / 0.5619 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5844, allocations: 4 kB / 0.562 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.5845, allocations: 7.906 kB / 0.562 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.5846, allocations: 11.38 kB / 0.562 GB, free: 14.4 MB / 378.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 () * 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.0001096/0.5847, allocations: 112.9 kB / 0.5621 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.5847, allocations: 35.58 kB / 0.5621 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.5851, allocations: 205.3 kB / 0.5623 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5851, allocations: 4 kB / 0.5623 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5851, allocations: 0 / 0.5623 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5851, allocations: 0 / 0.5623 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007996/0.5859, allocations: 0.655 MB / 0.563 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.586, allocations: 4 kB / 0.563 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.586, allocations: 23.88 kB / 0.563 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.5861, allocations: 0 / 0.563 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.5861, allocations: 11.92 kB / 0.563 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5861, allocations: 4 kB / 0.563 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5861, allocations: 0 / 0.563 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.5865, allocations: 403.8 kB / 0.5634 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.5867, allocations: 123.5 kB / 0.5635 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.5867, allocations: 8.375 kB / 0.5635 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.5869, allocations: 15.11 kB / 0.5635 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.5869, allocations: 19.94 kB / 0.5635 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.587, allocations: 10.88 kB / 0.5635 GB, free: 12.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003349/0.5873, allocations: 332.2 kB / 0.5639 GB, free: 12.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5873, allocations: 0 / 0.5639 GB, free: 12.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.5877, allocations: 55.92 kB / 0.5639 GB, free: 12.54 MB / 378.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) * 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.0009697/0.5887, allocations: 400 kB / 0.5643 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.5889, allocations: 106 kB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5889, allocations: 0 / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.589, allocations: 57.73 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.5895, allocations: 51.97 kB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008112/0.5903, allocations: 448 kB / 0.5649 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.5907, allocations: 0.7779 MB / 0.5657 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.5908, allocations: 45.41 kB / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.5909, allocations: 27.42 kB / 0.5658 GB, free: 10.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.765e-06/0.5909, allocations: 3.938 kB / 0.5658 GB, free: 10.75 MB / 378.7 MB Notification: Performance of Templates: time 0.006451/0.5974, allocations: 2.839 MB / 0.5685 GB, free: 7.945 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches