Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test37",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.01076/0.01077, allocations: 104.1 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.001107/0.001107, allocations: 170.7 kB / 15.94 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.587/1.587, allocations: 170.9 MB / 187.6 MB, free: 0.9492 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.244/0.244, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09278, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002208/0.09505, allocations: 1.263 MB / 373.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.09608, allocations: 395.5 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.09615, allocations: 0 / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.09647, allocations: 59.8 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.09667, allocations: 39.94 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.0969, allocations: 55.8 kB / 374.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.09706, allocations: 51.88 kB / 374.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.09713, allocations: 7.984 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.09722, allocations: 31.89 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.09732, allocations: 23.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.09735, allocations: 4 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.09745, allocations: 23.98 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.09751, allocations: 15.92 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.09756, allocations: 33.64 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.09775, allocations: 72.06 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.09777, allocations: 0 / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.09778, allocations: 0 / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09779, allocations: 0 / 374.4 MB, free: 10.77 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005091/0.09831, allocations: 396.9 kB / 374.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.09836, allocations: 11.97 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.09841, allocations: 38.55 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.09846, allocations: 7.906 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.0987, allocations: 200.7 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.09873, allocations: 0 / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.09875, allocations: 4 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.09889, allocations: 41.62 kB / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.09891, allocations: 0 / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.09893, allocations: 0 / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.09894, allocations: 0 / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.099, allocations: 8 kB / 375 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.09923, allocations: 181.6 kB / 375.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.712e-05/0.09932, allocations: 26.58 kB / 375.2 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.09936, allocations: 3.938 kB / 375.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.09953, allocations: 67.39 kB / 375.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.09955, allocations: 0 / 375.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002309/0.09979, allocations: 65.59 kB / 375.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.09984, allocations: 51.41 kB / 375.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1001, allocations: 168.8 kB / 375.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1001, allocations: 33.7 kB / 375.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.1002, allocations: 92.14 kB / 375.7 MB, free: 9.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1003, allocations: 7.844 kB / 375.7 MB, free: 9.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.1003, allocations: 0 / 375.7 MB, free: 9.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1004, allocations: 322.8 kB / 376 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.1005, allocations: 19.98 kB / 376.1 MB, free: 8.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.81e-05/0.1005, allocations: 15.94 kB / 376.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.1006, allocations: 45.66 kB / 376.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1006, allocations: 0 / 376.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001997/0.1008, allocations: 99.3 kB / 376.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.1009, allocations: 41.69 kB / 376.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1009, allocations: 0 / 376.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1009, allocations: 0 / 376.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.101, allocations: 4.188 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.101, allocations: 0 / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.1011, allocations: 11.91 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1011, allocations: 4 kB / 376.3 MB, free: 8.59 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 (5): * Single equations (assignments): 4 * 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.0001185/0.1013, allocations: 130.8 kB / 376.4 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1013, allocations: 7.844 kB / 376.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.1014, allocations: 12.25 kB / 376.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1014, allocations: 7.984 kB / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1014, allocations: 3.938 kB / 376.4 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1014, allocations: 0 / 376.4 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.1017, allocations: 169.7 kB / 376.6 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.1017, allocations: 3.953 kB / 376.6 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.1018, allocations: 4 kB / 376.6 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1018, allocations: 0 / 376.6 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1018, allocations: 4 kB / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1018, allocations: 80 / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.1018, allocations: 7.969 kB / 376.6 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.102, allocations: 84.97 kB / 376.7 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.1021, allocations: 84.97 kB / 376.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1021, allocations: 4 kB / 376.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.1022, allocations: 4 kB / 376.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1022, allocations: 3.984 kB / 376.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1023, allocations: 4 kB / 376.8 MB, free: 7.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1024, allocations: 134.8 kB / 376.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1024, allocations: 0 / 376.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.1027, allocations: 20 kB / 377 MB, free: 7.812 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 (3): * Single equations (assignments): 2 * 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.001169/0.1039, allocations: 0.8549 MB / 377.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1041, allocations: 95.33 kB / 377.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1041, allocations: 0 / 377.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.1042, allocations: 7.984 kB / 377.9 MB, free: 6.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1044, allocations: 12 kB / 377.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.1051, allocations: 403.6 kB / 378.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1054, allocations: 0.7004 MB / 379 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.1055, allocations: 4.188 kB / 379 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.1056, allocations: 27.42 kB / 379 MB, free: 5.703 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1056, allocations: 3.938 kB / 379.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.1262, allocations: 2.266 MB / 381.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003599/0.1266, allocations: 246.2 kB / 381.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.332, allocations: 0 / 381.6 MB, free: 3.137 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat