Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004946, allocations: 8 kB / 233.3 MB, free: 2.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08293, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4219, allocations: 66 MB / 338.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4222, allocations: 63.53 kB / 338.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.4359, allocations: 3.352 MB / 341.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4359, allocations: 0 / 341.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.436, allocations: 8 kB / 341.5 MB, free: 4.535 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008385/0.4368, allocations: 476.9 kB / 342 MB, free: 4.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4369, allocations: 8.031 kB / 342 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.129e-05/0.437, allocations: 62.77 kB / 342.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.4371, allocations: 23.72 kB / 342.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.4373, allocations: 194.2 kB / 342.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.4373, allocations: 15.5 kB / 342.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.4374, allocations: 26.52 kB / 342.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.4379, allocations: 233.8 kB / 342.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.4379, allocations: 8.594 kB / 342.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.438, allocations: 6.562 kB / 342.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.438, allocations: 8 kB / 342.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.4384, allocations: 126.3 kB / 342.7 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.44, allocations: 0.8708 MB / 343.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.4404, allocations: 152.6 kB / 343.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.4404, allocations: 0 / 343.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.4405, allocations: 42 kB / 343.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.4405, allocations: 0 / 343.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005345/0.441, allocations: 176.8 kB / 343.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.4411, allocations: 102.8 kB / 344 MB, free: 2.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.4413, allocations: 172.4 kB / 344.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4414, allocations: 29.7 kB / 344.2 MB, free: 1.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4415, allocations: 225.1 kB / 344.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.4416, allocations: 64.48 kB / 344.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.4416, allocations: 3.188 kB / 344.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4418, allocations: 330.3 kB / 344.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4419, allocations: 41.61 kB / 344.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.4422, allocations: 156.9 kB / 345 MB, free: 1.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4424, allocations: 80.92 kB / 345.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4424, allocations: 0 / 345.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005455/0.4429, allocations: 234 kB / 345.3 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.443, allocations: 8 kB / 345.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.443, allocations: 4 kB / 345.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.443, allocations: 4 kB / 345.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.4434, allocations: 67.23 kB / 345.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.4435, allocations: 4 kB / 345.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.4437, allocations: 35.84 kB / 345.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.4438, allocations: 11.69 kB / 345.5 MB, free: 0.7812 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001787/0.444, allocations: 147.6 kB / 345.6 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.4441, allocations: 15.81 kB / 345.6 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.4442, allocations: 23.95 kB / 345.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4442, allocations: 4 kB / 345.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4442, allocations: 3.953 kB / 345.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4442, allocations: 0 / 345.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/0.445, allocations: 424.1 kB / 346.1 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.445, allocations: 0 / 346.1 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.4454, allocations: 39.8 kB / 346.1 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.4454, allocations: 3.953 kB / 346.1 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.4454, allocations: 4 kB / 346.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4454, allocations: 3.938 kB / 346.1 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.4454, allocations: 7.938 kB / 346.1 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.446, allocations: 418.3 kB / 346.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.4461, allocations: 104.5 kB / 346.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.4462, allocations: 7.688 kB / 346.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.4464, allocations: 4 kB / 346.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.4465, allocations: 19.5 kB / 346.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.4465, allocations: 4 kB / 346.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.4467, allocations: 142 kB / 346.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4467, allocations: 0 / 346.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000532/0.4472, allocations: 57.28 kB / 346.9 MB, free: 15.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009868/0.4482, allocations: 1.237 MB / 348.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.4486, allocations: 132.9 kB / 348.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4487, allocations: 0 / 348.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4488, allocations: 53.48 kB / 348.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.4493, allocations: 24.17 kB / 348.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.4531, allocations: 3.718 MB / 352 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.4536, allocations: 0.7398 MB / 352.8 MB, free: 9.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4537, allocations: 58.55 kB / 352.8 MB, free: 9.516 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4537, allocations: 0 / 352.8 MB, free: 9.516 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.651/3.105, allocations: 3.115 MB / 355.9 MB, free: 6.438 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat