Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test17",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.01568/0.01569, allocations: 106 kB / 15.06 MB, free: 5.559 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.001908/0.001907, allocations: 170.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.715/1.715, allocations: 170.9 MB / 187.6 MB, free: 0.9805 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.2558/0.2558, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006255/0.0006256, allocations: 20 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09212, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002369/0.09455, allocations: 1.287 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.09561, allocations: 419.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.09569, allocations: 4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.09598, allocations: 27.84 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.09618, allocations: 31.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.09643, allocations: 55.8 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.09661, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.09672, allocations: 15.98 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.09682, allocations: 23.92 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.0969, allocations: 19.91 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.09693, allocations: 4 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.09708, allocations: 35.88 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.09714, allocations: 11.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.09719, allocations: 33.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.09742, allocations: 80.11 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.09743, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.432e-06/0.09745, allocations: 4 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.09746, allocations: 0 / 374.4 MB, free: 10.73 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.0005743/0.09805, allocations: 408.7 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.0981, allocations: 8.031 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.09815, allocations: 30.56 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.0982, allocations: 7.906 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.09844, allocations: 196.3 kB / 375 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.09847, allocations: 0 / 375 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.09851, allocations: 4 kB / 375 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.09866, allocations: 49.61 kB / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.09869, allocations: 0 / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.09871, allocations: 4 kB / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.09872, allocations: 3.938 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.0988, allocations: 15.98 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.09922, allocations: 276.8 kB / 375.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.09947, allocations: 42.5 kB / 375.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.09951, allocations: 0 / 375.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.09969, allocations: 71.47 kB / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.09971, allocations: 0 / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004608/0.1002, allocations: 113.3 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1002, allocations: 51.41 kB / 375.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1004, allocations: 161.9 kB / 375.8 MB, free: 9.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1005, allocations: 25.7 kB / 375.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.1006, allocations: 92.14 kB / 375.9 MB, free: 8.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.1006, allocations: 27.73 kB / 375.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.1006, allocations: 0 / 375.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1008, allocations: 322.8 kB / 376.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.1009, allocations: 12 kB / 376.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.1009, allocations: 23.98 kB / 376.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.101, allocations: 49.64 kB / 376.3 MB, free: 8.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.101, allocations: 0 / 376.3 MB, free: 8.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002544/0.1013, allocations: 111.3 kB / 376.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.1014, allocations: 37.7 kB / 376.5 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1014, allocations: 3.984 kB / 376.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1014, allocations: 4 kB / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1015, allocations: 8 kB / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1015, allocations: 7.875 kB / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.1016, allocations: 7.953 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1016, allocations: 4 kB / 376.5 MB, free: 8.348 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.0001554/0.1018, allocations: 123 kB / 376.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.1018, allocations: 8.125 kB / 376.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.1019, allocations: 12.31 kB / 376.7 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.1019, allocations: 11.98 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1019, allocations: 0 / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.102, allocations: 0 / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.1024, allocations: 334.5 kB / 377 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1024, allocations: 3.938 kB / 377 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1025, allocations: 4 kB / 377 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1025, allocations: 0 / 377 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1025, allocations: 0 / 377 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1025, allocations: 4 kB / 377 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1025, allocations: 3.953 kB / 377 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1028, allocations: 171.5 kB / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.1029, allocations: 85 kB / 377.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1029, allocations: 192 / 377.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.103, allocations: 8 kB / 377.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1031, allocations: 0 / 377.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.1031, allocations: 11.94 kB / 377.3 MB, free: 7.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1033, allocations: 119.2 kB / 377.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1033, allocations: 4 kB / 377.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.1036, allocations: 28 kB / 377.4 MB, free: 7.332 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.001478/0.1051, allocations: 0.9688 MB / 378.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1054, allocations: 103.3 kB / 378.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1054, allocations: 0 / 378.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.1055, allocations: 16 kB / 378.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1059, allocations: 23.88 kB / 378.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.1068, allocations: 399 kB / 378.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1071, allocations: 0.7043 MB / 379.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1072, allocations: 15.8 kB / 379.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.1073, allocations: 27.36 kB / 379.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1073, allocations: 8 kB / 379.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.1295, allocations: 2.453 MB / 382.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004005/0.13, allocations: 254.1 kB / 382.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.555, allocations: 0 / 382.4 MB, free: 2.309 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat