Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 177.5 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.292/1.292, allocations: 223.2 MB / 241 MB, free: 10.13 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.0009037/0.0009038, allocations: 95.06 kB / 292.2 MB, free: 10.68 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.3554/0.3554, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004093, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4282, allocations: 61.9 MB / 0.5096 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.5612, allocations: 89.29 MB / 0.5968 GB, free: 5.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5615, allocations: 83.94 kB / 0.5968 GB, free: 5.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.5764, allocations: 5.718 MB / 0.6024 GB, free: 32 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5764, allocations: 0 / 0.6024 GB, free: 32 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.5764, allocations: 11.94 kB / 0.6024 GB, free: 20 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.0005379/0.577, allocations: 414.9 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.577, allocations: 8.031 kB / 0.6028 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.5771, allocations: 15.81 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.5774, allocations: 221 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5774, allocations: 3.953 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.5775, allocations: 4 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5776, allocations: 57.61 kB / 0.6031 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5776, allocations: 0 / 0.6031 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5777, allocations: 0 / 0.6031 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.5777, allocations: 7.984 kB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.5778, allocations: 19.98 kB / 0.6032 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.5782, allocations: 304.8 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.5784, allocations: 62.61 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.5784, allocations: 4 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.5785, allocations: 63.52 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5786, allocations: 4 kB / 0.6036 GB, free: 14.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006128/0.5792, allocations: 181.1 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.5792, allocations: 51.41 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.5794, allocations: 193.5 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5795, allocations: 29.7 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.5795, allocations: 104.1 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5796, allocations: 23.7 kB / 0.6041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.5796, allocations: 0 / 0.6041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5797, allocations: 331 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.5798, allocations: 20 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.5798, allocations: 41.62 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.5799, allocations: 20 kB / 0.6045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5799, allocations: 0 / 0.6045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.5801, allocations: 109.7 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5801, allocations: 4 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5801, allocations: 12.34 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5802, allocations: 0 / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.5803, allocations: 15.94 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5803, allocations: 0 / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.5803, allocations: 15.98 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.5803, allocations: 4 kB / 0.6047 GB, free: 13.5 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.0001156/0.5805, allocations: 130.3 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.5805, allocations: 15.8 kB / 0.6048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.5808, allocations: 130.9 kB / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5808, allocations: 4 kB / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5808, allocations: 0 / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5808, allocations: 0 / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.5813, allocations: 419.2 kB / 0.6053 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5813, allocations: 0 / 0.6053 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.5813, allocations: 8 kB / 0.6053 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.5814, allocations: 4 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.5814, allocations: 7.969 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5814, allocations: 0 / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5814, allocations: 0 / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.5816, allocations: 233.8 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.5817, allocations: 89.02 kB / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.5818, allocations: 11.98 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.5818, allocations: 4 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.5819, allocations: 7.984 kB / 0.6057 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.5819, allocations: 7.953 kB / 0.6057 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.582, allocations: 155.2 kB / 0.6058 GB, free: 12.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.582, allocations: 0 / 0.6058 GB, free: 12.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000252/0.5823, allocations: 35.98 kB / 0.6059 GB, free: 12.14 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.001117/0.5834, allocations: 484.9 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.5836, allocations: 63.91 kB / 0.6064 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5836, allocations: 0 / 0.6064 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.5837, allocations: 27.94 kB / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.584, allocations: 32.09 kB / 0.6065 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.5845, allocations: 266.4 kB / 0.6067 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.5849, allocations: 0.7082 MB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.5849, allocations: 24.53 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.585, allocations: 15.44 kB / 0.6074 GB, free: 10.66 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.585, allocations: 0 / 0.6074 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Templates: time 0.00446/0.5894, allocations: 1.741 MB / 0.6091 GB, free: 8.938 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches