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.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.833e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 54.86 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.482, allocations: 81.35 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4823, allocations: 79.88 kB / 439.6 MB, free: 13.3 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.01975/0.5021, allocations: 4.431 MB / 444 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5021, allocations: 0 / 444 MB, free: 8.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.5022, allocations: 0 / 444 MB, free: 8.863 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005933/0.5028, allocations: 461.4 kB / 444.4 MB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5028, allocations: 12.03 kB / 444.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.5029, allocations: 7.906 kB / 444.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.5033, allocations: 207.7 kB / 444.7 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5033, allocations: 0 / 444.7 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.5033, allocations: 4 kB / 444.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.686e-05/0.5035, allocations: 23.98 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.5036, allocations: 53.67 kB / 444.8 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.5036, allocations: 3.953 kB / 444.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5037, allocations: 0 / 444.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5037, allocations: 0 / 444.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.5042, allocations: 293.3 kB / 445 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.5043, allocations: 54.69 kB / 445.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.5044, allocations: 20.97 kB / 445.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.5044, allocations: 0 / 445.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.5046, allocations: 79.28 kB / 445.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.5046, allocations: 0 / 445.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005977/0.5052, allocations: 141.4 kB / 445.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.5053, allocations: 55.41 kB / 445.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.5055, allocations: 169.2 kB / 445.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.5056, allocations: 29.7 kB / 445.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.5057, allocations: 162.5 kB / 445.7 MB, free: 6.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.5057, allocations: 23.66 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.5057, allocations: 4 kB / 445.8 MB, free: 6.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5059, allocations: 323.4 kB / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.82e-05/0.506, allocations: 35.94 kB / 446.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.5061, allocations: 56.38 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.5062, allocations: 35.98 kB / 446.2 MB, free: 6.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5062, allocations: 0 / 446.2 MB, free: 6.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003352/0.5066, allocations: 125.6 kB / 446.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.5067, allocations: 33.7 kB / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5067, allocations: 7.938 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5067, allocations: 0 / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.5069, allocations: 16 kB / 446.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5069, allocations: 0 / 446.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.507, allocations: 8.031 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.507, allocations: 11.98 kB / 446.4 MB, free: 6.23 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 (11): * Single equations (assignments): 10 * 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 9.296e-05/0.5071, allocations: 107 kB / 446.5 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002249/0.5074, allocations: 97.44 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.5074, allocations: 15.84 kB / 446.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.5077, allocations: 106.2 kB / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5078, allocations: 4 kB / 446.7 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5078, allocations: 0 / 446.7 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5078, allocations: 0 / 446.7 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.5084, allocations: 391.9 kB / 447.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.5084, allocations: 0 / 447.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.5085, allocations: 15.94 kB / 447.1 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.5085, allocations: 0 / 447.1 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5085, allocations: 4 kB / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5086, allocations: 0 / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5086, allocations: 0 / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.5089, allocations: 217.9 kB / 447.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.509, allocations: 97 kB / 447.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.509, allocations: 4.266 kB / 447.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5092, allocations: 4 kB / 447.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.5092, allocations: 4 kB / 447.4 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.5092, allocations: 16.05 kB / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.5094, allocations: 135.2 kB / 447.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5094, allocations: 0 / 447.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.5098, allocations: 35.98 kB / 447.6 MB, free: 4.891 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 (9): * Single equations (assignments): 7 * 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.001537/0.5114, allocations: 1.091 MB / 448.7 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.5118, allocations: 163.3 kB / 448.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5118, allocations: 4 kB / 448.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.5119, allocations: 31.94 kB / 448.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.5123, allocations: 16.11 kB / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.5131, allocations: 237.7 kB / 449.2 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.5134, allocations: 0.708 MB / 449.9 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5135, allocations: 35.42 kB / 449.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5135, allocations: 0 / 449.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.637/3.15, allocations: 2.424 MB / 452.3 MB, free: 128 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat