Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 0.996/0.996, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.184e-05, allocations: 3.984 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 25.14 MB / 179.4 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05066/0.1901, allocations: 33.62 MB / 213 MB, free: 15.5 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.1904, allocations: 59.97 kB / 213.1 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01734/0.2077, allocations: 4.247 MB / 217.3 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2078, allocations: 192 / 217.3 MB, free: 11.17 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2078, allocations: 4 kB / 217.4 MB, free: 11.16 MB / 186.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.0007751/0.2086, allocations: 490.3 kB / 217.8 MB, free: 10.64 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2086, allocations: 16.02 kB / 217.8 MB, free: 10.62 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.2087, allocations: 27.72 kB / 217.9 MB, free: 10.6 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2089, allocations: 203.3 kB / 218.1 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.209, allocations: 16.56 kB / 218.1 MB, free: 10.34 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.2091, allocations: 27.98 kB / 218.1 MB, free: 10.31 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.2096, allocations: 231.6 kB / 218.3 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2096, allocations: 0 / 218.3 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.2097, allocations: 8 kB / 218.3 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.402e-06/0.2097, allocations: 4 kB / 218.4 MB, free: 10.06 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.2101, allocations: 160.4 kB / 218.5 MB, free: 9.906 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.2114, allocations: 0.7225 MB / 219.2 MB, free: 9.129 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.2119, allocations: 229.3 kB / 219.5 MB, free: 8.887 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.2122, allocations: 98.36 kB / 219.6 MB, free: 8.785 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2122, allocations: 4 kB / 219.6 MB, free: 8.781 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2122, allocations: 34.56 kB / 219.6 MB, free: 8.738 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 2.763e-06/0.2123, allocations: 0 / 219.6 MB, free: 8.738 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.003279/0.2155, allocations: 1.542 MB / 221.1 MB, free: 7.02 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.2156, allocations: 81.11 kB / 221.2 MB, free: 6.922 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.2159, allocations: 151.2 kB / 221.4 MB, free: 6.766 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.2159, allocations: 33.7 kB / 221.4 MB, free: 6.727 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2161, allocations: 207 kB / 221.6 MB, free: 6.523 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2162, allocations: 149.8 kB / 221.7 MB, free: 6.375 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2163, allocations: 12 kB / 221.8 MB, free: 6.363 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2164, allocations: 330.8 kB / 222.1 MB, free: 6.031 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.2167, allocations: 88.88 kB / 222.2 MB, free: 5.945 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.217, allocations: 135.8 kB / 222.3 MB, free: 5.805 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.2173, allocations: 107.9 kB / 222.4 MB, free: 5.699 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.947e-06/0.2173, allocations: 0 / 222.4 MB, free: 5.699 MB / 186.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006858/0.218, allocations: 317.2 kB / 222.7 MB, free: 5.383 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.218, allocations: 4 kB / 222.7 MB, free: 5.379 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.218, allocations: 3.938 kB / 222.7 MB, free: 5.375 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2181, allocations: 4 kB / 222.7 MB, free: 5.371 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.2185, allocations: 95.89 kB / 222.8 MB, free: 5.277 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.2186, allocations: 3.953 kB / 222.8 MB, free: 5.273 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.2187, allocations: 12 kB / 222.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2188, allocations: 12 kB / 222.8 MB, free: 5.25 MB / 186.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 () * 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.0001331/0.2189, allocations: 128.9 kB / 223 MB, free: 5.117 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.219, allocations: 27.72 kB / 223 MB, free: 5.09 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.2191, allocations: 37.64 kB / 223 MB, free: 5.051 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-06/0.2192, allocations: 4 kB / 223 MB, free: 5.047 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.2192, allocations: 0 / 223 MB, free: 5.047 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.873e-06/0.2192, allocations: 3.953 kB / 223 MB, free: 5.043 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.2209, allocations: 0.8999 MB / 223.9 MB, free: 4.082 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-06/0.221, allocations: 0 / 223.9 MB, free: 4.082 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.2215, allocations: 91.86 kB / 224 MB, free: 3.992 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-06/0.2215, allocations: 0 / 224 MB, free: 3.992 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.2216, allocations: 16.05 kB / 224 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.2216, allocations: 4 kB / 224 MB, free: 3.973 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.483e-06/0.2216, allocations: 3.984 kB / 224.1 MB, free: 3.969 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2226, allocations: 0.6124 MB / 224.7 MB, free: 3.309 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.2228, allocations: 96.83 kB / 224.8 MB, free: 3.195 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.2228, allocations: 12 kB / 224.8 MB, free: 3.184 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.2231, allocations: 8 kB / 224.8 MB, free: 3.176 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.2231, allocations: 27.92 kB / 224.8 MB, free: 3.148 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.2232, allocations: 11.98 kB / 224.8 MB, free: 3.137 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.2233, allocations: 128.3 kB / 224.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.399e-06/0.2234, allocations: 0 / 224.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005122/0.2239, allocations: 79.94 kB / 225 MB, free: 2.934 MB / 186.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 () * 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.0001681/0.2241, allocations: 115.3 kB / 225.1 MB, free: 2.812 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005769/0.2247, allocations: 252.6 kB / 225.4 MB, free: 2.566 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.248e-06/0.2247, allocations: 4 kB / 225.4 MB, free: 2.562 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.225, allocations: 132.7 kB / 225.5 MB, free: 2.434 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.2255, allocations: 55.19 kB / 225.6 MB, free: 2.383 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.2272, allocations: 0.8757 MB / 226.4 MB, free: 1.469 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.2277, allocations: 0.7722 MB / 227.2 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2278, allocations: 31.38 kB / 227.2 MB, free: 0.6445 MB / 186.7 MB Notification: Performance of SimCode: time 1.635e-06/0.2279, allocations: 4 kB / 227.3 MB, free: 0.6406 MB / 186.7 MB Notification: Performance of Templates: time 0.006677/0.2345, allocations: 3.305 MB / 230.6 MB, free: 13.33 MB / 202.7 MB