Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 177 kB / 17.06 MB, free: 5.094 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.214/1.214, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008543/0.0008543, allocations: 106.9 kB / 292.2 MB, free: 10.91 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.3715/0.3715, allocations: 44.22 MB / 387.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.000305, allocations: 12 kB / 459.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3124, allocations: 61.9 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.425, allocations: 89.36 MB / 0.5968 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4254, allocations: 79.94 kB / 0.5969 GB, free: 5.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.4408, allocations: 6.068 MB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4409, allocations: 0 / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4409, allocations: 0 / 0.6028 GB, free: 15.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00048/0.4414, allocations: 454.5 kB / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4414, allocations: 8.562 kB / 0.6033 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.4415, allocations: 15.81 kB / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.4418, allocations: 219.6 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.4418, allocations: 3.953 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.4418, allocations: 11.91 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.442, allocations: 65.59 kB / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.442, allocations: 0 / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.442, allocations: 3.938 kB / 0.6036 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4421, allocations: 0 / 0.6036 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.4421, allocations: 31.97 kB / 0.6036 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.4426, allocations: 312.8 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.4428, allocations: 66.48 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.4428, allocations: 0 / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.443, allocations: 75.5 kB / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.443, allocations: 0 / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007304/0.4437, allocations: 249.2 kB / 0.6043 GB, free: 14.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4438, allocations: 51.41 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.444, allocations: 214.8 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.444, allocations: 29.7 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.4441, allocations: 108.1 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.4441, allocations: 39.55 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4441, allocations: 0 / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.4442, allocations: 338.8 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.4443, allocations: 27.92 kB / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.4444, allocations: 47.58 kB / 0.6051 GB, free: 13.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.989e-05/0.4445, allocations: 36.09 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4445, allocations: 0 / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002139/0.4447, allocations: 145.3 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4447, allocations: 4 kB / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4447, allocations: 0 / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.4447, allocations: 0 / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.4448, allocations: 27.98 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4448, allocations: 0 / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.4449, allocations: 4 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4449, allocations: 4 kB / 0.6053 GB, free: 12.91 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 (13): * Single equations (assignments): 13 * 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.0001015/0.445, allocations: 137.8 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.4451, allocations: 15.81 kB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.4454, allocations: 159.6 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4454, allocations: 4 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4454, allocations: 0 / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4454, allocations: 0 / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.4459, allocations: 491.8 kB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4459, allocations: 4 kB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.446, allocations: 16.09 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.446, allocations: 3.938 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.446, allocations: 11.98 kB / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.446, allocations: 0 / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.4461, allocations: 11.89 kB / 0.6061 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4463, allocations: 256.5 kB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.4464, allocations: 96.92 kB / 0.6065 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.4465, allocations: 7.953 kB / 0.6065 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.4465, allocations: 7.984 kB / 0.6065 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.4466, allocations: 11.98 kB / 0.6065 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4466, allocations: 8 kB / 0.6065 GB, free: 11.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.4468, allocations: 180.3 kB / 0.6067 GB, free: 11.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4468, allocations: 0 / 0.6067 GB, free: 11.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.447, allocations: 55.86 kB / 0.6067 GB, free: 11.33 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 (12): * Single equations (assignments): 10 * 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.001073/0.4481, allocations: 0.5172 MB / 0.6072 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.4483, allocations: 87.78 kB / 0.6073 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4483, allocations: 8.062 kB / 0.6073 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.4484, allocations: 39.92 kB / 0.6074 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.4487, allocations: 28.16 kB / 0.6074 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.4492, allocations: 331.8 kB / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.4495, allocations: 0.7238 MB / 0.6084 GB, free: 9.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.4496, allocations: 28.61 kB / 0.6084 GB, free: 9.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.4496, allocations: 19.44 kB / 0.6085 GB, free: 9.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4496, allocations: 0 / 0.6085 GB, free: 9.703 MB / 426.7 MB Notification: Performance of Templates: time 0.004276/0.4539, allocations: 2.007 MB / 0.6104 GB, free: 7.715 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches