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.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004432, allocations: 16 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3453, allocations: 54.86 MB / 369.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.489, allocations: 82.14 MB / 451.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4894, allocations: 87.83 kB / 451.6 MB, free: 10.45 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/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.02272/0.5121, allocations: 5.028 MB / 456.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5121, allocations: 0 / 456.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.5122, allocations: 4 kB / 456.6 MB, free: 5.406 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007526/0.5129, allocations: 490.6 kB / 457.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.513, allocations: 8.031 kB / 457.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.5131, allocations: 38.55 kB / 457.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.5131, allocations: 7.906 kB / 457.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.5135, allocations: 214.9 kB / 457.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.5136, allocations: 4 kB / 457.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.5136, allocations: 4 kB / 457.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.5138, allocations: 89.52 kB / 457.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5139, allocations: 0 / 457.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5139, allocations: 4 kB / 457.5 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5139, allocations: 0 / 457.5 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.5141, allocations: 51.95 kB / 457.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.5148, allocations: 337.4 kB / 457.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.5152, allocations: 94.59 kB / 457.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.5152, allocations: 4 kB / 457.9 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.5154, allocations: 83.59 kB / 458 MB, free: 3.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.815e-06/0.5155, allocations: 0 / 458 MB, free: 3.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001052/0.5165, allocations: 249 kB / 458.3 MB, free: 3.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.5166, allocations: 55.41 kB / 458.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.5169, allocations: 182.4 kB / 458.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.5169, allocations: 33.7 kB / 458.5 MB, free: 3.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.517, allocations: 158.7 kB / 458.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.5171, allocations: 39.55 kB / 458.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.5171, allocations: 0 / 458.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5173, allocations: 322.8 kB / 459 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.5175, allocations: 51.97 kB / 459.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.5177, allocations: 69.69 kB / 459.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.5179, allocations: 85.69 kB / 459.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.518, allocations: 3.953 kB / 459.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000558/0.5185, allocations: 209.2 kB / 459.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.5186, allocations: 37.69 kB / 459.5 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5186, allocations: 0 / 459.5 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5186, allocations: 0 / 459.5 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.5188, allocations: 23.98 kB / 459.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5188, allocations: 4 kB / 459.5 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.519, allocations: 8.031 kB / 459.5 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.519, allocations: 4 kB / 459.5 MB, free: 2.234 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 (13): * Single equations (assignments): 12 * 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.000163/0.5192, allocations: 129.8 kB / 459.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.5192, allocations: 19.7 kB / 459.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.5198, allocations: 171 kB / 459.8 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.5198, allocations: 4 kB / 459.8 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5198, allocations: 0 / 459.8 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5198, allocations: 4 kB / 459.8 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.5207, allocations: 487.1 kB / 460.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5207, allocations: 0 / 460.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.5209, allocations: 16 kB / 460.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5209, allocations: 0 / 460.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5209, allocations: 7.984 kB / 460.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5209, allocations: 0 / 460.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.5209, allocations: 3.938 kB / 460.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.5214, allocations: 266.2 kB / 460.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.5216, allocations: 108.9 kB / 460.7 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.5216, allocations: 0 / 460.7 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.5217, allocations: 8 kB / 460.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.5218, allocations: 7.984 kB / 460.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.5218, allocations: 8 kB / 460.7 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.522, allocations: 143.9 kB / 460.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.522, allocations: 0 / 460.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.5225, allocations: 47.97 kB / 460.9 MB, free: 0.7109 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.002059/0.5246, allocations: 1.219 MB / 462.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.5251, allocations: 211.2 kB / 462.3 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5251, allocations: 0 / 462.3 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.5253, allocations: 51.92 kB / 462.4 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.5257, allocations: 24.02 kB / 462.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.5269, allocations: 0.698 MB / 463.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.5273, allocations: 0.716 MB / 463.8 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5275, allocations: 35.42 kB / 463.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5275, allocations: 0 / 463.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.771/3.299, allocations: 2.709 MB / 466.6 MB, free: 11.01 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat