Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001115, 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.446/1.446, 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.0008162/0.0008163, allocations: 98.64 kB / 295.1 MB, free: 9.719 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.4914/0.4914, allocations: 44.31 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 12 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3942, allocations: 61.91 MB / 0.5127 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.001772/0.396, allocations: 1.403 MB / 0.5141 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3972, allocations: 0.9159 MB / 0.515 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.3973, allocations: 0 / 0.515 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.3976, allocations: 37.5 kB / 0.515 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.3978, allocations: 42.14 kB / 0.5151 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.3982, allocations: 101.9 kB / 0.5152 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3984, allocations: 96.62 kB / 0.5153 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3985, allocations: 13.17 kB / 0.5153 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.3986, allocations: 35.34 kB / 0.5153 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.3987, allocations: 36.75 kB / 0.5154 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3988, allocations: 3.812 kB / 0.5154 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.3989, allocations: 56.95 kB / 0.5154 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.399, allocations: 10.27 kB / 0.5154 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.3991, allocations: 59.03 kB / 0.5155 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.3993, allocations: 122.7 kB / 0.5156 GB, free: 36.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3993, allocations: 0 / 0.5156 GB, free: 36.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3994, allocations: 4 kB / 0.5156 GB, free: 36.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.3994, allocations: 2.938 kB / 0.5156 GB, free: 36.18 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.0005033/0.3999, allocations: 385.8 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3999, allocations: 11.53 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.4, allocations: 7.875 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4002, allocations: 213 kB / 0.5162 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4002, allocations: 384 / 0.5162 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.4002, allocations: 6.812 kB / 0.5162 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.4003, allocations: 72.16 kB / 0.5163 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4004, allocations: 0 / 0.5163 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4004, allocations: 6.297 kB / 0.5163 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4004, allocations: 0 / 0.5163 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.4005, allocations: 20.33 kB / 0.5163 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.4007, allocations: 281.7 kB / 0.5166 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.4009, allocations: 63.06 kB / 0.5166 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.401, allocations: 27.09 kB / 0.5167 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.401, allocations: 7.688 kB / 0.5167 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.4012, allocations: 72.38 kB / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.4012, allocations: 4 kB / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000549/0.4018, allocations: 198.2 kB / 0.5169 GB, free: 34.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4018, allocations: 79.08 kB / 0.517 GB, free: 34.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.402, allocations: 156.1 kB / 0.5171 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.402, allocations: 32.02 kB / 0.5172 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.4021, allocations: 98.34 kB / 0.5173 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.4021, allocations: 35.27 kB / 0.5173 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.4021, allocations: 5.219 kB / 0.5173 GB, free: 34.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.4022, allocations: 324.5 kB / 0.5176 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.4023, allocations: 29.81 kB / 0.5176 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.4024, allocations: 53.44 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4025, allocations: 79.91 kB / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4025, allocations: 0 / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002113/0.4027, allocations: 119.4 kB / 0.5179 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4028, allocations: 9.969 kB / 0.5179 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4028, allocations: 0 / 0.5179 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4028, allocations: 3.062 kB / 0.5179 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4029, allocations: 21.98 kB / 0.5179 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4029, allocations: 2.844 kB / 0.5179 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.403, allocations: 9.938 kB / 0.5179 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.403, allocations: 2.781 kB / 0.5179 GB, free: 34.13 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 (13): * Single equations (assignments): 13 * 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.142e-05/0.4031, allocations: 119.7 kB / 0.518 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.4031, allocations: 14.03 kB / 0.5181 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.4032, allocations: 19.08 kB / 0.5181 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4032, allocations: 6.938 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4032, allocations: 0 / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4032, allocations: 0 / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.4036, allocations: 413 kB / 0.5185 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4036, allocations: 3.234 kB / 0.5185 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.4037, allocations: 23.5 kB / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4037, allocations: 0 / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4037, allocations: 3.781 kB / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4037, allocations: 0 / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4037, allocations: 0 / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.4039, allocations: 225.1 kB / 0.5187 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.4039, allocations: 91.92 kB / 0.5188 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.404, allocations: 6.812 kB / 0.5188 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.404, allocations: 9.969 kB / 0.5188 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.4041, allocations: 10.11 kB / 0.5188 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.4041, allocations: 5.344 kB / 0.5188 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.4042, allocations: 114.9 kB / 0.519 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4042, allocations: 0 / 0.519 GB, free: 33.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.4044, allocations: 40.16 kB / 0.519 GB, free: 33.23 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 (10): * Single equations (assignments): 8 * 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.001134/0.4056, allocations: 0.5831 MB / 0.5196 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.4059, allocations: 85.12 kB / 0.5196 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4059, allocations: 1 kB / 0.5196 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.406, allocations: 32.36 kB / 0.5197 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4063, allocations: 28.28 kB / 0.5197 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.4068, allocations: 231.1 kB / 0.5199 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.407, allocations: 0.701 MB / 0.5206 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.4071, allocations: 30.11 kB / 0.5206 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.4072, allocations: 18.41 kB / 0.5207 GB, free: 31.94 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4072, allocations: 1.188 kB / 0.5207 GB, free: 31.94 MB / 378.7 MB Notification: Performance of Templates: time 0.004832/0.412, allocations: 2.026 MB / 0.5226 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches