Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009909/0.0009909, 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.513/1.513, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008652/0.0008651, allocations: 96.66 kB / 295.1 MB, free: 9.484 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.356/0.356, allocations: 44.32 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004388, allocations: 12 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4702, allocations: 61.91 MB / 0.5127 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002764/0.473, allocations: 1.484 MB / 0.5142 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4751, allocations: 0.9696 MB / 0.5151 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.4754, allocations: 7.031 kB / 0.5152 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.4761, allocations: 291.5 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.4766, allocations: 207.1 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.4773, allocations: 148.8 kB / 0.5158 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.4778, allocations: 234.5 kB / 0.516 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.4779, allocations: 17.08 kB / 0.516 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.4782, allocations: 116.2 kB / 0.5161 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.4786, allocations: 190.7 kB / 0.5163 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.4786, allocations: 5.906 kB / 0.5163 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.4788, allocations: 38.28 kB / 0.5163 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.479, allocations: 134.4 kB / 0.5165 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.4793, allocations: 169.8 kB / 0.5166 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.4799, allocations: 353.1 kB / 0.517 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.48, allocations: 0 / 0.517 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.48, allocations: 3.938 kB / 0.517 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.48, allocations: 4 kB / 0.517 GB, free: 35.31 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.001102/0.4811, allocations: 0.6602 MB / 0.5176 GB, free: 34.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.4812, allocations: 9.312 kB / 0.5176 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.4813, allocations: 46.03 kB / 0.5177 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.482, allocations: 447.3 kB / 0.5181 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.482, allocations: 3.312 kB / 0.5181 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.482, allocations: 11.8 kB / 0.5181 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.4823, allocations: 82.28 kB / 0.5182 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4823, allocations: 0.7031 kB / 0.5182 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4823, allocations: 4 kB / 0.5182 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4823, allocations: 0 / 0.5182 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.4825, allocations: 31.66 kB / 0.5182 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.483, allocations: 387.2 kB / 0.5186 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.4833, allocations: 102.6 kB / 0.5187 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.4834, allocations: 48.03 kB / 0.5187 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.4835, allocations: 1.156 kB / 0.5187 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.4838, allocations: 108.3 kB / 0.5188 GB, free: 33.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.4838, allocations: 0 / 0.5188 GB, free: 33.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006252/0.4844, allocations: 192.4 kB / 0.519 GB, free: 33.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4845, allocations: 85.78 kB / 0.5191 GB, free: 33.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.4858, allocations: 1.025 MB / 0.5201 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4858, allocations: 32.73 kB / 0.5201 GB, free: 33.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.486, allocations: 234.4 kB / 0.5204 GB, free: 33.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.4861, allocations: 26.06 kB / 0.5204 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.4861, allocations: 7 kB / 0.5204 GB, free: 33.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4862, allocations: 364.1 kB / 0.5207 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.4863, allocations: 25.83 kB / 0.5208 GB, free: 32.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4864, allocations: 63.91 kB / 0.5208 GB, free: 32.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.4867, allocations: 92.2 kB / 0.5209 GB, free: 32.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4867, allocations: 2.875 kB / 0.5209 GB, free: 32.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003559/0.487, allocations: 169.5 kB / 0.5211 GB, free: 32.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4871, allocations: 5.75 kB / 0.5211 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4871, allocations: 6.875 kB / 0.5211 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4871, allocations: 3.984 kB / 0.5211 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.4873, allocations: 24.64 kB / 0.5211 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.4873, allocations: 2.844 kB / 0.5211 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.4874, allocations: 16.97 kB / 0.5211 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4875, allocations: 2.812 kB / 0.5211 GB, free: 32.54 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.0002455/0.4877, allocations: 223.1 kB / 0.5214 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.4878, allocations: 53.78 kB / 0.5214 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.4879, allocations: 59.19 kB / 0.5215 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4879, allocations: 3 kB / 0.5215 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4879, allocations: 0 / 0.5215 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.488, allocations: 0 / 0.5215 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.4883, allocations: 349.4 kB / 0.5218 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4883, allocations: 0 / 0.5218 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.4884, allocations: 12.75 kB / 0.5218 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4884, allocations: 0 / 0.5218 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.4884, allocations: 10.34 kB / 0.5218 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4884, allocations: 0 / 0.5218 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4884, allocations: 0 / 0.5218 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.4888, allocations: 205.9 kB / 0.522 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.489, allocations: 149.5 kB / 0.5222 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.4891, allocations: 6.844 kB / 0.5222 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4892, allocations: 2.938 kB / 0.5222 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.4893, allocations: 9.156 kB / 0.5222 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.4893, allocations: 10.36 kB / 0.5222 GB, free: 31.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009608/0.4903, allocations: 0.7621 MB / 0.5229 GB, free: 31.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4903, allocations: 0 / 0.5229 GB, free: 31.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.4907, allocations: 44.03 kB / 0.523 GB, free: 31.54 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.001308/0.492, allocations: 469.7 kB / 0.5234 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.4923, allocations: 78.16 kB / 0.5235 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4923, allocations: 8.062 kB / 0.5235 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4924, allocations: 37.67 kB / 0.5235 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.4931, allocations: 79.7 kB / 0.5236 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4946, allocations: 0.9579 MB / 0.5246 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.495, allocations: 0.8401 MB / 0.5254 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.4952, allocations: 64.52 kB / 0.5254 GB, free: 29.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.4953, allocations: 32.56 kB / 0.5255 GB, free: 29.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4953, allocations: 0 / 0.5255 GB, free: 29.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01015/0.5055, allocations: 3.464 MB / 0.5289 GB, free: 29.65 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches