Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008612/0.0008613, allocations: 173.2 kB / 17.4 MB, free: 4.391 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.372/1.372, allocations: 225.7 MB / 243.9 MB, free: 10.19 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.0008445/0.0008445, allocations: 98.66 kB / 295.1 MB, free: 9.711 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.3835/0.3835, allocations: 44.32 MB / 390.5 MB, free: 38.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003343, allocations: 15.98 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3367, allocations: 61.9 MB / 0.5127 GB, free: 38.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001781/0.3386, allocations: 1.4 MB / 0.5141 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3398, allocations: 0.8973 MB / 0.515 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.3399, allocations: 2.938 kB / 0.515 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.3402, allocations: 52.84 kB / 0.515 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.3404, allocations: 56.09 kB / 0.5151 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.3407, allocations: 93.69 kB / 0.5152 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3408, allocations: 97.84 kB / 0.5153 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.3409, allocations: 6.234 kB / 0.5153 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.341, allocations: 48.03 kB / 0.5153 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.3411, allocations: 34.5 kB / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3411, allocations: 3 kB / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.3412, allocations: 35.44 kB / 0.5154 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.3413, allocations: 30.19 kB / 0.5154 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.3413, allocations: 68.34 kB / 0.5155 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3415, allocations: 121 kB / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3415, allocations: 0 / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3415, allocations: 0 / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3415, allocations: 0 / 0.5156 GB, free: 36.08 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.0004492/0.342, allocations: 416.1 kB / 0.516 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.342, allocations: 8.219 kB / 0.516 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3421, allocations: 21.69 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.3423, allocations: 217.9 kB / 0.5162 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3423, allocations: 11.06 kB / 0.5163 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3423, allocations: 4.125 kB / 0.5163 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3424, allocations: 55.91 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3425, allocations: 3.312 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3425, allocations: 0 / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3425, allocations: 0 / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.489e-05/0.3426, allocations: 16.52 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.3429, allocations: 302.7 kB / 0.5166 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3431, allocations: 58.83 kB / 0.5167 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.3431, allocations: 20.06 kB / 0.5167 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3431, allocations: 3.031 kB / 0.5167 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.3433, allocations: 68.17 kB / 0.5168 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3433, allocations: 0 / 0.5168 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005093/0.3438, allocations: 175.1 kB / 0.5169 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3439, allocations: 52.02 kB / 0.517 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.3441, allocations: 261.8 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3441, allocations: 26.58 kB / 0.5173 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.3442, allocations: 114.2 kB / 0.5174 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3442, allocations: 30.95 kB / 0.5174 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.3442, allocations: 1.062 kB / 0.5174 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.3443, allocations: 333.8 kB / 0.5177 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.3444, allocations: 22.14 kB / 0.5177 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.3444, allocations: 37.81 kB / 0.5178 GB, free: 34.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.319e-05/0.3445, allocations: 55.73 kB / 0.5178 GB, free: 34.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3445, allocations: 4 kB / 0.5178 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.3447, allocations: 108.3 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3447, allocations: 6.391 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3447, allocations: 2.969 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3447, allocations: 3.938 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.3448, allocations: 12.22 kB / 0.518 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3448, allocations: 7.109 kB / 0.518 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.3449, allocations: 7.172 kB / 0.518 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3449, allocations: 3.031 kB / 0.518 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 8.135e-05/0.345, allocations: 146.8 kB / 0.5181 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.345, allocations: 13.69 kB / 0.5181 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3451, allocations: 25.3 kB / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3451, allocations: 0 / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3451, allocations: 0 / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3451, allocations: 3.938 kB / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.3454, allocations: 403.4 kB / 0.5185 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3454, allocations: 0 / 0.5185 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.3455, allocations: 14.14 kB / 0.5185 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3455, allocations: 0 / 0.5185 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3455, allocations: 7.906 kB / 0.5186 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3455, allocations: 0 / 0.5186 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3455, allocations: 0 / 0.5186 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3457, allocations: 216.3 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3457, allocations: 95.16 kB / 0.5189 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3457, allocations: 6.938 kB / 0.5189 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.3458, allocations: 2.906 kB / 0.5189 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3459, allocations: 6.219 kB / 0.5189 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3459, allocations: 3.031 kB / 0.5189 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.346, allocations: 201.1 kB / 0.5191 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.346, allocations: 0 / 0.5191 GB, free: 33.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.3462, allocations: 23.94 kB / 0.5191 GB, free: 33.12 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.0009879/0.3472, allocations: 0.5275 MB / 0.5196 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.3474, allocations: 59.59 kB / 0.5197 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3474, allocations: 5.5 kB / 0.5197 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.3475, allocations: 25.41 kB / 0.5197 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.000342/0.3478, allocations: 30.14 kB / 0.5197 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.3483, allocations: 315.9 kB / 0.52 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3485, allocations: 0.713 MB / 0.5207 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.3486, allocations: 12.34 kB / 0.5207 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.3486, allocations: 27.69 kB / 0.5208 GB, free: 31.84 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3486, allocations: 0 / 0.5208 GB, free: 31.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004351/0.353, allocations: 1.638 MB / 0.5223 GB, free: 31.65 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches