Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.065/1.065, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002735, allocations: 4 kB / 158.3 MB, free: 15.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05306/0.05337, allocations: 25.17 MB / 183.5 MB, free: 5.91 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002865/0.05629, allocations: 1.712 MB / 185.2 MB, free: 4.199 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.05704, allocations: 243.3 kB / 185.5 MB, free: 3.961 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.05719, allocations: 7.938 kB / 185.5 MB, free: 3.953 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.121e-05/0.05727, allocations: 23.83 kB / 185.5 MB, free: 3.93 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.05757, allocations: 87.73 kB / 185.6 MB, free: 3.844 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.05778, allocations: 47.94 kB / 185.6 MB, free: 3.797 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.05816, allocations: 203.6 kB / 185.8 MB, free: 3.598 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.05838, allocations: 74.34 kB / 185.9 MB, free: 3.523 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.05855, allocations: 91.64 kB / 186 MB, free: 3.434 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.05878, allocations: 103.5 kB / 186.1 MB, free: 3.332 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.05884, allocations: 12 kB / 186.1 MB, free: 3.32 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.05892, allocations: 12 kB / 186.1 MB, free: 3.309 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.05899, allocations: 43.83 kB / 186.2 MB, free: 3.266 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.05908, allocations: 73.58 kB / 186.2 MB, free: 3.188 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.05941, allocations: 211.4 kB / 186.4 MB, free: 2.98 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.05943, allocations: 0 / 186.4 MB, free: 2.98 MB / 154.7 MB Notification: Performance of FrontEnd: time 4.468e-06/0.05944, allocations: 0 / 186.4 MB, free: 2.98 MB / 154.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.05946, allocations: 3.938 kB / 186.4 MB, free: 2.977 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001059/0.06053, allocations: 0.5145 MB / 187 MB, free: 2.414 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.06059, allocations: 8.031 kB / 187 MB, free: 2.406 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.5e-05/0.06068, allocations: 54.55 kB / 187 MB, free: 2.344 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.06079, allocations: 31.72 kB / 187 MB, free: 2.312 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.06113, allocations: 235.3 kB / 187.3 MB, free: 2.039 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.06117, allocations: 16.56 kB / 187.3 MB, free: 2.023 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.06126, allocations: 27.91 kB / 187.3 MB, free: 1.996 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.06185, allocations: 234.6 kB / 187.5 MB, free: 1.754 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.06189, allocations: 4 kB / 187.5 MB, free: 1.75 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.06194, allocations: 11.95 kB / 187.6 MB, free: 1.738 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.06196, allocations: 8 kB / 187.6 MB, free: 1.73 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.06243, allocations: 155.8 kB / 187.7 MB, free: 1.578 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.064, allocations: 0.7264 MB / 188.4 MB, free: 0.7969 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.06463, allocations: 237 kB / 188.7 MB, free: 0.5469 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.06468, allocations: 0 / 188.7 MB, free: 0.5469 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.06473, allocations: 34.56 kB / 188.7 MB, free: 0.5039 MB / 154.7 MB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.06475, allocations: 3.938 kB / 188.7 MB, free: 0.5 MB / 154.7 MB Notification: Performance of matching and sorting (n=42): time 0.004075/0.06884, allocations: 1.614 MB / 190.3 MB, free: 14.71 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.06894, allocations: 89.05 kB / 190.4 MB, free: 14.61 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.06919, allocations: 167.2 kB / 190.6 MB, free: 14.43 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.06925, allocations: 33.7 kB / 190.6 MB, free: 14.39 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.0694, allocations: 203 kB / 190.8 MB, free: 14.18 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.06959, allocations: 153.8 kB / 191 MB, free: 14.03 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.06963, allocations: 12 kB / 191 MB, free: 14.02 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.06979, allocations: 326.8 kB / 191.3 MB, free: 13.69 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.07006, allocations: 92.83 kB / 191.4 MB, free: 13.6 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.0704, allocations: 147.7 kB / 191.5 MB, free: 13.45 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.07074, allocations: 119.8 kB / 191.6 MB, free: 13.33 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.07077, allocations: 4 kB / 191.6 MB, free: 13.33 MB / 170.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007962/0.07157, allocations: 317.2 kB / 192 MB, free: 13.01 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.07162, allocations: 9.875 kB / 192 MB, free: 13 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.07164, allocations: 0 / 192 MB, free: 13 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.07167, allocations: 4 kB / 192 MB, free: 13 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.07236, allocations: 91.89 kB / 192.1 MB, free: 12.91 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.07239, allocations: 4 kB / 192.1 MB, free: 12.91 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.07262, allocations: 19.89 kB / 192.1 MB, free: 12.89 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.07266, allocations: 15.98 kB / 192.1 MB, free: 12.87 MB / 170.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 (52): * Single equations (assignments): 52 * 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.0002326/0.0729, allocations: 145.8 kB / 192.2 MB, free: 12.72 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.07301, allocations: 27.72 kB / 192.3 MB, free: 12.69 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.07313, allocations: 37.86 kB / 192.3 MB, free: 12.66 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.07315, allocations: 4 kB / 192.3 MB, free: 12.66 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.07317, allocations: 0 / 192.3 MB, free: 12.66 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.07318, allocations: 0 / 192.3 MB, free: 12.66 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.07512, allocations: 0.8994 MB / 193.2 MB, free: 11.7 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.07517, allocations: 4 kB / 193.2 MB, free: 11.69 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.07598, allocations: 83.91 kB / 193.3 MB, free: 11.61 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.07601, allocations: 12.02 kB / 193.3 MB, free: 11.6 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.07606, allocations: 11.98 kB / 193.3 MB, free: 11.59 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.07608, allocations: 4 kB / 193.3 MB, free: 11.58 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.07609, allocations: 3.938 kB / 193.3 MB, free: 11.58 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.07724, allocations: 0.5835 MB / 193.9 MB, free: 10.97 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.07739, allocations: 108.8 kB / 194 MB, free: 10.84 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.07746, allocations: 4 kB / 194 MB, free: 10.84 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.07774, allocations: 8 kB / 194 MB, free: 10.83 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.07782, allocations: 27.95 kB / 194.1 MB, free: 10.8 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.07786, allocations: 15.94 kB / 194.1 MB, free: 10.79 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.07802, allocations: 129.2 kB / 194.2 MB, free: 10.66 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.07803, allocations: 0 / 194.2 MB, free: 10.66 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005333/0.07857, allocations: 75.94 kB / 194.3 MB, free: 10.59 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (42): * Single equations (assignments): 42 * 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.001478/0.08006, allocations: 1.14 MB / 195.4 MB, free: 9.41 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0007469/0.08084, allocations: 257.3 kB / 195.7 MB, free: 9.16 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.08087, allocations: 3.938 kB / 195.7 MB, free: 9.156 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.0812, allocations: 146.7 kB / 195.8 MB, free: 9.016 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.08191, allocations: 39.97 kB / 195.8 MB, free: 8.977 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.08647, allocations: 2.091 MB / 197.9 MB, free: 6.816 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.08698, allocations: 0.7722 MB / 198.7 MB, free: 6.02 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.08724, allocations: 91.42 kB / 198.8 MB, free: 5.93 MB / 170.7 MB Notification: Performance of SimCode: time 1.312e-06/0.08726, allocations: 4 kB / 198.8 MB, free: 5.926 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.547/2.635, allocations: 4.529 MB / 203.3 MB, free: 1.387 MB / 170.7 MB