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.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.842e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.327, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.4741, allocations: 81.25 MB / 439.4 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.4745, allocations: 71.89 kB / 439.5 MB, free: 13.49 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03216/0.5067, allocations: 5.919 MB / 445.4 MB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5067, allocations: 0 / 445.4 MB, free: 7.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.301e-05/0.5068, allocations: 4 kB / 445.4 MB, free: 7.559 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.001572/0.5084, allocations: 0.7341 MB / 446.1 MB, free: 6.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.5084, allocations: 8.031 kB / 446.1 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.5087, allocations: 51.34 kB / 446.2 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.5102, allocations: 471.1 kB / 446.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.5103, allocations: 7.984 kB / 446.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.5103, allocations: 11.94 kB / 446.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001733/0.5105, allocations: 27.98 kB / 446.7 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.5108, allocations: 87.33 kB / 446.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5108, allocations: 0 / 446.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.5108, allocations: 4 kB / 446.8 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.5109, allocations: 0 / 446.8 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.5117, allocations: 382.9 kB / 447.1 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.512, allocations: 101.3 kB / 447.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.5122, allocations: 37.8 kB / 447.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5122, allocations: 0 / 447.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.5126, allocations: 113.6 kB / 447.4 MB, free: 5.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.035e-06/0.5126, allocations: 0 / 447.4 MB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007314/0.5134, allocations: 161 kB / 447.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.5134, allocations: 85.05 kB / 447.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/0.5241, allocations: 0.9004 MB / 448.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.5242, allocations: 33.64 kB / 448.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.5246, allocations: 258.8 kB / 448.8 MB, free: 3.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.814e-05/0.5246, allocations: 19.72 kB / 448.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.5247, allocations: 0 / 448.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5249, allocations: 326.8 kB / 449.2 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.5251, allocations: 51.94 kB / 449.2 MB, free: 3.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.5254, allocations: 80.23 kB / 449.3 MB, free: 3.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.5257, allocations: 55.97 kB / 449.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5257, allocations: 0 / 449.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007872/0.5265, allocations: 197.4 kB / 449.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.5266, allocations: 71.39 kB / 449.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.5267, allocations: 0 / 449.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5267, allocations: 4 kB / 449.6 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.527, allocations: 19.98 kB / 449.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.527, allocations: 3.938 kB / 449.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.5274, allocations: 27.7 kB / 449.7 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.5275, allocations: 15.98 kB / 449.7 MB, free: 2.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001533/0.5277, allocations: 123 kB / 449.8 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004923/0.5326, allocations: 177.2 kB / 450 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.5329, allocations: 51.34 kB / 450 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/0.5336, allocations: 185.9 kB / 450.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5337, allocations: 3.953 kB / 450.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5337, allocations: 4 kB / 450.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5337, allocations: 0 / 450.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.5344, allocations: 353.9 kB / 450.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5344, allocations: 0 / 450.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.5346, allocations: 11.98 kB / 450.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.5346, allocations: 8 kB / 450.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.5346, allocations: 0 / 450.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5347, allocations: 0 / 450.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.5347, allocations: 4 kB / 450.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.5353, allocations: 218.9 kB / 450.8 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.5359, allocations: 204.3 kB / 451 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.5361, allocations: 8 kB / 451 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004128/0.5402, allocations: 7.938 kB / 451 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.5403, allocations: 15.94 kB / 451 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.5404, allocations: 7.984 kB / 451 MB, free: 1.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001965/0.5424, allocations: 0.698 MB / 451.7 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.5424, allocations: 0 / 451.7 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009082/0.5433, allocations: 107.9 kB / 451.8 MB, free: 0.7148 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003087/0.5464, allocations: 1.202 MB / 453 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007804/0.5473, allocations: 282.7 kB / 453.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5473, allocations: 0 / 453.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.5475, allocations: 39.94 kB / 453.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.5483, allocations: 62.2 kB / 453.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.5508, allocations: 0.9379 MB / 454.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.5515, allocations: 0.8508 MB / 455.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.5519, allocations: 155.4 kB / 455.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5519, allocations: 0 / 455.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.784/3.335, allocations: 8.502 MB / 463.9 MB, free: 4.625 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat