Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 229.5 MB / 247.7 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007852/0.0007855, allocations: 99.06 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2927/0.2927, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 12 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2839, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001553/0.2855, allocations: 1.429 MB / 0.5228 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2867, allocations: 1.349 MB / 0.5241 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.2868, allocations: 0 / 0.5241 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.2871, allocations: 40.86 kB / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2873, allocations: 75.7 kB / 0.5242 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.2875, allocations: 97.42 kB / 0.5243 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.2877, allocations: 102.1 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.2878, allocations: 11.67 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.2879, allocations: 39.23 kB / 0.5244 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.2879, allocations: 33.97 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.288, allocations: 3.031 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.2881, allocations: 39.08 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.2881, allocations: 19.81 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.2882, allocations: 61.88 kB / 0.5246 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.2884, allocations: 115.1 kB / 0.5247 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2884, allocations: 0 / 0.5247 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2884, allocations: 0 / 0.5247 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2884, allocations: 0 / 0.5247 GB, free: 35.96 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.0004337/0.2888, allocations: 396.4 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2889, allocations: 8.156 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2889, allocations: 14.28 kB / 0.5251 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.2891, allocations: 212.4 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2891, allocations: 3.781 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.2892, allocations: 12.06 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.2893, allocations: 54.47 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2893, allocations: 0 / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2893, allocations: 0 / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2894, allocations: 0 / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.2894, allocations: 21.23 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.2897, allocations: 296.4 kB / 0.5257 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.2899, allocations: 62.81 kB / 0.5257 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.29, allocations: 21.11 kB / 0.5258 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.29, allocations: 0 / 0.5258 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.2902, allocations: 68.41 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2902, allocations: 0 / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005246/0.2907, allocations: 193 kB / 0.526 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.2908, allocations: 53.94 kB / 0.5261 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.2909, allocations: 186.8 kB / 0.5262 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.291, allocations: 33.08 kB / 0.5263 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.291, allocations: 97.48 kB / 0.5264 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.291, allocations: 25.86 kB / 0.5264 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.2911, allocations: 2.719 kB / 0.5264 GB, free: 34.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.2911, allocations: 332.8 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.2912, allocations: 22.28 kB / 0.5267 GB, free: 34.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.2912, allocations: 38.78 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2914, allocations: 58.03 kB / 0.5268 GB, free: 34.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2914, allocations: 0 / 0.5268 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.2916, allocations: 101.8 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2916, allocations: 5.719 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2916, allocations: 4.031 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2916, allocations: 0 / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.2917, allocations: 15.62 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2917, allocations: 2.938 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.2918, allocations: 18.12 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2918, allocations: 2.562 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 7.534e-05/0.2919, allocations: 127 kB / 0.5271 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.2919, allocations: 9.906 kB / 0.5271 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.292, allocations: 19.69 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.292, allocations: 2.438 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.292, allocations: 3.938 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.292, allocations: 3.938 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.2924, allocations: 393.7 kB / 0.5275 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2924, allocations: 0 / 0.5275 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.2924, allocations: 8.75 kB / 0.5275 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2924, allocations: 0 / 0.5275 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2924, allocations: 11.34 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2924, allocations: 2.938 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2924, allocations: 0 / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.2926, allocations: 203.9 kB / 0.5277 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.2927, allocations: 87.55 kB / 0.5278 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2927, allocations: 7.938 kB / 0.5278 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.2928, allocations: 2.781 kB / 0.5278 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.2928, allocations: 12.52 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2929, allocations: 3 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.293, allocations: 149.6 kB / 0.528 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.293, allocations: 0 / 0.528 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00026/0.2932, allocations: 21.56 kB / 0.528 GB, free: 33.09 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.00106/0.2943, allocations: 0.5203 MB / 0.5285 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.2945, allocations: 55.83 kB / 0.5285 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2945, allocations: 0 / 0.5285 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.2946, allocations: 37.16 kB / 0.5286 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.295, allocations: 35.39 kB / 0.5286 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.2954, allocations: 268.3 kB / 0.5289 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2955, allocations: 0.7063 MB / 0.5296 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.2956, allocations: 17.14 kB / 0.5296 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.2956, allocations: 16.62 kB / 0.5296 GB, free: 31.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2956, allocations: 0 / 0.5296 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.003496/0.2991, allocations: 1.641 MB / 0.5312 GB, free: 31.62 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches