Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009408/0.000941, allocations: 175.2 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.7 MB / 243.9 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008327, allocations: 90.05 kB / 295 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3463/0.3463, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 12 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3615, allocations: 61.91 MB / 0.5128 GB, free: 37.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001663/0.3632, allocations: 1.401 MB / 0.5141 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3643, allocations: 0.8966 MB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.3644, allocations: 0 / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3646, allocations: 33.92 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.3648, allocations: 49.14 kB / 0.5151 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.365, allocations: 95.33 kB / 0.5152 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3652, allocations: 90.75 kB / 0.5153 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.3653, allocations: 14.19 kB / 0.5153 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.3654, allocations: 38.73 kB / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.3654, allocations: 30.22 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3654, allocations: 3.031 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.3655, allocations: 39.08 kB / 0.5154 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.3656, allocations: 16.48 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3656, allocations: 61.03 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.3658, allocations: 104.1 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3658, allocations: 7.938 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3658, allocations: 0 / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3658, allocations: 0 / 0.5156 GB, free: 36.02 MB / 378.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.0004129/0.3662, allocations: 397.2 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3663, allocations: 8.281 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3663, allocations: 10.31 kB / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.3665, allocations: 203.5 kB / 0.5161 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3665, allocations: 3.25 kB / 0.5161 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3666, allocations: 11.19 kB / 0.5162 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3667, allocations: 55.33 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3667, allocations: 0 / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3667, allocations: 0 / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3667, allocations: 0 / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.558e-05/0.3668, allocations: 27.38 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.3671, allocations: 286.1 kB / 0.5165 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.3673, allocations: 54.84 kB / 0.5166 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.3673, allocations: 20.14 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3673, allocations: 2.688 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3675, allocations: 70.34 kB / 0.5167 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3675, allocations: 0 / 0.5167 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004658/0.368, allocations: 180.5 kB / 0.5168 GB, free: 34.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.368, allocations: 58.09 kB / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3681, allocations: 184.4 kB / 0.5171 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.3682, allocations: 28.58 kB / 0.5171 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.3682, allocations: 98.5 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.3682, allocations: 29.48 kB / 0.5172 GB, free: 34.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.3682, allocations: 0 / 0.5172 GB, free: 34.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.3683, allocations: 329 kB / 0.5175 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.3684, allocations: 27.22 kB / 0.5175 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.3684, allocations: 32.92 kB / 0.5176 GB, free: 34.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.3685, allocations: 63.77 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3685, allocations: 0 / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001446/0.3687, allocations: 93.66 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3687, allocations: 3.031 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3687, allocations: 11 kB / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3687, allocations: 0 / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.3688, allocations: 22.97 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3688, allocations: 3.031 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.3689, allocations: 5.438 kB / 0.5178 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3689, allocations: 2.375 kB / 0.5178 GB, free: 34.04 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/0.369, allocations: 125.9 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.369, allocations: 13.03 kB / 0.5179 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.369, allocations: 17.69 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.369, allocations: 4.875 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.369, allocations: 0 / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3691, allocations: 4.938 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.3694, allocations: 390.2 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3694, allocations: 1.406 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.3694, allocations: 7.688 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3695, allocations: 5.531 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.3695, allocations: 5.281 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3695, allocations: 4.031 kB / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3695, allocations: 1.281 kB / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.3697, allocations: 197.6 kB / 0.5185 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.3697, allocations: 91.7 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3697, allocations: 5.156 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.3698, allocations: 7.5 kB / 0.5186 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3698, allocations: 14.61 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3699, allocations: 3.219 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.283e-05/0.37, allocations: 144.2 kB / 0.5188 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.37, allocations: 0 / 0.5188 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.3702, allocations: 23.45 kB / 0.5188 GB, free: 33.16 MB / 378.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.3713, allocations: 0.5265 MB / 0.5193 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3715, allocations: 60.27 kB / 0.5194 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3715, allocations: 3.938 kB / 0.5194 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.3716, allocations: 32.36 kB / 0.5194 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.3719, allocations: 23.53 kB / 0.5194 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3724, allocations: 244.6 kB / 0.5197 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.3725, allocations: 0.7096 MB / 0.5203 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.3726, allocations: 20.56 kB / 0.5204 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3726, allocations: 16.88 kB / 0.5204 GB, free: 31.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3726, allocations: 3.938 kB / 0.5204 GB, free: 31.89 MB / 378.7 MB Notification: Performance of Templates: time 0.004045/0.3767, allocations: 1.614 MB / 0.522 GB, free: 31.71 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches