Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 179 kB / 18.09 MB, free: 3.75 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.367/1.367, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0008044/0.0008043, allocations: 94.44 kB / 293.3 MB, free: 10.79 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.3482/0.3482, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004163, allocations: 16 kB / 461.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3575, allocations: 61.87 MB / 0.5107 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4763, allocations: 89.58 MB / 0.5982 GB, free: 5.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.4767, allocations: 83.94 kB / 0.5983 GB, free: 5.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.4996, allocations: 8.256 MB / 0.6064 GB, free: 13.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.4996, allocations: 0 / 0.6064 GB, free: 13.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.4996, allocations: 7.938 kB / 0.6064 GB, free: 13.15 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008806/0.5005, allocations: 0.5487 MB / 0.6069 GB, free: 12.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5006, allocations: 12.03 kB / 0.6069 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.5007, allocations: 24.66 kB / 0.6069 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.5012, allocations: 304.1 kB / 0.6072 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5013, allocations: 8.312 kB / 0.6072 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.5013, allocations: 16.36 kB / 0.6072 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.5016, allocations: 114.1 kB / 0.6074 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5016, allocations: 192 / 0.6074 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.5016, allocations: 11.88 kB / 0.6074 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5016, allocations: 4 kB / 0.6074 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.5018, allocations: 51.89 kB / 0.6074 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.5025, allocations: 488.7 kB / 0.6079 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.5029, allocations: 133.2 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.503, allocations: 49.81 kB / 0.6081 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.503, allocations: 4 kB / 0.6081 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.5032, allocations: 125.1 kB / 0.6082 GB, free: 11.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.5032, allocations: 0 / 0.6082 GB, free: 11.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001282/0.5045, allocations: 0.4968 MB / 0.6087 GB, free: 10.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5046, allocations: 81.05 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.5051, allocations: 432.3 kB / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5051, allocations: 33.7 kB / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.5052, allocations: 152.5 kB / 0.6093 GB, free: 9.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.5053, allocations: 71 kB / 0.6094 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.5053, allocations: 4 kB / 0.6094 GB, free: 9.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5054, allocations: 342.8 kB / 0.6097 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.5056, allocations: 59.97 kB / 0.6098 GB, free: 9.387 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.5057, allocations: 100.4 kB / 0.6099 GB, free: 9.277 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.506, allocations: 159.3 kB / 0.61 GB, free: 9.109 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.506, allocations: 0 / 0.61 GB, free: 9.109 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004067/0.5064, allocations: 237.3 kB / 0.6103 GB, free: 8.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5065, allocations: 4 kB / 0.6103 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5065, allocations: 8.062 kB / 0.6103 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5065, allocations: 0 / 0.6103 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.5066, allocations: 51.86 kB / 0.6103 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5067, allocations: 0 / 0.6103 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.5068, allocations: 11.98 kB / 0.6103 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.5068, allocations: 8 kB / 0.6103 GB, free: 8.789 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001691/0.507, allocations: 170.3 kB / 0.6105 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.507, allocations: 31.62 kB / 0.6105 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.5075, allocations: 280.1 kB / 0.6108 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5075, allocations: 7.938 kB / 0.6108 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5076, allocations: 0 / 0.6108 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5076, allocations: 0 / 0.6108 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.5085, allocations: 0.7935 MB / 0.6116 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5086, allocations: 7.938 kB / 0.6116 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.5086, allocations: 28 kB / 0.6116 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.5087, allocations: 7.984 kB / 0.6116 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.5087, allocations: 4 kB / 0.6116 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.5087, allocations: 4 kB / 0.6116 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5087, allocations: 4.172 kB / 0.6116 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.5092, allocations: 431.2 kB / 0.6121 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.5093, allocations: 140.6 kB / 0.6122 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.5094, allocations: 12 kB / 0.6122 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5095, allocations: 8 kB / 0.6122 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.5096, allocations: 31.84 kB / 0.6122 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5096, allocations: 12 kB / 0.6122 GB, free: 6.707 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003226/0.5099, allocations: 315 kB / 0.6125 GB, free: 6.402 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.293e-06/0.5099, allocations: 0 / 0.6125 GB, free: 6.402 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.5103, allocations: 67.88 kB / 0.6126 GB, free: 6.336 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001088/0.5114, allocations: 0.5292 MB / 0.6131 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.5118, allocations: 171.6 kB / 0.6133 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5118, allocations: 0 / 0.6133 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.5119, allocations: 79.84 kB / 0.6134 GB, free: 5.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.5125, allocations: 66.83 kB / 0.6134 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.5135, allocations: 0.6247 MB / 0.614 GB, free: 5.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.5139, allocations: 0.7723 MB / 0.6148 GB, free: 4.242 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.514, allocations: 49.92 kB / 0.6148 GB, free: 4.191 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.5141, allocations: 31.44 kB / 0.6149 GB, free: 4.164 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5141, allocations: 0 / 0.6149 GB, free: 4.164 MB / 426.7 MB Notification: Performance of Templates: time 0.006929/0.5211, allocations: 3.298 MB / 0.6181 GB, free: 0.8984 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches