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.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.813e-05, allocations: 7.938 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3354, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4791, allocations: 81.25 MB / 439.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4794, allocations: 71.95 kB / 439.5 MB, free: 13.41 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.02516/0.5046, allocations: 5.871 MB / 445.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5046, allocations: 0 / 445.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.5047, allocations: 4 kB / 445.3 MB, free: 7.531 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.001045/0.5057, allocations: 0.7263 MB / 446.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.5058, allocations: 12.03 kB / 446.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.506, allocations: 47.44 kB / 446.1 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.5071, allocations: 467.1 kB / 446.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.5072, allocations: 4 kB / 446.6 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.5072, allocations: 8 kB / 446.6 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001415/0.5074, allocations: 31.92 kB / 446.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5076, allocations: 83.33 kB / 446.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5076, allocations: 0 / 446.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.5077, allocations: 0 / 446.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5077, allocations: 0 / 446.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.5083, allocations: 382.8 kB / 447.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.5086, allocations: 101.3 kB / 447.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.5087, allocations: 37.72 kB / 447.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.5087, allocations: 12.08 kB / 447.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.509, allocations: 101.7 kB / 447.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.404e-06/0.509, allocations: 0 / 447.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000548/0.5095, allocations: 165 kB / 447.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.5096, allocations: 81.05 kB / 447.6 MB, free: 5.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.5115, allocations: 0.8769 MB / 448.4 MB, free: 4.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.5116, allocations: 33.7 kB / 448.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.5119, allocations: 250.8 kB / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.5119, allocations: 27.56 kB / 448.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.512, allocations: 4 kB / 448.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5121, allocations: 318.8 kB / 449.1 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5123, allocations: 52 kB / 449.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5125, allocations: 90.83 kB / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.5127, allocations: 63.97 kB / 449.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5127, allocations: 0 / 449.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005503/0.5133, allocations: 189.4 kB / 449.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/0.5134, allocations: 67.39 kB / 449.5 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5134, allocations: 4 kB / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5134, allocations: 0 / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.5137, allocations: 19.98 kB / 449.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5137, allocations: 4 kB / 449.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.514, allocations: 31.84 kB / 449.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.514, allocations: 8 kB / 449.6 MB, free: 2.996 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.0001262/0.5142, allocations: 116.9 kB / 449.7 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004281/0.5146, allocations: 168.9 kB / 449.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.5147, allocations: 51.34 kB / 449.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.5153, allocations: 181.7 kB / 450.1 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5153, allocations: 4.453 kB / 450.1 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5153, allocations: 4 kB / 450.1 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.5154, allocations: 7.938 kB / 450.1 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.5159, allocations: 349.9 kB / 450.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5159, allocations: 4 kB / 450.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.516, allocations: 12 kB / 450.5 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.516, allocations: 0 / 450.5 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.516, allocations: 3.984 kB / 450.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.5161, allocations: 4 kB / 450.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5161, allocations: 0 / 450.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.5166, allocations: 222.9 kB / 450.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.517, allocations: 196.4 kB / 450.9 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.5171, allocations: 4 kB / 450.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.5173, allocations: 7.984 kB / 450.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.5173, allocations: 19.81 kB / 450.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.5174, allocations: 4 kB / 450.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001294/0.5187, allocations: 0.6902 MB / 451.6 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5187, allocations: 0 / 451.6 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006299/0.5193, allocations: 107.8 kB / 451.7 MB, free: 0.7617 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.002146/0.5215, allocations: 1.197 MB / 452.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.5221, allocations: 278.7 kB / 453.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5221, allocations: 3.938 kB / 453.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.5222, allocations: 36 kB / 453.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.5229, allocations: 66 kB / 453.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.5252, allocations: 0.9147 MB / 454.2 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.5258, allocations: 0.8508 MB / 455 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.5262, allocations: 151.4 kB / 455.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5262, allocations: 0 / 455.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.666/3.193, allocations: 8.293 MB / 463.5 MB, free: 4.918 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat