Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, 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.283/1.283, 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.0008802/0.0008801, allocations: 94.91 kB / 287 MB, free: 252 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.1849/0.1849, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.546e-05, allocations: 8.203 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.4925, allocations: 89.18 MB / 0.5888 GB, free: 136 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4928, allocations: 75.95 kB / 0.5889 GB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.5072, allocations: 5.511 MB / 0.5943 GB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5073, allocations: 0 / 0.5943 GB, free: 10.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.5073, allocations: 4 kB / 0.5943 GB, free: 10.55 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.0004018/0.5077, allocations: 402.2 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5077, allocations: 8.031 kB / 0.5946 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.5078, allocations: 7.906 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.5081, allocations: 215.5 kB / 0.5949 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5081, allocations: 7.953 kB / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.5081, allocations: 0 / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.5082, allocations: 61.61 kB / 0.5949 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5083, allocations: 0 / 0.5949 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5083, allocations: 0 / 0.5949 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.5083, allocations: 0 / 0.5949 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.5084, allocations: 27.86 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.5087, allocations: 300.9 kB / 0.5952 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.5088, allocations: 50.62 kB / 0.5953 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.5089, allocations: 28.97 kB / 0.5953 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.5089, allocations: 4 kB / 0.5953 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.509, allocations: 59.39 kB / 0.5954 GB, free: 9.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.509, allocations: 4 kB / 0.5954 GB, free: 9.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004133/0.5095, allocations: 161.2 kB / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.5095, allocations: 51.41 kB / 0.5956 GB, free: 9.008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.5097, allocations: 187.6 kB / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.5097, allocations: 25.7 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.5098, allocations: 104.1 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.5098, allocations: 27.64 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5098, allocations: 0 / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.5099, allocations: 334.8 kB / 0.5962 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.5099, allocations: 16 kB / 0.5962 GB, free: 8.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.51, allocations: 29.72 kB / 0.5963 GB, free: 8.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.51, allocations: 27.92 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.51, allocations: 0 / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001464/0.5102, allocations: 101.6 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5102, allocations: 4.938 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5102, allocations: 0 / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.5102, allocations: 4.031 kB / 0.5964 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.5103, allocations: 19.94 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5103, allocations: 0 / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.5104, allocations: 11.98 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.5104, allocations: 3.984 kB / 0.5964 GB, free: 8.086 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 6.194e-05/0.5105, allocations: 108.9 kB / 0.5965 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.5105, allocations: 15.81 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.5107, allocations: 115.1 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5107, allocations: 8.281 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5107, allocations: 0 / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5107, allocations: 0 / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.5111, allocations: 411.2 kB / 0.5971 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5111, allocations: 4 kB / 0.5971 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.5112, allocations: 11.98 kB / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5112, allocations: 3.938 kB / 0.5971 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5112, allocations: 8 kB / 0.5971 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5112, allocations: 4.031 kB / 0.5971 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5112, allocations: 3.938 kB / 0.5971 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.5114, allocations: 217.9 kB / 0.5973 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.5115, allocations: 96.94 kB / 0.5974 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.5115, allocations: 0 / 0.5974 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.5116, allocations: 8.188 kB / 0.5974 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.5116, allocations: 15.94 kB / 0.5974 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5117, allocations: 4 kB / 0.5974 GB, free: 6.957 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.5118, allocations: 152.9 kB / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5118, allocations: 0 / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.512, allocations: 27.94 kB / 0.5976 GB, free: 6.781 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.0008883/0.5129, allocations: 426 kB / 0.598 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.5131, allocations: 59.92 kB / 0.5981 GB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5131, allocations: 0 / 0.5981 GB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.5131, allocations: 35.88 kB / 0.5981 GB, free: 6.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.5134, allocations: 27.91 kB / 0.5981 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.5137, allocations: 171.5 kB / 0.5983 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.514, allocations: 0.7121 MB / 0.599 GB, free: 5.434 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.514, allocations: 20.41 kB / 0.599 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.5141, allocations: 15.44 kB / 0.599 GB, free: 5.398 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5141, allocations: 0 / 0.599 GB, free: 5.398 MB / 410.7 MB Notification: Performance of Templates: time 0.003994/0.5181, allocations: 1.715 MB / 0.6007 GB, free: 3.699 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches