Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test51",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.01502/0.01503, allocations: 104.8 kB / 15.05 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.001718/0.001718, allocations: 169.2 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.736/1.736, allocations: 170.9 MB / 187.5 MB, free: 0.8086 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.2544/0.2544, allocations: 38.09 MB / 265.1 MB, free: 3.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004651, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09032, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00234/0.09273, allocations: 1.287 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.0938, allocations: 423.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.09389, allocations: 3.938 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.09416, allocations: 27.91 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.09438, allocations: 35.89 kB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.09466, allocations: 51.81 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.09483, allocations: 55.88 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.09494, allocations: 11.97 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.09503, allocations: 27.91 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.09512, allocations: 23.92 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.09515, allocations: 3.938 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.09528, allocations: 35.92 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.09535, allocations: 15.98 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.09541, allocations: 37.64 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.09563, allocations: 80.11 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.09564, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09566, allocations: 4 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.09567, allocations: 0 / 374.4 MB, free: 10.7 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.0005727/0.09625, allocations: 428.6 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.09631, allocations: 8.031 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.09636, allocations: 34.5 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.09641, allocations: 7.906 kB / 374.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.09667, allocations: 198.8 kB / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.0967, allocations: 7.984 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.09674, allocations: 4 kB / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.09688, allocations: 41.69 kB / 375.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.09691, allocations: 0 / 375.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.09693, allocations: 0 / 375.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.09694, allocations: 4 kB / 375.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.09702, allocations: 15.98 kB / 375.1 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.09744, allocations: 284.7 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.09767, allocations: 42.61 kB / 375.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.09772, allocations: 7.984 kB / 375.5 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.09791, allocations: 55.41 kB / 375.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.09792, allocations: 3.938 kB / 375.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005049/0.09844, allocations: 113.6 kB / 375.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.0985, allocations: 55.39 kB / 375.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.09879, allocations: 211.9 kB / 375.9 MB, free: 9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.09884, allocations: 29.7 kB / 375.9 MB, free: 8.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.09892, allocations: 108.1 kB / 376 MB, free: 8.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.09896, allocations: 11.8 kB / 376 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.09899, allocations: 8 kB / 376 MB, free: 8.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.09912, allocations: 326.8 kB / 376.4 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.0992, allocations: 19.98 kB / 376.4 MB, free: 8.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.09927, allocations: 16 kB / 376.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.617e-05/0.09936, allocations: 45.7 kB / 376.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.09938, allocations: 0 / 376.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002467/0.09963, allocations: 123.2 kB / 376.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.09969, allocations: 37.7 kB / 376.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.09971, allocations: 0 / 376.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.09974, allocations: 4.031 kB / 376.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.09983, allocations: 12 kB / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.09985, allocations: 3.938 kB / 376.6 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.09993, allocations: 7.984 kB / 376.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.09995, allocations: 0 / 376.6 MB, free: 8.219 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.0001312/0.1001, allocations: 132.7 kB / 376.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1001, allocations: 11.89 kB / 376.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.1002, allocations: 13.09 kB / 376.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1002, allocations: 4 kB / 376.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1002, allocations: 8 kB / 376.8 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1002, allocations: 0 / 376.8 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.1007, allocations: 350.4 kB / 377.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1007, allocations: 0 / 377.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.1008, allocations: 4 kB / 377.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.1008, allocations: 4 kB / 377.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1008, allocations: 0 / 377.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1008, allocations: 0 / 377.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1008, allocations: 160 / 377.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.101, allocations: 187.2 kB / 377.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1011, allocations: 85.02 kB / 377.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1011, allocations: 0 / 377.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.1013, allocations: 4 kB / 377.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1013, allocations: 3.984 kB / 377.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1013, allocations: 4 kB / 377.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1015, allocations: 155.9 kB / 377.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1015, allocations: 0 / 377.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.1019, allocations: 32 kB / 377.6 MB, free: 7.145 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.001407/0.1033, allocations: 0.9738 MB / 378.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.1036, allocations: 111.4 kB / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1036, allocations: 0 / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.1037, allocations: 12 kB / 378.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.104, allocations: 19.92 kB / 378.7 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.1049, allocations: 460.2 kB / 379.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1052, allocations: 0.7082 MB / 379.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.1053, allocations: 11.94 kB / 379.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.1054, allocations: 27.42 kB / 379.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1054, allocations: 4 kB / 379.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.132, allocations: 2.666 MB / 382.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003731/0.1324, allocations: 254.2 kB / 382.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.385, allocations: 7.938 kB / 382.8 MB, free: 1.84 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat