Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009474/0.0009474, allocations: 174.2 kB / 17.41 MB, free: 4.41 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.453/1.453, 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.001073/0.001073, allocations: 95.81 kB / 295.1 MB, free: 9.508 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.3302/0.3302, allocations: 44.31 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003319, allocations: 8 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 61.9 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001547/0.3369, allocations: 1.485 MB / 0.5142 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.338, allocations: 0.9736 MB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.3381, allocations: 3.938 kB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.3385, allocations: 290.9 kB / 0.5154 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.3388, allocations: 199.8 kB / 0.5156 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.3391, allocations: 155.8 kB / 0.5158 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3394, allocations: 228.9 kB / 0.516 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.3394, allocations: 9.625 kB / 0.516 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.3395, allocations: 115 kB / 0.5161 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.3397, allocations: 185.6 kB / 0.5163 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3398, allocations: 2.688 kB / 0.5163 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.811e-05/0.3398, allocations: 36.58 kB / 0.5163 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.34, allocations: 133.7 kB / 0.5164 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3401, allocations: 178.1 kB / 0.5166 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.3405, allocations: 341.8 kB / 0.5169 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3405, allocations: 0 / 0.5169 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3405, allocations: 0 / 0.5169 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3405, allocations: 1.125 kB / 0.5169 GB, free: 35.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007445/0.3413, allocations: 0.6517 MB / 0.5176 GB, free: 34.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3413, allocations: 9.344 kB / 0.5176 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.3414, allocations: 50.73 kB / 0.5176 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.3418, allocations: 443.6 kB / 0.5181 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3419, allocations: 7 kB / 0.5181 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3419, allocations: 10.09 kB / 0.5181 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3421, allocations: 84.64 kB / 0.5182 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3421, allocations: 1.156 kB / 0.5182 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3421, allocations: 0 / 0.5182 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3421, allocations: 1.188 kB / 0.5182 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.3422, allocations: 34.56 kB / 0.5182 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.3425, allocations: 368.2 kB / 0.5185 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.3427, allocations: 105.8 kB / 0.5186 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.3428, allocations: 51.55 kB / 0.5187 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3429, allocations: 5.141 kB / 0.5187 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.3431, allocations: 104 kB / 0.5188 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3431, allocations: 0 / 0.5188 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003825/0.3435, allocations: 199.8 kB / 0.519 GB, free: 34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3435, allocations: 81.11 kB / 0.5191 GB, free: 33.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/0.3443, allocations: 0.9959 MB / 0.52 GB, free: 33.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3443, allocations: 31.69 kB / 0.5201 GB, free: 33.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3444, allocations: 226.8 kB / 0.5203 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.3444, allocations: 36.67 kB / 0.5203 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.3445, allocations: 0 / 0.5203 GB, free: 33.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.3445, allocations: 362.8 kB / 0.5207 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.3446, allocations: 32.22 kB / 0.5207 GB, free: 32.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.3447, allocations: 55.02 kB / 0.5207 GB, free: 32.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3448, allocations: 88.83 kB / 0.5208 GB, free: 32.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3448, allocations: 0 / 0.5208 GB, free: 32.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002263/0.3451, allocations: 174.2 kB / 0.521 GB, free: 32.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3451, allocations: 5.781 kB / 0.521 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3451, allocations: 3.938 kB / 0.521 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3451, allocations: 2.812 kB / 0.521 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3452, allocations: 24.56 kB / 0.521 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3452, allocations: 6.125 kB / 0.521 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.3453, allocations: 10.91 kB / 0.521 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3453, allocations: 5.812 kB / 0.5211 GB, free: 32.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000144/0.3455, allocations: 225.7 kB / 0.5213 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.3455, allocations: 51 kB / 0.5213 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.3456, allocations: 56.09 kB / 0.5214 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3456, allocations: 0 / 0.5214 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3456, allocations: 0 / 0.5214 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3456, allocations: 10.23 kB / 0.5214 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3458, allocations: 339.9 kB / 0.5217 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3459, allocations: 0 / 0.5217 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.3459, allocations: 9.938 kB / 0.5217 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3459, allocations: 4 kB / 0.5217 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3459, allocations: 3 kB / 0.5217 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3459, allocations: 3.422 kB / 0.5217 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3459, allocations: 2.812 kB / 0.5217 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3462, allocations: 201.3 kB / 0.5219 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.433e-05/0.3463, allocations: 136.2 kB / 0.522 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3463, allocations: 10.12 kB / 0.5221 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.3464, allocations: 6.688 kB / 0.5221 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.3465, allocations: 9.203 kB / 0.5221 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3465, allocations: 2.938 kB / 0.5221 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005595/0.3471, allocations: 0.7473 MB / 0.5228 GB, free: 31.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3471, allocations: 0 / 0.5228 GB, free: 31.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.3473, allocations: 41.84 kB / 0.5228 GB, free: 31.78 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008625/0.3482, allocations: 484 kB / 0.5233 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3484, allocations: 84.58 kB / 0.5234 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3484, allocations: 3.938 kB / 0.5234 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/0.3485, allocations: 34.83 kB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.349, allocations: 78.11 kB / 0.5235 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.35, allocations: 0.9312 MB / 0.5244 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3503, allocations: 0.8351 MB / 0.5252 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.3504, allocations: 62.14 kB / 0.5253 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.3505, allocations: 27.53 kB / 0.5253 GB, free: 30.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3505, allocations: 0 / 0.5253 GB, free: 30.23 MB / 378.7 MB Notification: Performance of Templates: time 0.006518/0.357, allocations: 3.423 MB / 0.5286 GB, free: 29.9 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches