Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 197.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, 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.0007589/0.0007591, allocations: 92.22 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3018/0.3018, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002596, allocations: 12 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.276, allocations: 63.1 MB / 0.5214 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001578/0.2776, allocations: 1.427 MB / 0.5228 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2789, allocations: 1.347 MB / 0.5241 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.279, allocations: 0 / 0.5241 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.2793, allocations: 37.12 kB / 0.5241 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.2796, allocations: 78 kB / 0.5242 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.2798, allocations: 97.38 kB / 0.5243 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2799, allocations: 97.88 kB / 0.5244 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.28, allocations: 12.64 kB / 0.5244 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.2801, allocations: 44.38 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.2801, allocations: 30.52 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2802, allocations: 3.031 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.607e-05/0.2802, allocations: 42.67 kB / 0.5245 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.2803, allocations: 19.58 kB / 0.5245 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.2804, allocations: 61.16 kB / 0.5246 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2805, allocations: 110 kB / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2805, allocations: 0 / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2805, allocations: 4 kB / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2805, allocations: 0 / 0.5247 GB, free: 35.91 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.0003717/0.2809, allocations: 394.5 kB / 0.5251 GB, free: 35.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2809, allocations: 8.594 kB / 0.5251 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.281, allocations: 14.66 kB / 0.5251 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2811, allocations: 214.8 kB / 0.5253 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2812, allocations: 6.578 kB / 0.5253 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.2812, allocations: 4.125 kB / 0.5253 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2813, allocations: 62.66 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2813, allocations: 0 / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2813, allocations: 0 / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2814, allocations: 0 / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.2814, allocations: 19.08 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.2817, allocations: 292.6 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2818, allocations: 61.06 kB / 0.5257 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.2819, allocations: 17.98 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.2819, allocations: 0 / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.282, allocations: 77.22 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.282, allocations: 0 / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000433/0.2825, allocations: 177.4 kB / 0.526 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.2825, allocations: 66.19 kB / 0.5261 GB, free: 34.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2827, allocations: 187.7 kB / 0.5262 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.2827, allocations: 29.7 kB / 0.5263 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.2827, allocations: 100.6 kB / 0.5264 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2827, allocations: 28.39 kB / 0.5264 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.2827, allocations: 0 / 0.5264 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.2828, allocations: 324.8 kB / 0.5267 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.2828, allocations: 22.3 kB / 0.5267 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.2829, allocations: 44 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.283, allocations: 56.48 kB / 0.5268 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.283, allocations: 6.844 kB / 0.5268 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001462/0.2832, allocations: 89.17 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2832, allocations: 8.688 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2832, allocations: 0 / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2832, allocations: 6.969 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.2833, allocations: 15.53 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.2833, allocations: 2.75 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.2833, allocations: 15.31 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2834, allocations: 6.938 kB / 0.527 GB, free: 33.91 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.217e-05/0.2834, allocations: 124.7 kB / 0.5271 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.2834, allocations: 9.406 kB / 0.5271 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.2835, allocations: 12.41 kB / 0.5271 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2835, allocations: 6.938 kB / 0.5271 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2835, allocations: 0 / 0.5271 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2835, allocations: 11.34 kB / 0.5271 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.2838, allocations: 395.9 kB / 0.5275 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2838, allocations: 0 / 0.5275 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.2839, allocations: 8.75 kB / 0.5275 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2839, allocations: 0 / 0.5275 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2839, allocations: 6.781 kB / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2839, allocations: 32 / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2839, allocations: 4 kB / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.2841, allocations: 209.4 kB / 0.5277 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.2841, allocations: 90.16 kB / 0.5278 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2841, allocations: 3.938 kB / 0.5278 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.2842, allocations: 6.781 kB / 0.5278 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.2842, allocations: 10.27 kB / 0.5278 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2842, allocations: 5.719 kB / 0.5278 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.209e-05/0.2843, allocations: 149.5 kB / 0.528 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2843, allocations: 0 / 0.528 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.2846, allocations: 23.5 kB / 0.528 GB, free: 33.03 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.000861/0.2854, allocations: 0.5223 MB / 0.5285 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.2856, allocations: 53.84 kB / 0.5285 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2856, allocations: 0 / 0.5285 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.794e-05/0.2856, allocations: 28.17 kB / 0.5286 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2859, allocations: 35.02 kB / 0.5286 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.2863, allocations: 260.6 kB / 0.5289 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.2864, allocations: 0.7102 MB / 0.5296 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.2865, allocations: 24.05 kB / 0.5296 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2865, allocations: 15.53 kB / 0.5296 GB, free: 31.75 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.2865, allocations: 0 / 0.5296 GB, free: 31.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003405/0.2899, allocations: 1.64 MB / 0.5312 GB, free: 31.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches