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.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_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 11.98 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09435, allocations: 38.76 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4466, allocations: 66.47 MB / 338.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4468, allocations: 67.41 kB / 338.6 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.4658, allocations: 4.446 MB / 343.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4658, allocations: 4 kB / 343.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.4659, allocations: 4 kB / 343.1 MB, free: 3.27 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.0009798/0.4668, allocations: 0.5272 MB / 343.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4669, allocations: 8.031 kB / 343.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.671e-05/0.467, allocations: 65.78 kB / 343.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.4671, allocations: 27.72 kB / 343.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.4674, allocations: 242.5 kB / 344 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4675, allocations: 23.38 kB / 344 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.4676, allocations: 26.25 kB / 344 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.4682, allocations: 246.5 kB / 344.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.4682, allocations: 4 kB / 344.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.4683, allocations: 6.125 kB / 344.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4683, allocations: 8 kB / 344.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.4688, allocations: 176.4 kB / 344.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.4703, allocations: 0.7617 MB / 345.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.4709, allocations: 268.1 kB / 345.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.4709, allocations: 8 kB / 345.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.471, allocations: 38.55 kB / 345.5 MB, free: 1.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.015e-06/0.471, allocations: 3.938 kB / 345.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004019/0.475, allocations: 1.715 MB / 347.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.4751, allocations: 85.09 kB / 347.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4754, allocations: 158 kB / 347.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.4754, allocations: 32.27 kB / 347.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4756, allocations: 196.6 kB / 347.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.4757, allocations: 176.6 kB / 347.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.4758, allocations: 6.5 kB / 347.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4759, allocations: 330.1 kB / 348.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.4762, allocations: 101.8 kB / 348.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.4765, allocations: 152.7 kB / 348.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.4769, allocations: 131.4 kB / 348.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4769, allocations: 0 / 348.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007932/0.4777, allocations: 353.2 kB / 348.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4777, allocations: 8 kB / 348.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4778, allocations: 3.938 kB / 348.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4778, allocations: 4 kB / 348.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.4785, allocations: 106.8 kB / 349 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.4785, allocations: 4 kB / 349 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4788, allocations: 13.19 kB / 349 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.4788, allocations: 10.88 kB / 349.1 MB, free: 13.92 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.0002121/0.479, allocations: 153.2 kB / 349.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.4791, allocations: 27.67 kB / 349.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.4793, allocations: 39.3 kB / 349.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4793, allocations: 8 kB / 349.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4793, allocations: 0 / 349.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4793, allocations: 7.984 kB / 349.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.4812, allocations: 0.9582 MB / 350.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4812, allocations: 0 / 350.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.482, allocations: 94.77 kB / 350.3 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.4821, allocations: 4 kB / 350.3 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.4821, allocations: 14.83 kB / 350.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4821, allocations: 0 / 350.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4821, allocations: 4 kB / 350.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.4833, allocations: 0.6815 MB / 351 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.4834, allocations: 100.7 kB / 351.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.4835, allocations: 6.812 kB / 351.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.4837, allocations: 15.31 kB / 351.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.4838, allocations: 22.91 kB / 351.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.4839, allocations: 19.73 kB / 351.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.4841, allocations: 132 kB / 351.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4841, allocations: 0 / 351.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005365/0.4846, allocations: 80 kB / 351.4 MB, free: 11.88 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.00153/0.4862, allocations: 1.435 MB / 352.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007116/0.4869, allocations: 296.5 kB / 353.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4869, allocations: 0 / 353.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.4872, allocations: 154.8 kB / 353.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.488, allocations: 46.47 kB / 353.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.4926, allocations: 2.654 MB / 356 MB, free: 7.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.4931, allocations: 0.7806 MB / 356.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.4933, allocations: 94.53 kB / 356.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4934, allocations: 0 / 356.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.463/2.956, allocations: 4.823 MB / 361.7 MB, free: 2.109 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat