Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 195.5 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.23/1.23, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007409/0.0007408, allocations: 96.67 kB / 299.8 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.3018/0.3018, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002363, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2658, allocations: 63.11 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001579/0.2674, allocations: 1.422 MB / 0.5228 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2687, allocations: 1.348 MB / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.2688, allocations: 0 / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.269, allocations: 42.84 kB / 0.5241 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.2693, allocations: 82.97 kB / 0.5242 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.2695, allocations: 90.83 kB / 0.5243 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2696, allocations: 103.1 kB / 0.5244 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.2697, allocations: 12.22 kB / 0.5244 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.2698, allocations: 43.33 kB / 0.5244 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.2698, allocations: 31.23 kB / 0.5245 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2698, allocations: 0 / 0.5245 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.2699, allocations: 40.55 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.27, allocations: 24.05 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.27, allocations: 57.2 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.2702, allocations: 116 kB / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.2702, allocations: 3.406 kB / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2702, allocations: 0 / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2702, allocations: 3.938 kB / 0.5247 GB, free: 36 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.0003522/0.2706, allocations: 392.5 kB / 0.5251 GB, free: 35.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2706, allocations: 7.812 kB / 0.5251 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.2706, allocations: 14.03 kB / 0.5251 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.2708, allocations: 214.8 kB / 0.5253 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2709, allocations: 3.219 kB / 0.5253 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2709, allocations: 19.09 kB / 0.5253 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.271, allocations: 47.39 kB / 0.5254 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.271, allocations: 4 kB / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.271, allocations: 0 / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.271, allocations: 2.719 kB / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.296e-05/0.2711, allocations: 15.97 kB / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.2714, allocations: 294.1 kB / 0.5257 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.2715, allocations: 61.91 kB / 0.5257 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.2716, allocations: 17.36 kB / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2716, allocations: 0 / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.2717, allocations: 75.48 kB / 0.5258 GB, free: 34.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.2717, allocations: 3.938 kB / 0.5258 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004249/0.2722, allocations: 173.9 kB / 0.526 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.2722, allocations: 57.23 kB / 0.5261 GB, free: 34.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2723, allocations: 192.8 kB / 0.5262 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.2724, allocations: 25.7 kB / 0.5263 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.2724, allocations: 101.1 kB / 0.5264 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2724, allocations: 29.92 kB / 0.5264 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.2724, allocations: 6.906 kB / 0.5264 GB, free: 34.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.2725, allocations: 329.3 kB / 0.5267 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.2725, allocations: 20.31 kB / 0.5267 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.2726, allocations: 35.69 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.2727, allocations: 53.14 kB / 0.5268 GB, free: 34.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2727, allocations: 0 / 0.5268 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001374/0.2728, allocations: 103.2 kB / 0.5269 GB, free: 34.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2729, allocations: 9.719 kB / 0.5269 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2729, allocations: 0 / 0.5269 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.2729, allocations: 0 / 0.5269 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.273, allocations: 21.94 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.273, allocations: 0 / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.273, allocations: 11.19 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.273, allocations: 2.969 kB / 0.527 GB, free: 34.02 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.293e-05/0.2731, allocations: 129.3 kB / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2731, allocations: 9.531 kB / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.2732, allocations: 19.38 kB / 0.5271 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2732, allocations: 3.75 kB / 0.5271 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2732, allocations: 6.906 kB / 0.5271 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2732, allocations: 3.938 kB / 0.5271 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.2735, allocations: 389.8 kB / 0.5275 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2735, allocations: 0 / 0.5275 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.2735, allocations: 8.719 kB / 0.5275 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2736, allocations: 0 / 0.5275 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2736, allocations: 14.69 kB / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2736, allocations: 0 / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2736, allocations: 2.969 kB / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.2737, allocations: 202.2 kB / 0.5277 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.2738, allocations: 95.8 kB / 0.5278 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2738, allocations: 3.938 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.2739, allocations: 7.156 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.2739, allocations: 6.719 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.2739, allocations: 7.094 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.755e-05/0.274, allocations: 144.4 kB / 0.528 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.274, allocations: 0 / 0.528 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.2743, allocations: 25.72 kB / 0.528 GB, free: 33.13 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.0009127/0.2752, allocations: 0.5314 MB / 0.5285 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.2753, allocations: 52.03 kB / 0.5286 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2753, allocations: 0 / 0.5286 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.758e-05/0.2754, allocations: 33.53 kB / 0.5286 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.2757, allocations: 31.02 kB / 0.5286 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.2761, allocations: 268.2 kB / 0.5289 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.2762, allocations: 0.7024 MB / 0.5296 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.2762, allocations: 17.23 kB / 0.5296 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.2763, allocations: 19.52 kB / 0.5296 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.2763, allocations: 0 / 0.5296 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.003451/0.2797, allocations: 1.646 MB / 0.5312 GB, free: 31.66 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches