Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 180.7 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.37/1.37, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008321/0.0008321, allocations: 95.97 kB / 287 MB, free: 248 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.1735/0.1735, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.548e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4943, allocations: 89.18 MB / 0.5888 GB, free: 140 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.4945, allocations: 72.69 kB / 0.5889 GB, free: 68 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.5086, allocations: 5.47 MB / 0.5942 GB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5087, allocations: 0 / 0.5942 GB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5087, allocations: 0 / 0.5942 GB, free: 10.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004731/0.5092, allocations: 390.2 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5092, allocations: 8.031 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.5093, allocations: 7.906 kB / 0.5946 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.5096, allocations: 214.8 kB / 0.5948 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.5096, allocations: 15.89 kB / 0.5948 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.5096, allocations: 0 / 0.5948 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.5097, allocations: 57.67 kB / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5098, allocations: 0 / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5098, allocations: 0 / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5098, allocations: 0 / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.5098, allocations: 31.86 kB / 0.5949 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.5102, allocations: 288.9 kB / 0.5952 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.5103, allocations: 58.69 kB / 0.5952 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.5103, allocations: 24.91 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.5104, allocations: 4 kB / 0.5953 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.5105, allocations: 63.41 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.5105, allocations: 0 / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004021/0.5109, allocations: 161.1 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5109, allocations: 51.41 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5111, allocations: 169.4 kB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.5111, allocations: 25.7 kB / 0.5957 GB, free: 8.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.5112, allocations: 100.1 kB / 0.5958 GB, free: 8.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.5112, allocations: 27.69 kB / 0.5958 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5112, allocations: 0 / 0.5958 GB, free: 8.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5114, allocations: 330.8 kB / 0.5962 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.5114, allocations: 20 kB / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.5115, allocations: 33.72 kB / 0.5962 GB, free: 8.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.5115, allocations: 23.98 kB / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5115, allocations: 0 / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.5117, allocations: 97.44 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5117, allocations: 8 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5117, allocations: 0 / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5117, allocations: 0 / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.5118, allocations: 23.95 kB / 0.5964 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.5118, allocations: 4 kB / 0.5964 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.5119, allocations: 7.938 kB / 0.5964 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5119, allocations: 4 kB / 0.5964 GB, free: 8.184 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 (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 7.313e-05/0.512, allocations: 118.5 kB / 0.5965 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.512, allocations: 11.89 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.5122, allocations: 114.4 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5122, allocations: 0 / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5122, allocations: 4 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5122, allocations: 3.984 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.5126, allocations: 411.2 kB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5126, allocations: 0 / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.5127, allocations: 12 kB / 0.597 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5127, allocations: 3.938 kB / 0.597 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5127, allocations: 4 kB / 0.597 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5127, allocations: 4 kB / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5127, allocations: 0 / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.5129, allocations: 217.9 kB / 0.5972 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.513, allocations: 93 kB / 0.5973 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.513, allocations: 4 kB / 0.5973 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.5131, allocations: 4 kB / 0.5973 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.5131, allocations: 15.88 kB / 0.5973 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.5131, allocations: 8 kB / 0.5973 GB, free: 7.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.5132, allocations: 144.9 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5132, allocations: 0 / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.5135, allocations: 28 kB / 0.5975 GB, free: 6.898 MB / 410.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) * 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.000869/0.5143, allocations: 437.9 kB / 0.5979 GB, free: 6.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.5145, allocations: 55.94 kB / 0.598 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.5145, allocations: 0 / 0.598 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.179e-05/0.5145, allocations: 31.94 kB / 0.598 GB, free: 6.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.5148, allocations: 31.81 kB / 0.598 GB, free: 6.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.5151, allocations: 163 kB / 0.5982 GB, free: 6.273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.5153, allocations: 0.7082 MB / 0.5989 GB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.93e-05/0.5154, allocations: 16.41 kB / 0.5989 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.5154, allocations: 15.44 kB / 0.5989 GB, free: 5.508 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5154, allocations: 0 / 0.5989 GB, free: 5.508 MB / 410.7 MB Notification: Performance of Templates: time 0.003675/0.5191, allocations: 1.694 MB / 0.6006 GB, free: 3.828 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches