Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 174.1 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.505/1.505, 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.0009133/0.0009132, allocations: 97.25 kB / 295.1 MB, free: 9.488 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.4267/0.4267, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003317, allocations: 15.92 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4204, allocations: 61.9 MB / 0.5127 GB, free: 37.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002059/0.4225, allocations: 1.396 MB / 0.5141 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.4238, allocations: 0.8932 MB / 0.515 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.4238, allocations: 0 / 0.515 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.4242, allocations: 74.84 kB / 0.5151 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.4244, allocations: 78.64 kB / 0.5151 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.4247, allocations: 92.53 kB / 0.5152 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.4249, allocations: 100.4 kB / 0.5153 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.425, allocations: 7.734 kB / 0.5153 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.4251, allocations: 49.2 kB / 0.5154 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4252, allocations: 55.47 kB / 0.5154 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.4252, allocations: 6.688 kB / 0.5154 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.4253, allocations: 35.33 kB / 0.5155 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.4254, allocations: 20.12 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.4255, allocations: 63.81 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.4257, allocations: 108.6 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4257, allocations: 0 / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4257, allocations: 0 / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.4257, 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.0005215/0.4262, allocations: 414.5 kB / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4263, allocations: 12.81 kB / 0.5161 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.4263, allocations: 14.78 kB / 0.5161 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4266, allocations: 207 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4266, allocations: 5.625 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.4266, allocations: 6.812 kB / 0.5163 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4268, allocations: 52.44 kB / 0.5163 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4268, allocations: 0 / 0.5163 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4268, allocations: 1.438 kB / 0.5163 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4268, allocations: 0 / 0.5163 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.4269, allocations: 28.91 kB / 0.5164 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.4272, allocations: 287.5 kB / 0.5166 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4274, allocations: 56.61 kB / 0.5167 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.4275, allocations: 17.98 kB / 0.5167 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.4275, allocations: 8.422 kB / 0.5167 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.4277, allocations: 71.56 kB / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4277, allocations: 0 / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005523/0.4283, allocations: 178.9 kB / 0.5169 GB, free: 34.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.4283, allocations: 51.41 kB / 0.517 GB, free: 34.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4285, allocations: 212.3 kB / 0.5172 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.4286, allocations: 28.48 kB / 0.5172 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.4286, allocations: 113 kB / 0.5173 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.4286, allocations: 25.92 kB / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.4286, allocations: 0 / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.4287, allocations: 327.9 kB / 0.5177 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.4288, allocations: 20.77 kB / 0.5177 GB, free: 34.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.4288, allocations: 35.94 kB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.429, allocations: 64.52 kB / 0.5178 GB, free: 34.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.429, allocations: 0 / 0.5178 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001641/0.4292, allocations: 102.6 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4292, allocations: 10 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4292, allocations: 0 / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4292, allocations: 0 / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.4293, allocations: 14.12 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4294, allocations: 2.953 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.4294, allocations: 10.62 kB / 0.5179 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4294, allocations: 6.969 kB / 0.5179 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 8.639e-05/0.4295, allocations: 125 kB / 0.518 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.4295, allocations: 13.34 kB / 0.5181 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.4296, allocations: 18.09 kB / 0.5181 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4296, allocations: 3.062 kB / 0.5181 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4296, allocations: 0 / 0.5181 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4296, allocations: 3.938 kB / 0.5181 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.43, allocations: 403.8 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.43, allocations: 0 / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.43, allocations: 12.84 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4301, allocations: 3.469 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4301, allocations: 6.844 kB / 0.5185 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4301, allocations: 0 / 0.5185 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4301, allocations: 0 / 0.5185 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.4303, allocations: 198.3 kB / 0.5187 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.4303, allocations: 93.38 kB / 0.5188 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4303, allocations: 3.938 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.4304, allocations: 10.14 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.4305, allocations: 5.438 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4305, allocations: 13.92 kB / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4306, allocations: 156.4 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4306, allocations: 3.938 kB / 0.519 GB, free: 33.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000248/0.4309, allocations: 31.3 kB / 0.519 GB, free: 33.11 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.001035/0.4319, allocations: 0.5223 MB / 0.5195 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.4321, allocations: 63.16 kB / 0.5196 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4321, allocations: 0 / 0.5196 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-05/0.4322, allocations: 28.02 kB / 0.5196 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4325, allocations: 31.72 kB / 0.5196 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.4331, allocations: 268.3 kB / 0.5199 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.4332, allocations: 0.7095 MB / 0.5206 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.4333, allocations: 12.8 kB / 0.5206 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.4333, allocations: 20.58 kB / 0.5206 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4334, allocations: 4 kB / 0.5206 GB, free: 31.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004363/0.4377, allocations: 1.625 MB / 0.5222 GB, free: 31.66 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches