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.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.44e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.4964, allocations: 81.4 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4968, allocations: 75.91 kB / 439.6 MB, free: 13.27 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.02027/0.5171, allocations: 4.839 MB / 444.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5171, allocations: 0 / 444.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.5171, allocations: 4 kB / 444.4 MB, free: 8.418 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.0005905/0.5177, allocations: 477.4 kB / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5178, allocations: 8.031 kB / 444.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.5178, allocations: 19.81 kB / 444.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.5182, allocations: 214.8 kB / 445.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5183, allocations: 4 kB / 445.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.5183, allocations: 8 kB / 445.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.547e-05/0.5184, allocations: 19.98 kB / 445.2 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5185, allocations: 49.67 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5186, allocations: 3.953 kB / 445.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5186, allocations: 4 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5186, allocations: 0 / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.5191, allocations: 305.4 kB / 445.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.5192, allocations: 58.62 kB / 445.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.5193, allocations: 16.98 kB / 445.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.5193, allocations: 0 / 445.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.5195, allocations: 71.34 kB / 445.7 MB, free: 7.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.5195, allocations: 0 / 445.7 MB, free: 7.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005791/0.5201, allocations: 165.1 kB / 445.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5201, allocations: 55.41 kB / 445.9 MB, free: 6.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.5205, allocations: 219 kB / 446.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.5205, allocations: 29.7 kB / 446.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.5206, allocations: 170.5 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.5207, allocations: 27.64 kB / 446.3 MB, free: 6.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.5207, allocations: 3.938 kB / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5208, allocations: 319.5 kB / 446.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.5209, allocations: 32 kB / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.5211, allocations: 52.25 kB / 446.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.5212, allocations: 43.92 kB / 446.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5212, allocations: 0 / 446.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003189/0.5215, allocations: 125.6 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.5216, allocations: 37.7 kB / 446.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5216, allocations: 3.953 kB / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5216, allocations: 4 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.5218, allocations: 19.92 kB / 447 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5218, allocations: 4.031 kB / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.5219, allocations: 4 kB / 447 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.522, allocations: 8 kB / 447 MB, free: 5.664 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 8.652e-05/0.522, allocations: 105 kB / 447.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002251/0.5223, allocations: 101.5 kB / 447.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.5223, allocations: 19.77 kB / 447.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.5226, allocations: 115.4 kB / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5227, allocations: 4 kB / 447.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5227, allocations: 4 kB / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5227, allocations: 0 / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.5233, allocations: 399.8 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5233, allocations: 0 / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.5234, allocations: 12 kB / 447.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5234, allocations: 0 / 447.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5234, allocations: 3.938 kB / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5234, allocations: 3.984 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5235, allocations: 4 kB / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.5238, allocations: 221.8 kB / 447.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.5239, allocations: 104.9 kB / 448 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.524, allocations: 4 kB / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5241, allocations: 0 / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.5241, allocations: 15.97 kB / 448.1 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.5242, allocations: 8 kB / 448.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.5244, allocations: 191 kB / 448.3 MB, free: 4.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5244, allocations: 288 / 448.3 MB, free: 4.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.5248, allocations: 43.92 kB / 448.3 MB, free: 4.223 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.001536/0.5264, allocations: 1.091 MB / 449.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.5267, allocations: 167.3 kB / 449.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5267, allocations: 0 / 449.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.5268, allocations: 28.06 kB / 449.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.5272, allocations: 24.98 kB / 449.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008867/0.5281, allocations: 298 kB / 449.9 MB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.5285, allocations: 0.7236 MB / 450.6 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.5287, allocations: 43.42 kB / 450.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5287, allocations: 0 / 450.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.585/3.113, allocations: 2.831 MB / 453.5 MB, free: 14.96 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat