Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 183 kB / 18.09 MB, free: 3.727 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.239/1.239, 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.0007446/0.0007447, allocations: 96.56 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.2896/0.2896, allocations: 44.15 MB / 388.5 MB, free: 38.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003466, allocations: 12 kB / 461.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.284, allocations: 61.88 MB / 0.5107 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3857, allocations: 89.37 MB / 0.598 GB, free: 5.707 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.386, allocations: 83.94 kB / 0.5981 GB, free: 5.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.4011, allocations: 5.94 MB / 0.6039 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4011, allocations: 0 / 0.6039 GB, free: 15.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.4012, allocations: 0 / 0.6039 GB, free: 15.69 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.0005605/0.4017, allocations: 438.9 kB / 0.6043 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4018, allocations: 12.03 kB / 0.6043 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.4018, allocations: 12.75 kB / 0.6043 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.4021, allocations: 222.5 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4022, allocations: 4.359 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.4022, allocations: 8.375 kB / 0.6046 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.4024, allocations: 66.16 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4024, allocations: 192 / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4024, allocations: 3.938 kB / 0.6046 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4024, allocations: 0 / 0.6046 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.624e-05/0.4025, allocations: 35.97 kB / 0.6047 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.4029, allocations: 300.9 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.4032, allocations: 70.42 kB / 0.605 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.4032, allocations: 20.97 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.4033, allocations: 8 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.4034, allocations: 63.39 kB / 0.6051 GB, free: 14.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.4035, allocations: 0 / 0.6051 GB, free: 14.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007405/0.4042, allocations: 249.3 kB / 0.6053 GB, free: 14.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.4043, allocations: 51.41 kB / 0.6054 GB, free: 13.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4045, allocations: 210.3 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.4045, allocations: 33.7 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.4046, allocations: 112 kB / 0.6057 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.4046, allocations: 31.55 kB / 0.6058 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4046, allocations: 0 / 0.6058 GB, free: 13.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4047, allocations: 334.8 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.4048, allocations: 31.92 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.4049, allocations: 42.2 kB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.405, allocations: 85.7 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.405, allocations: 3.938 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002177/0.4053, allocations: 133.4 kB / 0.6064 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4053, allocations: 4 kB / 0.6064 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4053, allocations: 0 / 0.6064 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4053, allocations: 0 / 0.6064 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.4054, allocations: 23.98 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4054, allocations: 0 / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.4055, allocations: 12.03 kB / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.4055, allocations: 7.938 kB / 0.6064 GB, free: 12.88 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 9.455e-05/0.4056, allocations: 136.3 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.4056, allocations: 15.89 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.4059, allocations: 147.8 kB / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4059, allocations: 0 / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4059, allocations: 0 / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4059, allocations: 7.938 kB / 0.6067 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.4065, allocations: 475.9 kB / 0.6072 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4065, allocations: 0 / 0.6072 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.4065, allocations: 19.92 kB / 0.6072 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4066, allocations: 4 kB / 0.6072 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.4066, allocations: 7.938 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4066, allocations: 4 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4066, allocations: 64 / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.4068, allocations: 237.3 kB / 0.6074 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.4069, allocations: 97 kB / 0.6075 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.407, allocations: 11.94 kB / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.407, allocations: 0 / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.4071, allocations: 15.98 kB / 0.6075 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.4071, allocations: 4 kB / 0.6075 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.4072, allocations: 155.2 kB / 0.6077 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4072, allocations: 3.938 kB / 0.6077 GB, free: 11.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.4076, allocations: 51.83 kB / 0.6077 GB, free: 11.39 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.0011/0.4087, allocations: 0.5199 MB / 0.6082 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4089, allocations: 95.83 kB / 0.6083 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4089, allocations: 0 / 0.6083 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.409, allocations: 43.86 kB / 0.6084 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4093, allocations: 30.95 kB / 0.6084 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.4099, allocations: 307.9 kB / 0.6087 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.4102, allocations: 0.7082 MB / 0.6094 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.4102, allocations: 20.64 kB / 0.6094 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.4103, allocations: 27.42 kB / 0.6094 GB, free: 9.801 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4103, allocations: 0 / 0.6094 GB, free: 9.801 MB / 426.7 MB Notification: Performance of Templates: time 0.004674/0.415, allocations: 1.981 MB / 0.6114 GB, free: 7.84 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches