Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009432/0.0009432, allocations: 199.7 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007466/0.0007466, allocations: 94.75 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.3052/0.3052, allocations: 45.02 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 12 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 63.11 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001452/0.2646, allocations: 1.427 MB / 0.5228 GB, free: 37.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2657, allocations: 1.345 MB / 0.5241 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.2658, allocations: 0 / 0.5241 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.266, allocations: 40.2 kB / 0.5241 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.2662, allocations: 79.14 kB / 0.5242 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.2664, allocations: 94.33 kB / 0.5243 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2666, allocations: 100.7 kB / 0.5244 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.2667, allocations: 13.39 kB / 0.5244 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.2667, allocations: 37.02 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.2668, allocations: 34.66 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2668, allocations: 2.75 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.2669, allocations: 40.2 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.2669, allocations: 23.64 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.267, allocations: 60.91 kB / 0.5246 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2671, allocations: 109.3 kB / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2671, allocations: 0 / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2671, allocations: 4 kB / 0.5247 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.2672, allocations: 0 / 0.5247 GB, free: 35.99 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.0003384/0.2675, allocations: 395.3 kB / 0.5251 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.2675, allocations: 8.406 kB / 0.5251 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.2676, allocations: 14.25 kB / 0.5251 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.2677, allocations: 209.4 kB / 0.5253 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2678, allocations: 10.27 kB / 0.5253 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.2678, allocations: 10.84 kB / 0.5253 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.2679, allocations: 55.08 kB / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2679, allocations: 0 / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.268, allocations: 0 / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.268, allocations: 2.812 kB / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.121e-05/0.268, allocations: 18.33 kB / 0.5254 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.2683, allocations: 289.6 kB / 0.5257 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2684, allocations: 65.88 kB / 0.5257 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.2685, allocations: 20.19 kB / 0.5258 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2685, allocations: 0 / 0.5258 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.2686, allocations: 74.62 kB / 0.5258 GB, free: 34.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.2686, allocations: 0 / 0.5258 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004275/0.2691, allocations: 173.3 kB / 0.526 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.2691, allocations: 66.09 kB / 0.526 GB, free: 34.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2692, allocations: 194.1 kB / 0.5262 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2693, allocations: 28.02 kB / 0.5263 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.2693, allocations: 103 kB / 0.5264 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2693, allocations: 21.41 kB / 0.5264 GB, free: 34.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.2693, allocations: 4 kB / 0.5264 GB, free: 34.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.2694, allocations: 325 kB / 0.5267 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.2694, allocations: 21.88 kB / 0.5267 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.2695, allocations: 38.08 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.2696, allocations: 59.72 kB / 0.5268 GB, free: 34.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2696, allocations: 3.938 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001404/0.2697, allocations: 98.84 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.2698, allocations: 2.75 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2698, allocations: 3.25 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2698, allocations: 4.031 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.2699, allocations: 21.2 kB / 0.5269 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2699, allocations: 4 kB / 0.5269 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.2699, allocations: 10.72 kB / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2699, allocations: 6.562 kB / 0.527 GB, free: 34 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 5.946e-05/0.27, allocations: 121 kB / 0.5271 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.27, allocations: 9.844 kB / 0.5271 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.2701, allocations: 18.25 kB / 0.5271 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2701, allocations: 6.562 kB / 0.5271 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2701, allocations: 3.938 kB / 0.5271 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2701, allocations: 3.938 kB / 0.5271 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.2704, allocations: 392.8 kB / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2704, allocations: 0 / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.2704, allocations: 8.531 kB / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2704, allocations: 0 / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2705, allocations: 11.72 kB / 0.5275 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2705, allocations: 7.5 kB / 0.5275 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2705, allocations: 0 / 0.5275 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.2706, allocations: 198.7 kB / 0.5277 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.2707, allocations: 90.84 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.2707, allocations: 6.875 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.2708, allocations: 2.906 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.2708, allocations: 14.31 kB / 0.5278 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2708, allocations: 2.938 kB / 0.5278 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.327e-05/0.2709, allocations: 155.2 kB / 0.528 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2709, allocations: 0 / 0.528 GB, free: 33.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.2711, allocations: 21.28 kB / 0.528 GB, free: 33.12 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.0008738/0.272, allocations: 0.5252 MB / 0.5285 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.2722, allocations: 57.42 kB / 0.5286 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2722, allocations: 0 / 0.5286 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.2722, allocations: 29.17 kB / 0.5286 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.0002863/0.2725, allocations: 31.95 kB / 0.5286 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.2729, allocations: 260.7 kB / 0.5289 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.273, allocations: 0.7065 MB / 0.5295 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.273, allocations: 19.78 kB / 0.5296 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.2731, allocations: 17.41 kB / 0.5296 GB, free: 31.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2731, allocations: 2.938 kB / 0.5296 GB, free: 31.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003634/0.2767, allocations: 1.647 MB / 0.5312 GB, free: 31.65 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches