Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.734e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3512, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4973, allocations: 81.39 MB / 439.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.4977, allocations: 71.97 kB / 439.6 MB, free: 13.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0222/0.5199, allocations: 5.025 MB / 444.6 MB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5199, allocations: 0 / 444.6 MB, free: 8.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.52, allocations: 0 / 444.6 MB, free: 8.332 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006904/0.5207, allocations: 485.4 kB / 445.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.5207, allocations: 12.03 kB / 445.1 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.5208, allocations: 11.81 kB / 445.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.5212, allocations: 218.9 kB / 445.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.5213, allocations: 0 / 445.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.5213, allocations: 4 kB / 445.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000147/0.5215, allocations: 35.92 kB / 445.4 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.5216, allocations: 57.62 kB / 445.4 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5217, allocations: 8 kB / 445.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5217, allocations: 3.938 kB / 445.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5217, allocations: 0 / 445.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.5223, allocations: 317.2 kB / 445.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.5225, allocations: 70.61 kB / 445.8 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.5226, allocations: 20.98 kB / 445.8 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.5226, allocations: 4 kB / 445.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.5228, allocations: 79.34 kB / 445.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.494e-06/0.5228, allocations: 0 / 445.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007434/0.5236, allocations: 189.2 kB / 446.1 MB, free: 6.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.5236, allocations: 51.41 kB / 446.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.524, allocations: 218.3 kB / 446.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.5241, allocations: 29.69 kB / 446.4 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.5242, allocations: 178.4 kB / 446.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.5243, allocations: 19.72 kB / 446.6 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.5243, allocations: 4 kB / 446.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5245, allocations: 318.8 kB / 446.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.5246, allocations: 36 kB / 446.9 MB, free: 5.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.5247, allocations: 53.7 kB / 447 MB, free: 5.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.5249, allocations: 47.92 kB / 447 MB, free: 5.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5249, allocations: 4 kB / 447 MB, free: 5.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004165/0.5253, allocations: 149.6 kB / 447.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.5254, allocations: 41.84 kB / 447.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5254, allocations: 0 / 447.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5255, allocations: 7.922 kB / 447.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.5257, allocations: 19.94 kB / 447.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5257, allocations: 0 / 447.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.5258, allocations: 4 kB / 447.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.5258, allocations: 11.98 kB / 447.3 MB, free: 5.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.000117/0.526, allocations: 116.6 kB / 447.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002837/0.5263, allocations: 117.4 kB / 447.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.5263, allocations: 11.86 kB / 447.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.5267, allocations: 139.3 kB / 447.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5267, allocations: 4 kB / 447.7 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5267, allocations: 0 / 447.7 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5268, allocations: 0 / 447.7 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007367/0.5275, allocations: 435.7 kB / 448.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5275, allocations: 0 / 448.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5277, allocations: 12 kB / 448.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.5277, allocations: 0 / 448.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5277, allocations: 3.984 kB / 448.1 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.5277, allocations: 4 kB / 448.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5277, allocations: 0 / 448.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.5281, allocations: 241.8 kB / 448.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.5283, allocations: 108.9 kB / 448.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.5283, allocations: 4 kB / 448.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.5285, allocations: 0 / 448.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.5285, allocations: 19.97 kB / 448.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.5286, allocations: 0 / 448.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.5288, allocations: 171.2 kB / 448.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5289, allocations: 0 / 448.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004332/0.5293, allocations: 47.94 kB / 448.7 MB, free: 3.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001741/0.531, allocations: 1.12 MB / 449.8 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.5315, allocations: 167.3 kB / 450 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5315, allocations: 0 / 450 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.5316, allocations: 48.05 kB / 450 MB, free: 2.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.5321, allocations: 16.98 kB / 450 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009195/0.533, allocations: 310.1 kB / 450.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.5334, allocations: 0.7236 MB / 451.1 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.5335, allocations: 47.42 kB / 451.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5335, allocations: 0 / 451.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.599/3.133, allocations: 2.905 MB / 454 MB, free: 14.54 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat