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.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.581e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3302, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.477, allocations: 81.25 MB / 439.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4773, allocations: 79.89 kB / 439.5 MB, free: 13.42 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.02451/0.5019, allocations: 5.911 MB / 445.4 MB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5019, allocations: 0 / 445.4 MB, free: 7.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.795e-05/0.5019, allocations: 8 kB / 445.4 MB, free: 7.488 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.00102/0.503, allocations: 0.7263 MB / 446.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.503, allocations: 12.03 kB / 446.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.5032, allocations: 51.34 kB / 446.2 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.5043, allocations: 479.1 kB / 446.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.5044, allocations: 0 / 446.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.5044, allocations: 8 kB / 446.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/0.5046, allocations: 31.92 kB / 446.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.5047, allocations: 87.31 kB / 446.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5048, allocations: 0 / 446.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5048, allocations: 4 kB / 446.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.5048, allocations: 4 kB / 446.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.5054, allocations: 382.9 kB / 447.1 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.5056, allocations: 93.2 kB / 447.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.5057, allocations: 41.89 kB / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.5058, allocations: 8 kB / 447.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.506, allocations: 105.6 kB / 447.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.506, allocations: 0 / 447.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004893/0.5065, allocations: 165.1 kB / 447.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.5066, allocations: 81.09 kB / 447.6 MB, free: 5.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.5085, allocations: 0.9043 MB / 448.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.5085, allocations: 29.7 kB / 448.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.5088, allocations: 254.8 kB / 448.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.5088, allocations: 23.7 kB / 448.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.5089, allocations: 4 kB / 448.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.509, allocations: 318.8 kB / 449.1 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5092, allocations: 59.92 kB / 449.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.5094, allocations: 88.17 kB / 449.3 MB, free: 3.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.5096, allocations: 55.97 kB / 449.3 MB, free: 3.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5096, allocations: 0 / 449.3 MB, free: 3.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005297/0.5101, allocations: 189.4 kB / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/0.5102, allocations: 67.39 kB / 449.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5102, allocations: 4 kB / 449.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5103, allocations: 0 / 449.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.5105, allocations: 23.98 kB / 449.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5105, allocations: 4.062 kB / 449.6 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.5108, allocations: 31.69 kB / 449.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.5108, allocations: 8 kB / 449.7 MB, free: 2.91 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.0001221/0.5109, allocations: 124.8 kB / 449.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004071/0.5113, allocations: 165 kB / 449.9 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5115, allocations: 51.34 kB / 450 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.512, allocations: 182.3 kB / 450.2 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.512, allocations: 11.95 kB / 450.2 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.512, allocations: 8.047 kB / 450.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.512, allocations: 3.938 kB / 450.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.5126, allocations: 357.9 kB / 450.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5126, allocations: 4 kB / 450.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.5127, allocations: 8 kB / 450.6 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5127, allocations: 0 / 450.6 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.5127, allocations: 4 kB / 450.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5127, allocations: 0 / 450.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5127, allocations: 3.984 kB / 450.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.5132, allocations: 218.9 kB / 450.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.5136, allocations: 204.3 kB / 451 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.5137, allocations: 4 kB / 451 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.5139, allocations: 11.92 kB / 451 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.514, allocations: 19.88 kB / 451 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.514, allocations: 8 kB / 451 MB, free: 1.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001299/0.5154, allocations: 0.7019 MB / 451.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5154, allocations: 0 / 451.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005637/0.5159, allocations: 103.9 kB / 451.8 MB, free: 0.6406 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.002076/0.518, allocations: 1.206 MB / 453 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.5186, allocations: 278.7 kB / 453.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5186, allocations: 0 / 453.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.5187, allocations: 43.97 kB / 453.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.5193, allocations: 62.02 kB / 453.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.5217, allocations: 0.9381 MB / 454.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.5224, allocations: 0.8547 MB / 455.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.523, allocations: 151.4 kB / 455.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.133e-06/0.523, allocations: 0 / 455.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/3.228, allocations: 8.5 MB / 463.9 MB, free: 4.551 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat