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.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.468e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.4859, allocations: 81.39 MB / 439.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4863, allocations: 67.97 kB / 439.6 MB, free: 13.37 MB / 378.7 MB [/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$t_new.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$t_new.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$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02033/0.5066, allocations: 4.701 MB / 444.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5066, allocations: 0 / 444.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.5067, allocations: 0 / 444.3 MB, free: 8.66 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006067/0.5073, allocations: 477.4 kB / 444.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5073, allocations: 8.031 kB / 444.8 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.5074, allocations: 15.91 kB / 444.8 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.5078, allocations: 218.8 kB / 445 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.5078, allocations: 4 kB / 445 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5079, allocations: 4 kB / 445 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.508, allocations: 16 kB / 445 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.5081, allocations: 57.61 kB / 445.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5081, allocations: 3.953 kB / 445.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5082, allocations: 4 kB / 445.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5082, allocations: 0 / 445.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.5087, allocations: 289.5 kB / 445.4 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.5088, allocations: 50.69 kB / 445.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.5089, allocations: 16.98 kB / 445.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.5089, allocations: 7.938 kB / 445.4 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.5091, allocations: 71.34 kB / 445.5 MB, free: 7.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.5091, allocations: 0 / 445.5 MB, free: 7.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005962/0.5097, allocations: 161 kB / 445.7 MB, free: 7.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.5098, allocations: 51.41 kB / 445.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.51, allocations: 190.6 kB / 445.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.5101, allocations: 29.7 kB / 445.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.5102, allocations: 178.5 kB / 446.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5102, allocations: 23.66 kB / 446.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.5103, allocations: 0 / 446.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5104, allocations: 319.5 kB / 446.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.5105, allocations: 32 kB / 446.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.5106, allocations: 46.98 kB / 446.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5108, allocations: 39.97 kB / 446.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5108, allocations: 0 / 446.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003356/0.5111, allocations: 137.5 kB / 446.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.5112, allocations: 33.7 kB / 446.7 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5112, allocations: 3.953 kB / 446.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5112, allocations: 4 kB / 446.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.5114, allocations: 15.98 kB / 446.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5114, allocations: 0 / 446.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.5115, allocations: 4.094 kB / 446.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.5115, allocations: 11.94 kB / 446.8 MB, free: 5.961 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.633e-05/0.5117, allocations: 115 kB / 446.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002183/0.5119, allocations: 93.58 kB / 447 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.5119, allocations: 19.77 kB / 447 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.5123, allocations: 111.4 kB / 447.1 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5123, allocations: 4 kB / 447.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5123, allocations: 0 / 447.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5123, allocations: 0 / 447.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.513, allocations: 400.1 kB / 447.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.513, allocations: 8 kB / 447.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.5131, allocations: 11.98 kB / 447.5 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5131, allocations: 3.984 kB / 447.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5131, allocations: 4 kB / 447.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5131, allocations: 0 / 447.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5131, allocations: 0 / 447.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.5134, allocations: 221.9 kB / 447.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.5136, allocations: 100.9 kB / 447.8 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.5136, allocations: 0 / 447.8 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.5137, allocations: 4 kB / 447.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.5138, allocations: 11.92 kB / 447.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.5138, allocations: 8 kB / 447.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.514, allocations: 160.3 kB / 448 MB, free: 4.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.514, allocations: 0 / 448 MB, free: 4.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.5145, allocations: 35.94 kB / 448.1 MB, free: 4.566 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001578/0.5161, allocations: 1.093 MB / 449.1 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.5164, allocations: 155.4 kB / 449.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5164, allocations: 3.938 kB / 449.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.5165, allocations: 31.98 kB / 449.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.5169, allocations: 24.92 kB / 449.4 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.5177, allocations: 280.8 kB / 449.6 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.518, allocations: 0.7197 MB / 450.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5182, allocations: 35.42 kB / 450.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5182, allocations: 0 / 450.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.469/2.987, allocations: 2.619 MB / 453 MB, free: 15.55 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat