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.Test64.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000619/0.0006191, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3615, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5069, allocations: 81.98 MB / 451.3 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5072, allocations: 79.89 kB / 451.4 MB, free: 8.43 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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.0205/0.5278, allocations: 4.737 MB / 456.2 MB, free: 3.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5278, allocations: 0 / 456.2 MB, free: 3.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.5278, allocations: 0 / 456.2 MB, free: 3.684 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007274/0.5286, allocations: 0.494 MB / 456.7 MB, free: 3.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5286, allocations: 8.031 kB / 456.7 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.5287, allocations: 30.56 kB / 456.7 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.5288, allocations: 11.91 kB / 456.7 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.5292, allocations: 222.7 kB / 456.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.5292, allocations: 8 kB / 456.9 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.5292, allocations: 4 kB / 456.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.5294, allocations: 45.67 kB / 457 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5294, allocations: 0 / 457 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5295, allocations: 3.953 kB / 457 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5295, allocations: 0 / 457 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5296, allocations: 23.98 kB / 457 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.5299, allocations: 205.6 kB / 457.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.5301, allocations: 58.66 kB / 457.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5302, allocations: 3.984 kB / 457.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.5304, allocations: 67.39 kB / 457.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.527e-06/0.5304, allocations: 0 / 457.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004592/0.5309, allocations: 105.4 kB / 457.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.531, allocations: 59.41 kB / 457.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.5314, allocations: 234.3 kB / 457.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.5314, allocations: 33.7 kB / 457.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.5316, allocations: 170.5 kB / 457.9 MB, free: 1.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.5316, allocations: 15.83 kB / 457.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.5316, allocations: 7.938 kB / 457.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5318, allocations: 314.8 kB / 458.3 MB, free: 1.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.5319, allocations: 27.98 kB / 458.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.5321, allocations: 49.69 kB / 458.3 MB, free: 1.273 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.5322, allocations: 61.7 kB / 458.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5323, allocations: 4 kB / 458.4 MB, free: 1.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004276/0.5327, allocations: 155.2 kB / 458.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.5328, allocations: 33.7 kB / 458.6 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5328, allocations: 0 / 458.6 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5328, allocations: 0 / 458.6 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5329, allocations: 20.23 kB / 458.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.533, allocations: 7.984 kB / 458.6 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.5331, allocations: 8 kB / 458.6 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.5331, allocations: 8 kB / 458.6 MB, free: 0.957 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001674/0.5333, allocations: 129.8 kB / 458.7 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.5333, allocations: 15.81 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.5337, allocations: 98.66 kB / 458.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5337, allocations: 4 kB / 458.9 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5337, allocations: 0 / 458.9 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5337, allocations: 11.94 kB / 458.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.534, allocations: 209.5 kB / 459.1 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.534, allocations: 4 kB / 459.1 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.5341, allocations: 4 kB / 459.1 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5341, allocations: 3.938 kB / 459.1 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.5341, allocations: 3.984 kB / 459.1 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5341, allocations: 0 / 459.1 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5341, allocations: 0 / 459.1 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.5344, allocations: 124.9 kB / 459.2 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.5346, allocations: 104.9 kB / 459.3 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.5346, allocations: 4 kB / 459.3 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.5347, allocations: 4 kB / 459.3 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.5348, allocations: 3.984 kB / 459.3 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.5348, allocations: 4 kB / 459.3 MB, free: 140 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002981/0.5351, allocations: 192.2 kB / 459.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.395e-06/0.5351, allocations: 0 / 459.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.5355, allocations: 43.92 kB / 459.6 MB, free: 15.91 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.002212/0.5377, allocations: 0.9491 MB / 460.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006065/0.5384, allocations: 151.3 kB / 460.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5384, allocations: 4 kB / 460.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.5386, allocations: 19.98 kB / 460.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.539, allocations: 20.16 kB / 460.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.5405, allocations: 0.722 MB / 461.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.541, allocations: 0.716 MB / 462.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.5411, allocations: 35.42 kB / 462.2 MB, free: 13.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5411, allocations: 4 kB / 462.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.492/3.033, allocations: 2.563 MB / 464.7 MB, free: 10.67 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat