Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.191/2.191, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004776, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 44.5 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.5238, allocations: 71.77 MB / 380.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.5242, allocations: 63.95 kB / 380.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01928/0.5435, allocations: 4.443 MB / 384.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5436, allocations: 0 / 384.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.5436, allocations: 4.688 kB / 384.8 MB, free: 13.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001018/0.5446, allocations: 0.519 MB / 385.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.5447, allocations: 13.56 kB / 385.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.369e-05/0.5448, allocations: 62.5 kB / 385.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.5449, allocations: 34.55 kB / 385.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.5452, allocations: 235 kB / 385.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.5453, allocations: 25.84 kB / 385.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.5454, allocations: 28.14 kB / 385.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.546, allocations: 247.4 kB / 386 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.546, allocations: 5.281 kB / 386 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.5461, allocations: 10.62 kB / 386 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.5461, allocations: 6.875 kB / 386 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.5466, allocations: 181.1 kB / 386.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.5481, allocations: 0.7498 MB / 386.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.5487, allocations: 273.7 kB / 387.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.5488, allocations: 7.438 kB / 387.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.5488, allocations: 36.41 kB / 387.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.005e-06/0.5488, allocations: 0 / 387.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003991/0.5528, allocations: 1.725 MB / 389 MB, free: 11.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5529, allocations: 82.27 kB / 389 MB, free: 11.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.5531, allocations: 159.9 kB / 389.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5532, allocations: 34.17 kB / 389.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.5533, allocations: 199.2 kB / 389.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.5534, allocations: 171.5 kB / 389.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.5535, allocations: 8.219 kB / 389.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.5536, allocations: 334.8 kB / 389.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.5539, allocations: 97.73 kB / 390 MB, free: 10.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.5542, allocations: 157.3 kB / 390.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.5545, allocations: 127.7 kB / 390.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5545, allocations: 9.094 kB / 390.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008038/0.5554, allocations: 349.2 kB / 390.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5554, allocations: 5.094 kB / 390.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5554, allocations: 1.312 kB / 390.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.5555, allocations: 2.75 kB / 390.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.5562, allocations: 101.8 kB / 390.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.5562, allocations: 11.84 kB / 390.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.5565, allocations: 6.625 kB / 390.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.5565, allocations: 14.81 kB / 390.8 MB, free: 10.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0002189/0.5568, allocations: 153.8 kB / 390.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.5569, allocations: 31 kB / 391 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.557, allocations: 39.31 kB / 391 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.557, allocations: 6.484 kB / 391 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.557, allocations: 3.938 kB / 391 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.557, allocations: 6.578 kB / 391 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.5588, allocations: 0.9494 MB / 392 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5588, allocations: 1.641 kB / 392 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.5596, allocations: 100.4 kB / 392.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.5596, allocations: 3.844 kB / 392.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.5596, allocations: 10.91 kB / 392.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.5597, allocations: 0 / 392.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5597, allocations: 3.969 kB / 392.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.5608, allocations: 0.6775 MB / 392.8 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.5609, allocations: 98.28 kB / 392.9 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.561, allocations: 11.69 kB / 392.9 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.5613, allocations: 7.75 kB / 392.9 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.5614, allocations: 34.38 kB / 392.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.5614, allocations: 15.38 kB / 392.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.5616, allocations: 134.8 kB / 393.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5616, allocations: 0 / 393.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.5621, allocations: 76.44 kB / 393.1 MB, free: 9.672 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * 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 (48): * Single equations (assignments): 48 * 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.001385/0.5635, allocations: 1.43 MB / 394.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007403/0.5643, allocations: 293.4 kB / 394.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5644, allocations: 4 kB / 394.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.5647, allocations: 157.8 kB / 395 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.5654, allocations: 44.12 kB / 395.1 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.5695, allocations: 2.65 MB / 397.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.5699, allocations: 0.7796 MB / 398.5 MB, free: 6.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.5701, allocations: 98.16 kB / 398.6 MB, free: 6.305 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5701, allocations: 0 / 398.6 MB, free: 6.305 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/3.249, allocations: 4.828 MB / 403.4 MB, free: 5.922 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat