Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009611/0.000961, allocations: 179 kB / 18.09 MB, free: 3.621 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.249/1.249, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0007384/0.0007384, allocations: 100.6 kB / 293.3 MB, free: 10.76 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.3043/0.3043, allocations: 44.15 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 12 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3064, allocations: 61.89 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.4138, allocations: 89.32 MB / 0.598 GB, free: 5.727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4141, allocations: 79.94 kB / 0.598 GB, free: 5.652 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.4286, allocations: 5.593 MB / 0.6035 GB, free: 56 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.4287, allocations: 0 / 0.6035 GB, free: 56 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4287, allocations: 7.938 kB / 0.6035 GB, free: 48 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.000499/0.4292, allocations: 415 kB / 0.6039 GB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4292, allocations: 12.03 kB / 0.6039 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.4293, allocations: 12.83 kB / 0.6039 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.4296, allocations: 221 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4296, allocations: 384 / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4296, allocations: 4.375 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.4298, allocations: 54.23 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4298, allocations: 192 / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4298, allocations: 7.938 kB / 0.6042 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4298, allocations: 0 / 0.6042 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.4299, allocations: 23.92 kB / 0.6042 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.4303, allocations: 292.9 kB / 0.6045 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.4304, allocations: 62.61 kB / 0.6046 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.4305, allocations: 24.86 kB / 0.6046 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.4305, allocations: 3.938 kB / 0.6046 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.4307, allocations: 71.38 kB / 0.6047 GB, free: 14.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.4307, allocations: 0 / 0.6047 GB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005276/0.4312, allocations: 173.2 kB / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4313, allocations: 51.41 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.4314, allocations: 192 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4315, allocations: 25.7 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.4315, allocations: 100.1 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4316, allocations: 27.64 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.4316, allocations: 3.938 kB / 0.6052 GB, free: 14.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4317, allocations: 331 kB / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.4318, allocations: 15.98 kB / 0.6055 GB, free: 13.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.4319, allocations: 37.7 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.432, allocations: 65.64 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.432, allocations: 0 / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.4322, allocations: 109.4 kB / 0.6057 GB, free: 13.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4322, allocations: 4 kB / 0.6057 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4323, allocations: 4 kB / 0.6057 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4323, allocations: 3.984 kB / 0.6058 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.4324, allocations: 12 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4324, allocations: 4.031 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.4324, allocations: 4 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.4324, allocations: 4 kB / 0.6058 GB, free: 13.49 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 0.0001032/0.4326, allocations: 131.9 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.4326, allocations: 11.84 kB / 0.6059 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.4328, allocations: 118.3 kB / 0.606 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4328, allocations: 7.984 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4329, allocations: 0 / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4329, allocations: 7.984 kB / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.4333, allocations: 411.2 kB / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4333, allocations: 0 / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.4334, allocations: 11.94 kB / 0.6064 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4334, allocations: 0 / 0.6064 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4334, allocations: 4 kB / 0.6064 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4334, allocations: 384 / 0.6064 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4334, allocations: 7.922 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.4337, allocations: 224.6 kB / 0.6067 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.4337, allocations: 93 kB / 0.6068 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.4338, allocations: 4 kB / 0.6068 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.4338, allocations: 8 kB / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.4339, allocations: 11.92 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.4339, allocations: 4 kB / 0.6068 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.434, allocations: 148 kB / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.434, allocations: 0 / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.4343, allocations: 31.94 kB / 0.607 GB, free: 12.17 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.0009493/0.4352, allocations: 476.2 kB / 0.6074 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.4354, allocations: 63.91 kB / 0.6075 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4354, allocations: 0 / 0.6075 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.4355, allocations: 35.92 kB / 0.6075 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4359, allocations: 23.98 kB / 0.6075 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.4363, allocations: 250.4 kB / 0.6078 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.4366, allocations: 0.7004 MB / 0.6084 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.4367, allocations: 20.55 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.4367, allocations: 15.44 kB / 0.6085 GB, free: 10.72 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4367, allocations: 4 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of Templates: time 0.004012/0.4407, allocations: 1.704 MB / 0.6102 GB, free: 9.031 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches