Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 180.5 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.234/1.234, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008864/0.0008864, allocations: 95.47 kB / 287 MB, free: 256 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.1609/0.1609, allocations: 44.15 MB / 382.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.508e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/0.4559, allocations: 89.04 MB / 0.5887 GB, free: 300 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.4561, allocations: 67.97 kB / 0.5887 GB, free: 232 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.4702, allocations: 5.732 MB / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4703, allocations: 0 / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4703, allocations: 0 / 0.5943 GB, free: 10.52 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.000424/0.4707, allocations: 402.2 kB / 0.5947 GB, free: 10.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4708, allocations: 8.031 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.4708, allocations: 19.81 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.4711, allocations: 222.5 kB / 0.595 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4712, allocations: 4 kB / 0.595 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.4712, allocations: 7.891 kB / 0.595 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/0.4713, allocations: 49.67 kB / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4713, allocations: 0 / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4713, allocations: 4 kB / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4713, allocations: 0 / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.4714, allocations: 19.92 kB / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.4716, allocations: 189.7 kB / 0.5952 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.4717, allocations: 46.62 kB / 0.5953 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.4717, allocations: 20.94 kB / 0.5953 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.4717, allocations: 0 / 0.5953 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.4718, allocations: 79.27 kB / 0.5954 GB, free: 9.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4718, allocations: 0 / 0.5954 GB, free: 9.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001798/0.472, allocations: 85.48 kB / 0.5954 GB, free: 9.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.4721, allocations: 55.41 kB / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.4723, allocations: 229.8 kB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.4723, allocations: 29.7 kB / 0.5957 GB, free: 8.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.4724, allocations: 108.1 kB / 0.5958 GB, free: 8.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.4724, allocations: 19.81 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4724, allocations: 0 / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.4725, allocations: 330.8 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.4725, allocations: 12 kB / 0.5962 GB, free: 8.398 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.4726, allocations: 25.72 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.4726, allocations: 23.92 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4726, allocations: 0 / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.4728, allocations: 77.59 kB / 0.5963 GB, free: 8.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4728, allocations: 9.203 kB / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4728, allocations: 0 / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4728, allocations: 0 / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.4729, allocations: 19.94 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4729, allocations: 4.266 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.473, allocations: 19.83 kB / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.473, allocations: 0 / 0.5964 GB, free: 8.211 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 6.182e-05/0.473, allocations: 105 kB / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.4731, allocations: 15.94 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.4732, allocations: 102.6 kB / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4732, allocations: 3.984 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4733, allocations: 0 / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4733, allocations: 0 / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.4734, allocations: 213.4 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4734, allocations: 0 / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.4735, allocations: 4 kB / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4735, allocations: 0 / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.4735, allocations: 3.938 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4735, allocations: 11.95 kB / 0.5968 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4735, allocations: 0 / 0.5968 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.4736, allocations: 109 kB / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.4737, allocations: 100.8 kB / 0.597 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4738, allocations: 8 kB / 0.597 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.4738, allocations: 0 / 0.597 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.4738, allocations: 11.94 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.4739, allocations: 4 kB / 0.597 GB, free: 7.426 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.474, allocations: 200.2 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.413e-06/0.474, allocations: 0 / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.4742, allocations: 27.94 kB / 0.5972 GB, free: 7.203 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.0007878/0.475, allocations: 376.1 kB / 0.5976 GB, free: 6.934 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.4751, allocations: 35.98 kB / 0.5976 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4751, allocations: 0 / 0.5976 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.4752, allocations: 27.94 kB / 0.5977 GB, free: 6.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4754, allocations: 24.08 kB / 0.5977 GB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.4758, allocations: 222.6 kB / 0.5979 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.476, allocations: 0.7121 MB / 0.5986 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.4761, allocations: 16.42 kB / 0.5986 GB, free: 5.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.4761, allocations: 15.44 kB / 0.5986 GB, free: 5.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4761, allocations: 0 / 0.5986 GB, free: 5.84 MB / 410.7 MB Notification: Performance of Templates: time 0.003883/0.48, allocations: 1.622 MB / 0.6002 GB, free: 4.23 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches