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.SignConvention.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.SignConvention,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.746/1.746, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 8 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08547, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4341, allocations: 65.97 MB / 338.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4344, allocations: 70.7 kB / 338.1 MB, free: 7.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.447, allocations: 2.853 MB / 341 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4471, allocations: 0 / 341 MB, free: 5.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.4471, allocations: 4 kB / 341 MB, free: 5.082 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008447/0.448, allocations: 447.5 kB / 341.4 MB, free: 4.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.448, allocations: 8.031 kB / 341.4 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.24e-05/0.4481, allocations: 49.23 kB / 341.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.4482, allocations: 23.72 kB / 341.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.4485, allocations: 204 kB / 341.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.4485, allocations: 17.34 kB / 341.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.4486, allocations: 26.8 kB / 341.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.449, allocations: 185.8 kB / 341.9 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.4491, allocations: 0 / 341.9 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.4491, allocations: 7.375 kB / 341.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.4491, allocations: 8.734 kB / 341.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.4495, allocations: 98.38 kB / 342 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.4513, allocations: 0.7842 MB / 342.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.452, allocations: 113.2 kB / 342.9 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.4521, allocations: 0 / 342.9 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.4521, allocations: 45.94 kB / 343 MB, free: 3.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 3.757e-06/0.4522, allocations: 0 / 343 MB, free: 3.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000745/0.4529, allocations: 132.8 kB / 343.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.453, allocations: 106.8 kB / 343.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.4535, allocations: 188.3 kB / 343.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.4535, allocations: 25.7 kB / 343.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.4538, allocations: 201.4 kB / 343.6 MB, free: 2.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.4539, allocations: 49.39 kB / 343.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.4539, allocations: 10.56 kB / 343.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4541, allocations: 324.7 kB / 344 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.4543, allocations: 35.52 kB / 344 MB, free: 2.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.4546, allocations: 138.4 kB / 344.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.4549, allocations: 56.25 kB / 344.2 MB, free: 1.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.455, allocations: 4 kB / 344.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007829/0.4558, allocations: 193.8 kB / 344.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.4558, allocations: 8.625 kB / 344.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4559, allocations: 3.984 kB / 344.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.4559, allocations: 8.344 kB / 344.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.4564, allocations: 55.53 kB / 344.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/0.4565, allocations: 7.938 kB / 344.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.4568, allocations: 27.25 kB / 344.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.4569, allocations: 8 kB / 344.5 MB, free: 1.625 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0002549/0.4571, allocations: 136.7 kB / 344.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4573, allocations: 15.81 kB / 344.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.4574, allocations: 24.11 kB / 344.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4575, allocations: 4 kB / 344.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4575, allocations: 0 / 344.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.4575, allocations: 4 kB / 344.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.4586, allocations: 250.9 kB / 345 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4586, allocations: 0 / 345 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.4591, allocations: 31.98 kB / 345 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.4592, allocations: 0 / 345 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.4592, allocations: 11.86 kB / 345 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4592, allocations: 0 / 345 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4593, allocations: 0 / 345 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.4601, allocations: 422.9 kB / 345.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.4602, allocations: 96.47 kB / 345.5 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.688e-05/0.4603, allocations: 4 kB / 345.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.4608, allocations: 3.938 kB / 345.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.4609, allocations: 11.94 kB / 345.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.4609, allocations: 4 kB / 345.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003031/0.4612, allocations: 157.7 kB / 345.7 MB, free: 484 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4612, allocations: 0 / 345.7 MB, free: 484 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008735/0.4621, allocations: 47.25 kB / 345.7 MB, free: 444 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (13): * Single equations (assignments): 13 * 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.001408/0.4636, allocations: 1.087 MB / 346.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.464, allocations: 112.7 kB / 346.9 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4641, allocations: 3.938 kB / 346.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.4642, allocations: 39.8 kB / 347 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.465, allocations: 33.72 kB / 347 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/0.4707, allocations: 3.447 MB / 350.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.4713, allocations: 0.7323 MB / 351.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.4716, allocations: 54.86 kB / 351.2 MB, free: 11 MB / 282.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4716, allocations: 0 / 351.2 MB, free: 11 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.635/3.106, allocations: 2.778 MB / 354 MB, free: 8.25 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat