Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01102/0.01102, allocations: 104.3 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00115/0.00115, allocations: 166.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.746/1.746, allocations: 170.9 MB / 187.5 MB, free: 0.8516 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3048/0.3048, allocations: 38.08 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09, allocations: 48.72 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002307/0.09236, allocations: 1.286 MB / 373.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.09343, allocations: 419.4 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.0935, allocations: 0 / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.09384, allocations: 75.77 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.09405, allocations: 51.91 kB / 374.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.0943, allocations: 55.81 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.09447, allocations: 59.84 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.09458, allocations: 7.984 kB / 374.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.09467, allocations: 31.91 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.09479, allocations: 43.84 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.09482, allocations: 4 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.09496, allocations: 31.92 kB / 374.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.09502, allocations: 15.92 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.09507, allocations: 33.7 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.09529, allocations: 88.09 kB / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.09531, allocations: 4 kB / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09532, allocations: 0 / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.09534, allocations: 0 / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000559/0.0959, allocations: 424.6 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.09596, allocations: 8.031 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.09601, allocations: 34.56 kB / 374.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.09608, allocations: 7.906 kB / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.09635, allocations: 199.5 kB / 375.1 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.09638, allocations: 4 kB / 375.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.09641, allocations: 0 / 375.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.09655, allocations: 45.67 kB / 375.2 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.09658, allocations: 0 / 375.2 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.0966, allocations: 4 kB / 375.2 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.09662, allocations: 4 kB / 375.2 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.09669, allocations: 15.92 kB / 375.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.09712, allocations: 288.9 kB / 375.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.09736, allocations: 38.56 kB / 375.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.09739, allocations: 0 / 375.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.09756, allocations: 67.42 kB / 375.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.09758, allocations: 0 / 375.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004805/0.09807, allocations: 125.2 kB / 375.7 MB, free: 9.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.09812, allocations: 51.41 kB / 375.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.09839, allocations: 190.2 kB / 376 MB, free: 8.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.09843, allocations: 29.7 kB / 376 MB, free: 8.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.09851, allocations: 100.1 kB / 376.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.09855, allocations: 15.81 kB / 376.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.09857, allocations: 4 kB / 376.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.09872, allocations: 326.8 kB / 376.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.09879, allocations: 19.92 kB / 376.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.09886, allocations: 16 kB / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.09896, allocations: 45.7 kB / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.09898, allocations: 0 / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002651/0.09926, allocations: 127.2 kB / 376.6 MB, free: 8.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.09931, allocations: 33.7 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.09933, allocations: 0 / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.09936, allocations: 4 kB / 376.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.09946, allocations: 8 kB / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.09947, allocations: 3.938 kB / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.09955, allocations: 7.984 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.09959, allocations: 4 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.09973, allocations: 126.8 kB / 376.8 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.09977, allocations: 7.906 kB / 376.8 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.09984, allocations: 16.3 kB / 376.8 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.09985, allocations: 3.938 kB / 376.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.09987, allocations: 4 kB / 376.8 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.09988, allocations: 0 / 376.8 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.1003, allocations: 350.4 kB / 377.2 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1004, allocations: 0 / 377.2 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.1004, allocations: 4 kB / 377.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1004, allocations: 0 / 377.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1005, allocations: 0 / 377.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.1005, allocations: 4 kB / 377.2 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1005, allocations: 0 / 377.2 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1007, allocations: 175.3 kB / 377.4 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1008, allocations: 89 kB / 377.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1008, allocations: 4.281 kB / 377.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.1009, allocations: 7.938 kB / 377.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.101, allocations: 7.984 kB / 377.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.101, allocations: 0 / 377.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002333/0.1012, allocations: 152.1 kB / 377.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1013, allocations: 4 kB / 377.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.1016, allocations: 27.92 kB / 377.7 MB, free: 7.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/0.1031, allocations: 0.9635 MB / 378.6 MB, free: 6.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1034, allocations: 103.4 kB / 378.7 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1034, allocations: 0 / 378.7 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/0.1035, allocations: 15.94 kB / 378.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1038, allocations: 19.92 kB / 378.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.1047, allocations: 456.2 kB / 379.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.105, allocations: 0.7043 MB / 379.9 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1051, allocations: 12.14 kB / 379.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1052, allocations: 31.42 kB / 379.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1052, allocations: 0 / 379.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.126, allocations: 2.62 MB / 382.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004133/0.1265, allocations: 245.1 kB / 382.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.49, allocations: 0 / 382.8 MB, free: 1.867 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat