Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 197.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007281/0.0007281, allocations: 96.22 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3065/0.3065, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.0002601, allocations: 12 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3042, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001688/0.3059, allocations: 1.428 MB / 0.5228 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3072, allocations: 1.346 MB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.3073, allocations: 0 / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3076, allocations: 50.05 kB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3078, allocations: 74 kB / 0.5242 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.308, allocations: 94.7 kB / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3081, allocations: 102.6 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.3082, allocations: 9.094 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.3083, allocations: 41.23 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.3084, allocations: 38.69 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3084, allocations: 2.781 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.3085, allocations: 39.25 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.3085, allocations: 20.33 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.3086, allocations: 65.23 kB / 0.5246 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.3087, allocations: 112.1 kB / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3088, allocations: 0 / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3088, allocations: 0 / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.3088, allocations: 0 / 0.5247 GB, free: 35.97 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.0004452/0.3092, allocations: 413.8 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3093, allocations: 11.12 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.3093, allocations: 10.44 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.3095, allocations: 208.8 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3095, allocations: 3.062 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.3095, allocations: 13.88 kB / 0.5253 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3097, allocations: 52.14 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3097, allocations: 0 / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3097, allocations: 4 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3097, allocations: 2.781 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.3098, allocations: 15.23 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.3101, allocations: 299.1 kB / 0.5257 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3103, allocations: 56.28 kB / 0.5258 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.3103, allocations: 21.61 kB / 0.5258 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3103, allocations: 6.359 kB / 0.5258 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.3105, allocations: 65.61 kB / 0.5258 GB, free: 34.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3105, allocations: 3.938 kB / 0.5258 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000493/0.311, allocations: 174.4 kB / 0.526 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.311, allocations: 54.09 kB / 0.5261 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3112, allocations: 214.7 kB / 0.5263 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.3112, allocations: 25.7 kB / 0.5263 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.3113, allocations: 105 kB / 0.5264 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.3113, allocations: 32.66 kB / 0.5264 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.3113, allocations: 0 / 0.5264 GB, free: 34.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.3114, allocations: 329.1 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.3114, allocations: 19.17 kB / 0.5268 GB, free: 34.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.3115, allocations: 36.81 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.96e-05/0.3116, allocations: 68.05 kB / 0.5269 GB, free: 34.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3116, allocations: 0 / 0.5269 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001376/0.3117, allocations: 101.5 kB / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3117, allocations: 5.969 kB / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3117, allocations: 0 / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3118, allocations: 0 / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.3118, allocations: 18.5 kB / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3119, allocations: 7.406 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.3119, allocations: 10.81 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3119, allocations: 2.938 kB / 0.527 GB, free: 33.96 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 6.744e-05/0.312, allocations: 128.9 kB / 0.5271 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.312, allocations: 13.75 kB / 0.5271 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.3121, allocations: 12.25 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3121, allocations: 2.844 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3121, allocations: 3.188 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3121, allocations: 3.938 kB / 0.5272 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3124, allocations: 396 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3124, allocations: 2.875 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.3124, allocations: 5.656 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3124, allocations: 2.75 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3125, allocations: 3.938 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3125, allocations: 6.203 kB / 0.5276 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3125, allocations: 0 / 0.5276 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3126, allocations: 205.6 kB / 0.5277 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.3127, allocations: 90.31 kB / 0.5278 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.3127, allocations: 7.938 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.397e-05/0.3128, allocations: 3.031 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.3128, allocations: 5.984 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3128, allocations: 5.938 kB / 0.5279 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.656e-05/0.3129, allocations: 163.2 kB / 0.528 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3129, allocations: 0 / 0.528 GB, free: 33.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.3132, allocations: 21.56 kB / 0.528 GB, free: 33.08 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.0009768/0.3141, allocations: 0.5352 MB / 0.5286 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3143, allocations: 58.56 kB / 0.5286 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3143, allocations: 0 / 0.5286 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.3144, allocations: 28.45 kB / 0.5286 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3147, allocations: 31.55 kB / 0.5287 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.3151, allocations: 269.1 kB / 0.5289 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.3152, allocations: 0.7072 MB / 0.5296 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.3153, allocations: 31.69 kB / 0.5296 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.3153, allocations: 18.98 kB / 0.5297 GB, free: 31.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3153, allocations: 0 / 0.5297 GB, free: 31.79 MB / 378.7 MB Notification: Performance of Templates: time 0.003548/0.3189, allocations: 1.637 MB / 0.5313 GB, free: 31.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches