Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 179.6 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.252/1.252, allocations: 221.4 MB / 236 MB, free: 2.93 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.0008265/0.0008265, allocations: 87.56 kB / 287 MB, free: 228 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.1747/0.1747, allocations: 44.15 MB / 382 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.484e-05, allocations: 4.219 kB / 451.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 61.92 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3374/0.4454, allocations: 88.99 MB / 0.5886 GB, free: 288 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.4456, allocations: 75.95 kB / 0.5887 GB, free: 212 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.4644, allocations: 5.351 MB / 0.5939 GB, free: 10.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4644, allocations: 4 kB / 0.5939 GB, free: 10.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.4644, allocations: 3.984 kB / 0.5939 GB, free: 10.86 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.0005695/0.465, allocations: 386.2 kB / 0.5943 GB, free: 10.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4651, allocations: 8.031 kB / 0.5943 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.4651, allocations: 7.906 kB / 0.5943 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.4655, allocations: 206.8 kB / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4655, allocations: 0 / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.4655, allocations: 7.953 kB / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4656, allocations: 53.67 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4657, allocations: 0 / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4657, allocations: 0 / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4657, allocations: 0 / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.49e-05/0.4658, allocations: 19.94 kB / 0.5946 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.466, allocations: 185.7 kB / 0.5948 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.4661, allocations: 46.62 kB / 0.5948 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.4662, allocations: 20.86 kB / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.4662, allocations: 3.938 kB / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.4664, allocations: 75.47 kB / 0.5949 GB, free: 9.699 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4664, allocations: 0 / 0.5949 GB, free: 9.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002061/0.4666, allocations: 77.53 kB / 0.595 GB, free: 9.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4666, allocations: 51.41 kB / 0.595 GB, free: 9.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.4668, allocations: 169.4 kB / 0.5952 GB, free: 9.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.4668, allocations: 29.7 kB / 0.5952 GB, free: 9.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.4669, allocations: 100.1 kB / 0.5953 GB, free: 9.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.4669, allocations: 19.73 kB / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.4669, allocations: 0 / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4671, allocations: 326.8 kB / 0.5956 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.4671, allocations: 12 kB / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.4672, allocations: 25.7 kB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.4672, allocations: 19.98 kB / 0.5957 GB, free: 8.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4672, allocations: 0 / 0.5957 GB, free: 8.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001146/0.4674, allocations: 81.66 kB / 0.5958 GB, free: 8.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4674, allocations: 9.203 kB / 0.5958 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4674, allocations: 4 kB / 0.5958 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4674, allocations: 4 kB / 0.5958 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.4675, allocations: 8 kB / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4675, allocations: 3.938 kB / 0.5958 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.4676, allocations: 7.984 kB / 0.5958 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4676, allocations: 4.031 kB / 0.5958 GB, free: 8.711 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.915e-05/0.4677, allocations: 114.5 kB / 0.5959 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.4677, allocations: 11.81 kB / 0.5959 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.4679, allocations: 97.66 kB / 0.596 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4679, allocations: 0 / 0.596 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4679, allocations: 0 / 0.596 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4679, allocations: 0 / 0.596 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.468, allocations: 185.6 kB / 0.5962 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4681, allocations: 0 / 0.5962 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.4681, allocations: 11.92 kB / 0.5962 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4681, allocations: 8 kB / 0.5962 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4681, allocations: 4 kB / 0.5962 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4681, allocations: 3.953 kB / 0.5962 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4681, allocations: 0 / 0.5962 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.4683, allocations: 109 kB / 0.5963 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.4684, allocations: 92.95 kB / 0.5964 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.4684, allocations: 4 kB / 0.5964 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.4685, allocations: 7.984 kB / 0.5964 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.4685, allocations: 7.953 kB / 0.5964 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4685, allocations: 0 / 0.5964 GB, free: 7.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4686, allocations: 148.9 kB / 0.5966 GB, free: 7.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4686, allocations: 0 / 0.5966 GB, free: 7.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.4688, allocations: 27.91 kB / 0.5966 GB, free: 7.793 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.0007741/0.4696, allocations: 380.3 kB / 0.597 GB, free: 7.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.4697, allocations: 43.98 kB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4698, allocations: 4.062 kB / 0.597 GB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.4698, allocations: 23.94 kB / 0.597 GB, free: 7.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.47, allocations: 19.98 kB / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.4703, allocations: 149.5 kB / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4706, allocations: 0.7004 MB / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.762e-05/0.4706, allocations: 16.42 kB / 0.5979 GB, free: 6.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.4706, allocations: 15.44 kB / 0.5979 GB, free: 6.508 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4706, allocations: 0 / 0.5979 GB, free: 6.508 MB / 410.7 MB Notification: Performance of Templates: time 0.004334/0.475, allocations: 1.467 MB / 0.5993 GB, free: 5.051 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches