Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009946/0.0009945, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.3 MB / 242.1 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007331/0.000733, allocations: 100 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2773/0.2773, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003358, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 61.88 MB / 0.5107 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09844/0.3575, allocations: 89.27 MB / 0.5979 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3577, allocations: 83.94 kB / 0.598 GB, free: 5.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.3721, allocations: 5.429 MB / 0.6033 GB, free: 280 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3721, allocations: 0 / 0.6033 GB, free: 280 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3721, allocations: 8 kB / 0.6033 GB, free: 272 kB / 410.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.0004445/0.3726, allocations: 415 kB / 0.6037 GB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.3726, allocations: 8.031 kB / 0.6037 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3727, allocations: 12.84 kB / 0.6037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3729, allocations: 216 kB / 0.6039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3729, allocations: 8.375 kB / 0.6039 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.373, allocations: 8.359 kB / 0.6039 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3731, allocations: 58.23 kB / 0.604 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3731, allocations: 4.172 kB / 0.604 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3731, allocations: 3.938 kB / 0.604 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.3731, allocations: 4 kB / 0.604 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.3732, allocations: 15.98 kB / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.3735, allocations: 284.9 kB / 0.6043 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.3737, allocations: 66.61 kB / 0.6044 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.3738, allocations: 24.84 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.3738, allocations: 3.984 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.3739, allocations: 71.33 kB / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.3739, allocations: 0 / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005003/0.3744, allocations: 173.2 kB / 0.6046 GB, free: 14.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.3745, allocations: 59.34 kB / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3746, allocations: 177.9 kB / 0.6048 GB, free: 14.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3747, allocations: 33.7 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.3747, allocations: 96.14 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3747, allocations: 27.64 kB / 0.605 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.3748, allocations: 0 / 0.605 GB, free: 14.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3749, allocations: 326.8 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.3749, allocations: 19.98 kB / 0.6053 GB, free: 13.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.375, allocations: 41.7 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.3751, allocations: 57.84 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3751, allocations: 0 / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.3753, allocations: 105.5 kB / 0.6055 GB, free: 13.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3753, allocations: 5.562 kB / 0.6055 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3754, allocations: 0 / 0.6055 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3754, allocations: 8.031 kB / 0.6055 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.3755, allocations: 19.92 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3755, allocations: 0 / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.3755, allocations: 8 kB / 0.6056 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3756, allocations: 7.938 kB / 0.6056 GB, free: 13.71 MB / 426.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 9.443e-05/0.3757, allocations: 129.7 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.3757, allocations: 7.906 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.3759, allocations: 118.3 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3759, allocations: 4 kB / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3759, allocations: 0 / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.376, allocations: 0 / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.3764, allocations: 411.6 kB / 0.6062 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3764, allocations: 0 / 0.6062 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.3764, allocations: 15.98 kB / 0.6062 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3765, allocations: 0 / 0.6062 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3765, allocations: 4 kB / 0.6062 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3765, allocations: 4.031 kB / 0.6062 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.3765, allocations: 7.875 kB / 0.6062 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.3767, allocations: 216.4 kB / 0.6064 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.3768, allocations: 89 kB / 0.6065 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3768, allocations: 8 kB / 0.6065 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.3769, allocations: 3.938 kB / 0.6065 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3769, allocations: 15.92 kB / 0.6066 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3769, allocations: 4 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.628e-05/0.377, allocations: 131.2 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.377, allocations: 4 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.3773, allocations: 24 kB / 0.6067 GB, free: 12.43 MB / 426.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.0009038/0.3782, allocations: 488.4 kB / 0.6072 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.3784, allocations: 59.91 kB / 0.6072 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3784, allocations: 4 kB / 0.6072 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.3785, allocations: 27.92 kB / 0.6073 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3788, allocations: 30.8 kB / 0.6073 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.3792, allocations: 234.4 kB / 0.6075 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3795, allocations: 0.7043 MB / 0.6082 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.3795, allocations: 12.56 kB / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.3796, allocations: 23.42 kB / 0.6082 GB, free: 10.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3796, allocations: 0 / 0.6082 GB, free: 10.98 MB / 426.7 MB Notification: Performance of Templates: time 0.003916/0.3835, allocations: 1.679 MB / 0.6099 GB, free: 9.324 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches