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.InitialConditions.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.InitialConditions,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.706/1.706, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005706/0.0005709, allocations: 12 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09295, allocations: 38.76 MB / 272.1 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4379, allocations: 66.47 MB / 338.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4382, allocations: 69.27 kB / 338.6 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.4575, allocations: 4.464 MB / 343.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4576, allocations: 0 / 343.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.4576, allocations: 7.984 kB / 343.1 MB, free: 2.66 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009783/0.4586, allocations: 0.5167 MB / 343.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4586, allocations: 8.031 kB / 343.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.709e-05/0.4587, allocations: 67.34 kB / 343.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.4588, allocations: 27.72 kB / 343.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.4591, allocations: 237.9 kB / 344 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.4592, allocations: 19.62 kB / 344 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.4593, allocations: 23.31 kB / 344 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/0.4599, allocations: 249.9 kB / 344.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.4599, allocations: 7.438 kB / 344.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.46, allocations: 6.625 kB / 344.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.46, allocations: 11.94 kB / 344.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.4605, allocations: 175 kB / 344.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.4619, allocations: 0.7597 MB / 345.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.4626, allocations: 281.5 kB / 345.5 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.4626, allocations: 4 kB / 345.5 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.4627, allocations: 42.12 kB / 345.5 MB, free: 468 kB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.454e-06/0.4627, allocations: 3.938 kB / 345.5 MB, free: 464 kB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.003874/0.4665, allocations: 1.707 MB / 347.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.4666, allocations: 85.11 kB / 347.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.4668, allocations: 150.6 kB / 347.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.4669, allocations: 37.2 kB / 347.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.467, allocations: 139 kB / 347.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.4672, allocations: 178.6 kB / 347.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.4672, allocations: 10.38 kB / 347.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4674, allocations: 334.9 kB / 348.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.4677, allocations: 99.95 kB / 348.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.468, allocations: 156 kB / 348.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.4683, allocations: 129.8 kB / 348.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4683, allocations: 4 kB / 348.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007948/0.4691, allocations: 356.1 kB / 348.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4692, allocations: 8 kB / 348.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4692, allocations: 0 / 348.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4692, allocations: 4 kB / 348.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.47, allocations: 102.8 kB / 349 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.47, allocations: 4 kB / 349 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.4702, allocations: 7.375 kB / 349 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.4702, allocations: 19.94 kB / 349 MB, free: 13.36 MB / 282.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.0002016/0.4704, allocations: 150.7 kB / 349.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.4706, allocations: 35.58 kB / 349.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4707, allocations: 42.42 kB / 349.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4707, allocations: 8 kB / 349.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4707, allocations: 0 / 349.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4707, allocations: 3.984 kB / 349.3 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.4726, allocations: 0.9464 MB / 350.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4726, allocations: 4 kB / 350.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.4734, allocations: 103.6 kB / 350.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4734, allocations: 4 kB / 350.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.4735, allocations: 14.39 kB / 350.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4735, allocations: 0 / 350.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.4735, allocations: 8 kB / 350.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4747, allocations: 0.6824 MB / 351 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.4748, allocations: 100.8 kB / 351.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.4749, allocations: 10.81 kB / 351.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.4751, allocations: 11 kB / 351.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.4752, allocations: 23.09 kB / 351.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.4753, allocations: 19.23 kB / 351.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.4754, allocations: 133.5 kB / 351.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4754, allocations: 0 / 351.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005248/0.476, allocations: 81.5 kB / 351.4 MB, free: 11.31 MB / 282.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.001592/0.4776, allocations: 1.441 MB / 352.8 MB, free: 9.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008007/0.4784, allocations: 291.5 kB / 353.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4784, allocations: 0 / 353.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.4788, allocations: 154.4 kB / 353.3 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.4795, allocations: 50.77 kB / 353.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.4843, allocations: 2.628 MB / 355.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.4849, allocations: 0.7806 MB / 356.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.4852, allocations: 26.97 kB / 356.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.4854, allocations: 94.16 kB / 356.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4854, allocations: 0 / 356.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.5142, allocations: 5.508 MB / 362.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.5146, allocations: 190.6 kB / 362.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.149, allocations: 0 / 362.5 MB, free: 0.6367 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat