Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 187 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.311/1.311, allocations: 223.3 MB / 242.1 MB, free: 9.965 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.0007967/0.0007968, allocations: 94.94 kB / 293.3 MB, free: 10.57 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.3317/0.3317, allocations: 44.15 MB / 388.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 61.89 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4681, allocations: 89.55 MB / 0.5982 GB, free: 5.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4683, allocations: 75.95 kB / 0.5983 GB, free: 5.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.4841, allocations: 6.166 MB / 0.6043 GB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4842, allocations: 4 kB / 0.6043 GB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4842, allocations: 4 kB / 0.6043 GB, free: 15.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005614/0.4848, allocations: 407.2 kB / 0.6047 GB, free: 14.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4848, allocations: 12.03 kB / 0.6047 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.4849, allocations: 8.844 kB / 0.6047 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4852, allocations: 213.6 kB / 0.6049 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4852, allocations: 4.375 kB / 0.6049 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.4852, allocations: 384 / 0.6049 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4854, allocations: 75.94 kB / 0.605 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4854, allocations: 4.188 kB / 0.605 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4854, allocations: 3.938 kB / 0.605 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4854, allocations: 4 kB / 0.605 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.4855, allocations: 23.92 kB / 0.605 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.4859, allocations: 284.9 kB / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.4861, allocations: 66.59 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.4862, allocations: 24.84 kB / 0.6054 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.4862, allocations: 3.938 kB / 0.6054 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.4864, allocations: 75.23 kB / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.4864, allocations: 0 / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005317/0.4869, allocations: 173.2 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.487, allocations: 77.11 kB / 0.6057 GB, free: 13.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4872, allocations: 160.7 kB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4872, allocations: 29.7 kB / 0.6059 GB, free: 13.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.4873, allocations: 96.12 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.4873, allocations: 19.72 kB / 0.606 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4873, allocations: 0 / 0.606 GB, free: 13.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4874, allocations: 323 kB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.4875, allocations: 23.98 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.4876, allocations: 42.56 kB / 0.6063 GB, free: 12.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4877, allocations: 69.66 kB / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4877, allocations: 4 kB / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.4879, allocations: 89.59 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4879, allocations: 5.25 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4879, allocations: 7.922 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4879, allocations: 4 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.488, allocations: 19.94 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.488, allocations: 4.031 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.4881, allocations: 4 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.4881, allocations: 7.984 kB / 0.6066 GB, free: 12.71 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 8.864e-05/0.4882, allocations: 124 kB / 0.6067 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.4882, allocations: 11.91 kB / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.4885, allocations: 122.5 kB / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4885, allocations: 0 / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4885, allocations: 0 / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4885, allocations: 4 kB / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.489, allocations: 407.2 kB / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.489, allocations: 288 / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.4891, allocations: 12.36 kB / 0.6072 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4891, allocations: 4 kB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4891, allocations: 7.938 kB / 0.6072 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4891, allocations: 3.938 kB / 0.6072 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4891, allocations: 3.938 kB / 0.6072 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.4893, allocations: 220.2 kB / 0.6074 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.4894, allocations: 85.02 kB / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.4894, allocations: 8 kB / 0.6075 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.4895, allocations: 3.984 kB / 0.6075 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.4896, allocations: 7.938 kB / 0.6075 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.4896, allocations: 8 kB / 0.6075 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.815e-05/0.4897, allocations: 119.2 kB / 0.6077 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4897, allocations: 4 kB / 0.6077 GB, free: 11.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.49, allocations: 31.98 kB / 0.6077 GB, free: 11.44 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.001092/0.4911, allocations: 0.505 MB / 0.6082 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4913, allocations: 67.89 kB / 0.6082 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4913, allocations: 0 / 0.6082 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.4914, allocations: 36.2 kB / 0.6083 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4917, allocations: 28.12 kB / 0.6083 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.4921, allocations: 214 kB / 0.6085 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4924, allocations: 0.7043 MB / 0.6092 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.563e-05/0.4924, allocations: 12.56 kB / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.4925, allocations: 23.42 kB / 0.6092 GB, free: 9.996 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4925, allocations: 0 / 0.6092 GB, free: 9.996 MB / 426.7 MB Notification: Performance of Templates: time 0.004357/0.4969, allocations: 1.9 MB / 0.6111 GB, free: 8.117 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches