Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, 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.27/1.27, allocations: 221.3 MB / 236 MB, free: 2.922 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.000862/0.0008619, allocations: 94.48 kB / 287 MB, free: 200 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.1867/0.1867, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.393e-05, allocations: 8.203 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4919, allocations: 89.03 MB / 0.5887 GB, free: 292 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.4921, allocations: 75.95 kB / 0.5887 GB, free: 216 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01424/0.5063, allocations: 5.723 MB / 0.5943 GB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5064, allocations: 0 / 0.5943 GB, free: 10.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.5064, allocations: 4 kB / 0.5943 GB, free: 10.5 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.0004677/0.5069, allocations: 402.2 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5069, allocations: 12.03 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.507, allocations: 11.81 kB / 0.5947 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.5073, allocations: 226.5 kB / 0.5949 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5074, allocations: 0 / 0.5949 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.5074, allocations: 7.953 kB / 0.595 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5075, allocations: 45.67 kB / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5075, allocations: 0 / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5075, allocations: 0 / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5075, allocations: 4 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.5076, allocations: 23.92 kB / 0.595 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.5078, allocations: 185.7 kB / 0.5952 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.508, allocations: 50.62 kB / 0.5952 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.508, allocations: 20.94 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.508, allocations: 7.938 kB / 0.5953 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.5082, allocations: 71.33 kB / 0.5953 GB, free: 9.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.5082, allocations: 0 / 0.5953 GB, free: 9.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002258/0.5084, allocations: 85.48 kB / 0.5954 GB, free: 9.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5085, allocations: 51.41 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.5087, allocations: 237.8 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5087, allocations: 25.7 kB / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.5088, allocations: 112.1 kB / 0.5958 GB, free: 8.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.5088, allocations: 11.8 kB / 0.5958 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.5089, allocations: 8 kB / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.509, allocations: 326.8 kB / 0.5962 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.5091, allocations: 12 kB / 0.5962 GB, free: 8.391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.5091, allocations: 25.72 kB / 0.5962 GB, free: 8.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.5091, allocations: 19.92 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5092, allocations: 0 / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001234/0.5093, allocations: 77.59 kB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5093, allocations: 11.98 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5093, allocations: 4 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5093, allocations: 0 / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.5094, allocations: 15.92 kB / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5094, allocations: 0 / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.5095, allocations: 15.97 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.5095, allocations: 4 kB / 0.5963 GB, free: 8.207 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.6e-05/0.5096, allocations: 112.9 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.5096, allocations: 11.91 kB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.5098, allocations: 102.6 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5098, allocations: 0 / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5098, allocations: 4 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5098, allocations: 3.938 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.51, allocations: 201.5 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.51, allocations: 0 / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.51, allocations: 8 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.51, allocations: 0 / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.51, allocations: 0 / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.51, allocations: 7.938 kB / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.51, allocations: 0 / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.5102, allocations: 117 kB / 0.5969 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.5103, allocations: 100.9 kB / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.5103, allocations: 0 / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.5104, allocations: 7.984 kB / 0.597 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.5104, allocations: 7.953 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5104, allocations: 0 / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.5106, allocations: 196.2 kB / 0.5972 GB, free: 7.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5106, allocations: 7.938 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.5108, allocations: 28 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.0009323/0.5118, allocations: 382.1 kB / 0.5976 GB, free: 6.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5119, allocations: 40 kB / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5119, allocations: 3.938 kB / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.512, allocations: 16 kB / 0.5976 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.0002174/0.5122, allocations: 28 kB / 0.5977 GB, free: 6.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.5126, allocations: 214.7 kB / 0.5979 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.5129, allocations: 0.7199 MB / 0.5986 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.5129, allocations: 20.42 kB / 0.5986 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.513, allocations: 23.42 kB / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.513, allocations: 0 / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of Templates: time 0.003761/0.5167, allocations: 1.611 MB / 0.6002 GB, free: 4.223 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches