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.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.351e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3638, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.5157, allocations: 81.38 MB / 439.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5161, allocations: 71.97 kB / 439.6 MB, free: 13.29 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.02152/0.5376, allocations: 4.729 MB / 444.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.598e-06/0.5376, allocations: 0 / 444.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.5377, allocations: 7.938 kB / 444.3 MB, free: 8.547 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.0006526/0.5383, allocations: 469.5 kB / 444.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5384, allocations: 8.031 kB / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.5385, allocations: 15.89 kB / 444.8 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.5389, allocations: 214.7 kB / 445 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5389, allocations: 0 / 445 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.5389, allocations: 12 kB / 445 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.604e-05/0.5391, allocations: 15.98 kB / 445 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.5392, allocations: 49.67 kB / 445.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5392, allocations: 3.953 kB / 445.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.5392, allocations: 8 kB / 445.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5393, allocations: 0 / 445.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.5398, allocations: 285.5 kB / 445.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.54, allocations: 58.62 kB / 445.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.54, allocations: 16.98 kB / 445.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.5401, allocations: 7.984 kB / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.5402, allocations: 63.36 kB / 445.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.5402, allocations: 0 / 445.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006701/0.5409, allocations: 165 kB / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.541, allocations: 55.41 kB / 445.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.5413, allocations: 190.6 kB / 445.9 MB, free: 6.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5413, allocations: 33.64 kB / 446 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.5414, allocations: 166.6 kB / 446.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.5415, allocations: 27.64 kB / 446.2 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.5415, allocations: 7.938 kB / 446.2 MB, free: 6.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5417, allocations: 315.5 kB / 446.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.5418, allocations: 28 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.5419, allocations: 53.7 kB / 446.5 MB, free: 6.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.542, allocations: 39.98 kB / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.542, allocations: 0 / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003353/0.5424, allocations: 133.5 kB / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.5425, allocations: 37.69 kB / 446.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5425, allocations: 3.953 kB / 446.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5425, allocations: 0 / 446.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.5427, allocations: 19.98 kB / 446.8 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5427, allocations: 3.938 kB / 446.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.5428, allocations: 4 kB / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.5428, allocations: 8 kB / 446.8 MB, free: 5.852 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.62e-05/0.5429, allocations: 111.1 kB / 446.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002241/0.5432, allocations: 93.58 kB / 447 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.5432, allocations: 15.77 kB / 447 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.5435, allocations: 119.6 kB / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5436, allocations: 0 / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5436, allocations: 0 / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5436, allocations: 4.188 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.5442, allocations: 395.7 kB / 447.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5442, allocations: 4.031 kB / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.5443, allocations: 12 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5443, allocations: 0 / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.5443, allocations: 0 / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.5443, allocations: 7.984 kB / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.5444, allocations: 3.938 kB / 447.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.5447, allocations: 214 kB / 447.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.5448, allocations: 105.2 kB / 447.9 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.5448, allocations: 0 / 447.9 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.545, allocations: 11.92 kB / 447.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.545, allocations: 15.86 kB / 447.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.5451, allocations: 8 kB / 447.9 MB, free: 4.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.5453, allocations: 156.3 kB / 448 MB, free: 4.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5453, allocations: 0 / 448 MB, free: 4.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.5457, allocations: 43.92 kB / 448.1 MB, free: 4.449 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.001571/0.5473, allocations: 1.079 MB / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.5477, allocations: 159.3 kB / 449.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5477, allocations: 0 / 449.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.5478, allocations: 24 kB / 449.3 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.5482, allocations: 24.8 kB / 449.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.549, allocations: 288.8 kB / 449.6 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.5494, allocations: 0.7158 MB / 450.4 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5495, allocations: 35.42 kB / 450.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5495, allocations: 0 / 450.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.525/3.074, allocations: 2.628 MB / 453 MB, free: 15.44 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat