Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 178.5 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.366/1.366, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0007511/0.000751, allocations: 97.34 kB / 295.1 MB, free: 9.5 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.3603/0.3603, allocations: 44.31 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 23.98 kB / 463.2 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 61.89 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001626/0.3861, allocations: 1.403 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3871, allocations: 0.8947 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.3872, allocations: 0.625 kB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.3875, allocations: 36.12 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3876, allocations: 41.89 kB / 0.5151 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.388, allocations: 97.72 kB / 0.5152 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3881, allocations: 91.89 kB / 0.5152 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.3882, allocations: 13.45 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.3883, allocations: 43.22 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.3884, allocations: 28.34 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3884, allocations: 1 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.3885, allocations: 36.06 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.3886, allocations: 27.69 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.3886, allocations: 47.52 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3888, allocations: 107.1 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3888, allocations: 0 / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3888, allocations: 4 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3888, allocations: 0 / 0.5155 GB, free: 35.98 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.0004247/0.3893, allocations: 393.6 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3893, allocations: 8.75 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3893, allocations: 10.88 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.3895, allocations: 208.5 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3895, allocations: 384 / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3896, allocations: 10.53 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3897, allocations: 60.47 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3897, allocations: 0 / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3897, allocations: 0 / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3897, allocations: 2.688 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.3898, allocations: 15.55 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.3901, allocations: 288.6 kB / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3902, allocations: 62.52 kB / 0.5165 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.3903, allocations: 21.16 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.3903, allocations: 0 / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.3905, allocations: 71.98 kB / 0.5166 GB, free: 34.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3905, allocations: 0 / 0.5166 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.391, allocations: 169.6 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.3911, allocations: 59.34 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3912, allocations: 174.7 kB / 0.517 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3913, allocations: 29.7 kB / 0.517 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.3913, allocations: 94.45 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.3913, allocations: 24.25 kB / 0.5172 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.3914, allocations: 4 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.3914, allocations: 324.8 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/0.3915, allocations: 22.03 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.3916, allocations: 43.12 kB / 0.5175 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/0.3917, allocations: 54.38 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3917, allocations: 0 / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001478/0.3918, allocations: 101.5 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3919, allocations: 5.562 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3919, allocations: 80 / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3919, allocations: 10.66 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.392, allocations: 20.84 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.392, allocations: 3.984 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.392, allocations: 10.53 kB / 0.5177 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.3921, allocations: 6.109 kB / 0.5177 GB, free: 34.01 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 7.3e-05/0.3921, allocations: 125.9 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.3922, allocations: 8.812 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.3922, allocations: 16.97 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3922, allocations: 4 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3922, allocations: 0 / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3922, allocations: 6.469 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.3925, allocations: 383.6 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3926, allocations: 0 / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.3926, allocations: 15.23 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3926, allocations: 0 / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3926, allocations: 6.406 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3926, allocations: 32 / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3926, allocations: 10.53 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.3928, allocations: 195.5 kB / 0.5185 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.3928, allocations: 87.89 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3929, allocations: 6.812 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.3929, allocations: 6.562 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.393, allocations: 10.94 kB / 0.5186 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.393, allocations: 6.469 kB / 0.5186 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.3931, allocations: 130.4 kB / 0.5187 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3931, allocations: 0 / 0.5187 GB, free: 33.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.3933, allocations: 22.2 kB / 0.5187 GB, free: 33.13 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.001002/0.3943, allocations: 0.5373 MB / 0.5193 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3945, allocations: 52.56 kB / 0.5193 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3945, allocations: 0 / 0.5193 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.3946, allocations: 32.92 kB / 0.5193 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3949, allocations: 31.19 kB / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.3953, allocations: 224.6 kB / 0.5196 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3955, allocations: 0.7069 MB / 0.5203 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.925e-05/0.3956, allocations: 20.47 kB / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.3956, allocations: 16.72 kB / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3956, allocations: 0 / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003964/0.3996, allocations: 1.613 MB / 0.5219 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches