Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.000496, allocations: 8 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08382, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3483/0.4321, allocations: 66 MB / 338.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4325, allocations: 72.2 kB / 338.2 MB, free: 6.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.4466, allocations: 3.346 MB / 341.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4466, allocations: 4 kB / 341.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4467, allocations: 4 kB / 341.5 MB, free: 3.938 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.0008792/0.4476, allocations: 476.5 kB / 342 MB, free: 3.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4476, allocations: 8.031 kB / 342 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.548e-05/0.4477, allocations: 59.02 kB / 342.1 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.4478, allocations: 23.72 kB / 342.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.448, allocations: 198.7 kB / 342.3 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.448, allocations: 15.75 kB / 342.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.4481, allocations: 27.08 kB / 342.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.4486, allocations: 225.5 kB / 342.6 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.4487, allocations: 11.66 kB / 342.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.4487, allocations: 3.875 kB / 342.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4487, allocations: 8 kB / 342.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.4491, allocations: 137.2 kB / 342.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.4508, allocations: 0.8571 MB / 343.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.4512, allocations: 169.5 kB / 343.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4513, allocations: 0 / 343.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4513, allocations: 38.12 kB / 343.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.804e-06/0.4513, allocations: 0 / 343.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005508/0.4519, allocations: 173.2 kB / 343.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.452, allocations: 110.7 kB / 344 MB, free: 1.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.4522, allocations: 165.9 kB / 344.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.4523, allocations: 29.14 kB / 344.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4524, allocations: 160.9 kB / 344.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.4525, allocations: 66.52 kB / 344.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.4525, allocations: 7.438 kB / 344.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4527, allocations: 333 kB / 344.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.4528, allocations: 54.66 kB / 344.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.4531, allocations: 148.1 kB / 345 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4533, allocations: 71.62 kB / 345.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4533, allocations: 4 kB / 345.1 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000565/0.4539, allocations: 237.6 kB / 345.3 MB, free: 368 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4539, allocations: 5.094 kB / 345.3 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4539, allocations: 4.438 kB / 345.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.454, allocations: 12 kB / 345.3 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.4544, allocations: 63.86 kB / 345.4 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.4544, allocations: 4.781 kB / 345.4 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.4547, allocations: 28.12 kB / 345.4 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.4547, allocations: 15.19 kB / 345.4 MB, free: 244 kB / 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.0001792/0.4549, allocations: 140.5 kB / 345.6 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.455, allocations: 23.7 kB / 345.6 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.4551, allocations: 22.47 kB / 345.6 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.4551, allocations: 8 kB / 345.6 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.4552, allocations: 7.891 kB / 345.6 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4552, allocations: 0 / 345.6 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.456, allocations: 421.1 kB / 346 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.456, allocations: 4 kB / 346 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.4564, allocations: 34.67 kB / 346.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.4564, allocations: 7.953 kB / 346.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4565, allocations: 7.406 kB / 346.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.4565, allocations: 7.938 kB / 346.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4565, allocations: 0 / 346.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.4571, allocations: 424.4 kB / 346.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4573, allocations: 92.86 kB / 346.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.4573, allocations: 7.75 kB / 346.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4575, allocations: 3.688 kB / 346.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.4576, allocations: 19.92 kB / 346.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.4576, allocations: 4 kB / 346.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.4578, allocations: 149.7 kB / 346.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4578, allocations: 0 / 346.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005376/0.4584, allocations: 51.47 kB / 346.8 MB, free: 14.84 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.00114/0.4595, allocations: 1.241 MB / 348.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.46, allocations: 138.2 kB / 348.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.46, allocations: 0 / 348.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.4601, allocations: 54.3 kB / 348.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.4606, allocations: 30.61 kB / 348.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.4647, allocations: 3.686 MB / 352 MB, free: 9.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4652, allocations: 0.7398 MB / 352.7 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.4654, allocations: 17.95 kB / 352.7 MB, free: 9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4655, allocations: 58.34 kB / 352.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4655, allocations: 0 / 352.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.4897, allocations: 3.306 MB / 356.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003427/0.4901, allocations: 184.8 kB / 356.3 MB, free: 5.492 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.909, allocations: 0 / 356.3 MB, free: 5.492 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat