Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 183.3 kB / 18.09 MB, free: 3.625 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.367/1.367, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007447/0.0007447, allocations: 100.8 kB / 293.3 MB, free: 10.75 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.3629/0.3629, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004041, allocations: 16 kB / 461.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.388, allocations: 61.89 MB / 0.5107 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.511, allocations: 89.37 MB / 0.598 GB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.5113, allocations: 79.94 kB / 0.5981 GB, free: 5.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01595/0.5273, allocations: 6.248 MB / 0.6042 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.5273, allocations: 0 / 0.6042 GB, free: 15.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.5273, allocations: 7.938 kB / 0.6042 GB, free: 15.34 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005667/0.5279, allocations: 431 kB / 0.6046 GB, free: 14.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.528, allocations: 8.031 kB / 0.6046 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.528, allocations: 12.75 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.5283, allocations: 229.5 kB / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.5283, allocations: 4.312 kB / 0.6048 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.5284, allocations: 12.28 kB / 0.6049 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.5286, allocations: 82.16 kB / 0.6049 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5286, allocations: 4.172 kB / 0.6049 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.5286, allocations: 7.922 kB / 0.6049 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5286, allocations: 0 / 0.6049 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.5287, allocations: 51.95 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.5292, allocations: 332.7 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.5295, allocations: 98.47 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.5296, allocations: 32.84 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.5296, allocations: 0 / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.5298, allocations: 87.69 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.5298, allocations: 0 / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008491/0.5307, allocations: 305.1 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5307, allocations: 56.25 kB / 0.6059 GB, free: 13.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.5309, allocations: 195.3 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.531, allocations: 33.7 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.531, allocations: 112.2 kB / 0.6062 GB, free: 13.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.5311, allocations: 43.45 kB / 0.6062 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.5311, allocations: 0 / 0.6062 GB, free: 13.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5312, allocations: 334.8 kB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.5313, allocations: 35.98 kB / 0.6066 GB, free: 12.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.5314, allocations: 59.66 kB / 0.6066 GB, free: 12.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.5316, allocations: 116.5 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5316, allocations: 0 / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002513/0.5319, allocations: 153.6 kB / 0.6069 GB, free: 12.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5319, allocations: 12.03 kB / 0.6069 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5319, allocations: 0 / 0.6069 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5319, allocations: 0 / 0.6069 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.532, allocations: 27.92 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.532, allocations: 4 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.5321, allocations: 3.984 kB / 0.6069 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.5321, allocations: 4 kB / 0.607 GB, free: 12.28 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 (15): * Single equations (assignments): 15 * 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.401e-05/0.5322, allocations: 134.3 kB / 0.6071 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.5322, allocations: 19.8 kB / 0.6071 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.5326, allocations: 195 kB / 0.6073 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5326, allocations: 4 kB / 0.6073 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5326, allocations: 0 / 0.6073 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5326, allocations: 0 / 0.6073 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.5332, allocations: 0.5116 MB / 0.6078 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5332, allocations: 4.062 kB / 0.6078 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-05/0.5333, allocations: 27.94 kB / 0.6078 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5333, allocations: 3.984 kB / 0.6078 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5333, allocations: 7.938 kB / 0.6078 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5333, allocations: 0 / 0.6078 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5333, allocations: 0 / 0.6078 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.5336, allocations: 282.7 kB / 0.6081 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.5337, allocations: 96.92 kB / 0.6082 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.5338, allocations: 11.88 kB / 0.6082 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.5339, allocations: 11.98 kB / 0.6082 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.5339, allocations: 11.98 kB / 0.6082 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.5339, allocations: 8 kB / 0.6082 GB, free: 10.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.5341, allocations: 144.9 kB / 0.6084 GB, free: 10.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5341, allocations: 0 / 0.6084 GB, free: 10.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.5345, allocations: 47.92 kB / 0.6084 GB, free: 10.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001265/0.5358, allocations: 0.5126 MB / 0.6089 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.5361, allocations: 107.9 kB / 0.609 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5361, allocations: 0 / 0.609 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.5362, allocations: 63.91 kB / 0.6091 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.5366, allocations: 32.11 kB / 0.6091 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.5372, allocations: 323.6 kB / 0.6094 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.5375, allocations: 0.7126 MB / 0.6101 GB, free: 9.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.685e-05/0.5376, allocations: 33.33 kB / 0.6102 GB, free: 9.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.5377, allocations: 27.42 kB / 0.6102 GB, free: 9.012 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5377, allocations: 0 / 0.6102 GB, free: 9.012 MB / 426.7 MB Notification: Performance of Templates: time 0.005507/0.5432, allocations: 2.168 MB / 0.6123 GB, free: 6.871 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches