Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 179.8 kB / 14.15 MB, free: 1.176 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.238/1.238, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009106, allocations: 95.78 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1734/0.1734, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.757e-05, allocations: 4.219 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4571, allocations: 89.04 MB / 0.5887 GB, free: 260 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4574, allocations: 75.95 kB / 0.5887 GB, free: 184 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.4722, allocations: 5.724 MB / 0.5943 GB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4723, allocations: 0 / 0.5943 GB, free: 10.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4723, allocations: 4 kB / 0.5943 GB, free: 10.47 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004296/0.4727, allocations: 410.2 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4728, allocations: 8.031 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.4728, allocations: 15.81 kB / 0.5947 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.4731, allocations: 218.5 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4732, allocations: 4 kB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4732, allocations: 3.953 kB / 0.595 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.4733, allocations: 45.62 kB / 0.595 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.4733, allocations: 4 kB / 0.595 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4733, allocations: 7.984 kB / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.4733, allocations: 0 / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.4734, allocations: 15.94 kB / 0.595 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.4736, allocations: 193.7 kB / 0.5952 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.4737, allocations: 50.62 kB / 0.5953 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.4737, allocations: 16.86 kB / 0.5953 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4738, allocations: 3.984 kB / 0.5953 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.4739, allocations: 79.34 kB / 0.5954 GB, free: 9.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4739, allocations: 0 / 0.5954 GB, free: 9.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001847/0.4741, allocations: 85.48 kB / 0.5954 GB, free: 9.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.4741, allocations: 51.41 kB / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4744, allocations: 237.8 kB / 0.5957 GB, free: 8.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.4744, allocations: 25.7 kB / 0.5957 GB, free: 8.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.4745, allocations: 112.1 kB / 0.5958 GB, free: 8.707 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4745, allocations: 15.81 kB / 0.5959 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.4745, allocations: 4 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4746, allocations: 322.8 kB / 0.5962 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.4747, allocations: 12 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.4747, allocations: 33.69 kB / 0.5962 GB, free: 8.312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.4748, allocations: 19.94 kB / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4748, allocations: 0 / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.4749, allocations: 77.59 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4749, allocations: 15.94 kB / 0.5963 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.4749, allocations: 0 / 0.5963 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4749, allocations: 0 / 0.5963 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.475, allocations: 11.94 kB / 0.5963 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.475, allocations: 4 kB / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.4751, allocations: 7.844 kB / 0.5963 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4751, allocations: 4 kB / 0.5964 GB, free: 8.168 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.479e-05/0.4752, allocations: 113 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.4752, allocations: 11.94 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.4754, allocations: 98.75 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4754, allocations: 7.984 kB / 0.5966 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4754, allocations: 3.938 kB / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4754, allocations: 0 / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.4756, allocations: 205.5 kB / 0.5968 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4756, allocations: 3.984 kB / 0.5968 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.4756, allocations: 4 kB / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4756, allocations: 0 / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.4756, allocations: 0 / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4756, allocations: 11.89 kB / 0.5968 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4757, allocations: 4 kB / 0.5968 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4758, allocations: 109 kB / 0.5969 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.4759, allocations: 104.8 kB / 0.597 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.4759, allocations: 4 kB / 0.597 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.476, allocations: 0 / 0.597 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.476, allocations: 7.953 kB / 0.597 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.476, allocations: 7.984 kB / 0.597 GB, free: 7.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.4762, allocations: 200.2 kB / 0.5972 GB, free: 7.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4762, allocations: 0 / 0.5972 GB, free: 7.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.4764, allocations: 28 kB / 0.5972 GB, free: 7.156 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007693/0.4772, allocations: 383.5 kB / 0.5976 GB, free: 6.879 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.4773, allocations: 39.94 kB / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4773, allocations: 0 / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.4774, allocations: 19.98 kB / 0.5977 GB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4776, allocations: 27.83 kB / 0.5977 GB, free: 6.793 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.4779, allocations: 210.6 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.4782, allocations: 0.7199 MB / 0.5986 GB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.4783, allocations: 16.67 kB / 0.5986 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.4783, allocations: 19.44 kB / 0.5986 GB, free: 5.785 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4783, allocations: 0 / 0.5986 GB, free: 5.785 MB / 410.7 MB Notification: Performance of Templates: time 0.003639/0.4819, allocations: 1.615 MB / 0.6002 GB, free: 4.18 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches