Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test56",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.01085/0.01085, 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.00112/0.00112, allocations: 170.1 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.571/1.571, 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.2542/0.2542, allocations: 38.09 MB / 265.1 MB, free: 3.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004713, allocations: 20 kB / 323.6 MB, free: 29.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.08993, allocations: 48.7 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00233/0.09231, allocations: 1.287 MB / 373.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.09427, allocations: 0.9998 MB / 374.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.09436, allocations: 3.938 kB / 374.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.09463, allocations: 19.97 kB / 374.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.09484, allocations: 39.83 kB / 374.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.09509, allocations: 59.8 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.09524, allocations: 47.88 kB / 374.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.09535, allocations: 11.98 kB / 374.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.09544, allocations: 27.91 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.09561, allocations: 27.86 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.09564, allocations: 0 / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.09582, allocations: 51.91 kB / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.09587, allocations: 7.984 kB / 374.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.09593, allocations: 37.64 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.09621, allocations: 92.09 kB / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.09622, allocations: 0 / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.09623, allocations: 0 / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.09625, allocations: 0 / 375 MB, free: 10.09 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.000582/0.09684, allocations: 404.8 kB / 375.4 MB, free: 9.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.09689, allocations: 8.031 kB / 375.4 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.09695, allocations: 42.55 kB / 375.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.097, allocations: 0 / 375.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.09723, allocations: 194.8 kB / 375.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.09726, allocations: 0 / 375.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.09729, allocations: 7.938 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.09746, allocations: 63.33 kB / 375.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.09749, allocations: 7.984 kB / 375.7 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.09751, allocations: 4 kB / 375.7 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.09753, allocations: 0 / 375.7 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.0976, allocations: 15.98 kB / 375.7 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.09801, allocations: 268.9 kB / 376 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.09826, allocations: 46.5 kB / 376 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.09829, allocations: 4 kB / 376 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.09847, allocations: 59.48 kB / 376.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.09849, allocations: 0 / 376.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004483/0.09894, allocations: 109.4 kB / 376.2 MB, free: 8.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.09901, allocations: 77.11 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.09918, allocations: 145 kB / 376.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.09922, allocations: 25.7 kB / 376.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.0993, allocations: 104.1 kB / 376.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.09933, allocations: 7.812 kB / 376.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.09935, allocations: 4 kB / 376.6 MB, free: 8.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.09948, allocations: 322.8 kB / 376.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.09955, allocations: 20 kB / 376.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.09964, allocations: 37.64 kB / 376.9 MB, free: 7.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.189e-05/0.09975, allocations: 45.7 kB / 377 MB, free: 7.859 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.09976, allocations: 0 / 377 MB, free: 7.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002511/0.1, allocations: 131.2 kB / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.1001, allocations: 33.64 kB / 377.1 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1001, allocations: 4 kB / 377.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1001, allocations: 0 / 377.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.1002, allocations: 11.98 kB / 377.2 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1002, allocations: 96 / 377.2 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.1003, allocations: 7.938 kB / 377.2 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1003, allocations: 0 / 377.2 MB, free: 7.656 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.0001119/0.1005, allocations: 122.8 kB / 377.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1005, allocations: 4.062 kB / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1005, allocations: 19.95 kB / 377.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1006, allocations: 0 / 377.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1006, allocations: 4 kB / 377.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1006, allocations: 0 / 377.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.101, allocations: 334.4 kB / 377.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.101, allocations: 0 / 377.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1011, allocations: 7.984 kB / 377.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1011, allocations: 4 kB / 377.7 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1011, allocations: 8 kB / 377.7 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1011, allocations: 0 / 377.7 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1012, allocations: 0 / 377.7 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1014, allocations: 167.4 kB / 377.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.1014, allocations: 89 kB / 377.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1015, allocations: 0 / 377.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.1016, allocations: 0 / 377.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1016, allocations: 8.281 kB / 377.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1017, allocations: 8 kB / 377.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1018, allocations: 103.2 kB / 378 MB, free: 6.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1018, allocations: 0 / 378 MB, free: 6.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.1022, allocations: 43.92 kB / 378.1 MB, free: 6.652 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.001551/0.1037, allocations: 1.054 MB / 379.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.104, allocations: 111.3 kB / 379.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.104, allocations: 3.938 kB / 379.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/0.1041, allocations: 12 kB / 379.2 MB, free: 5.559 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1044, allocations: 11.98 kB / 379.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.1051, allocations: 394.5 kB / 379.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1054, allocations: 0.6965 MB / 380.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.1055, allocations: 11.98 kB / 380.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.1056, allocations: 27.42 kB / 380.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1056, allocations: 0 / 380.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.1302, allocations: 2.761 MB / 383.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/0.1306, allocations: 254.7 kB / 383.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.474, allocations: 0 / 383.4 MB, free: 1.266 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat