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 1.218/1.218, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002694, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04623/0.04653, allocations: 25.17 MB / 183.4 MB, free: 6.016 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002609/0.04919, allocations: 1.711 MB / 185.1 MB, free: 4.305 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005152/0.04974, allocations: 240.1 kB / 185.4 MB, free: 4.07 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.04987, allocations: 4 kB / 185.4 MB, free: 4.066 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.254e-05/0.04997, allocations: 27.77 kB / 185.4 MB, free: 4.039 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.05021, allocations: 91.73 kB / 185.5 MB, free: 3.949 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.05038, allocations: 43.94 kB / 185.5 MB, free: 3.906 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.05068, allocations: 203.6 kB / 185.7 MB, free: 3.707 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.05089, allocations: 82.05 kB / 185.8 MB, free: 3.625 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.05103, allocations: 87.66 kB / 185.9 MB, free: 3.539 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.05122, allocations: 107.5 kB / 186 MB, free: 3.434 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.05128, allocations: 12 kB / 186 MB, free: 3.422 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.821e-05/0.05134, allocations: 12 kB / 186 MB, free: 3.41 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.0514, allocations: 39.84 kB / 186.1 MB, free: 3.371 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.05149, allocations: 69.58 kB / 186.1 MB, free: 3.297 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.05178, allocations: 215.6 kB / 186.3 MB, free: 3.086 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.543e-06/0.0518, allocations: 0 / 186.3 MB, free: 3.086 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.05181, allocations: 0 / 186.3 MB, free: 3.086 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.782e-06/0.05183, allocations: 0 / 186.3 MB, free: 3.086 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.0008273/0.05267, allocations: 0.5145 MB / 186.8 MB, free: 2.523 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.05272, allocations: 12.02 kB / 186.9 MB, free: 2.512 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.05281, allocations: 35.62 kB / 186.9 MB, free: 2.477 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.05313, allocations: 227.4 kB / 187.1 MB, free: 2.211 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.05317, allocations: 16.56 kB / 187.1 MB, free: 2.195 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.05324, allocations: 24 kB / 187.2 MB, free: 2.172 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.05374, allocations: 234.5 kB / 187.4 MB, free: 1.93 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.05378, allocations: 7.906 kB / 187.4 MB, free: 1.922 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.05383, allocations: 11.95 kB / 187.4 MB, free: 1.91 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.05385, allocations: 8 kB / 187.4 MB, free: 1.902 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.05424, allocations: 151.9 kB / 187.6 MB, free: 1.754 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.05554, allocations: 0.7148 MB / 188.3 MB, free: 0.9844 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.05607, allocations: 249 kB / 188.5 MB, free: 0.7227 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.05611, allocations: 7.938 kB / 188.5 MB, free: 0.7148 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.05616, allocations: 42.5 kB / 188.6 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/0.05617, allocations: 0 / 188.6 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of matching and sorting (n=42): time 0.003418/0.0596, allocations: 1.609 MB / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.0597, allocations: 89.05 kB / 190.3 MB, free: 14.77 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.05995, allocations: 175.2 kB / 190.4 MB, free: 14.58 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.05999, allocations: 29.7 kB / 190.5 MB, free: 14.55 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.06015, allocations: 203.1 kB / 190.7 MB, free: 14.34 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.06032, allocations: 149.7 kB / 190.8 MB, free: 14.2 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.06035, allocations: 12 kB / 190.8 MB, free: 14.19 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.06054, allocations: 322.8 kB / 191.1 MB, free: 13.86 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.06078, allocations: 96.83 kB / 191.2 MB, free: 13.77 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.06108, allocations: 143.8 kB / 191.4 MB, free: 13.62 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.06137, allocations: 115.9 kB / 191.5 MB, free: 13.51 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-06/0.06139, allocations: 0 / 191.5 MB, free: 13.51 MB / 170.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007043/0.0621, allocations: 329.1 kB / 191.8 MB, free: 13.18 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.06214, allocations: 6.969 kB / 191.8 MB, free: 13.18 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.922e-06/0.06215, allocations: 3.938 kB / 191.8 MB, free: 13.17 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.06218, allocations: 4.062 kB / 191.8 MB, free: 13.17 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.06265, allocations: 91.89 kB / 191.9 MB, free: 13.08 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.06268, allocations: 4 kB / 191.9 MB, free: 13.07 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.06285, allocations: 15.95 kB / 191.9 MB, free: 13.06 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.06289, allocations: 12 kB / 191.9 MB, free: 13.05 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.0002064/0.06311, allocations: 153.7 kB / 192.1 MB, free: 12.89 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.06323, allocations: 27.72 kB / 192.1 MB, free: 12.86 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.06332, allocations: 33.86 kB / 192.1 MB, free: 12.83 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.029e-06/0.06334, allocations: 4 kB / 192.2 MB, free: 12.83 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.258e-06/0.06336, allocations: 4 kB / 192.2 MB, free: 12.82 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-06/0.06338, allocations: 0 / 192.2 MB, free: 12.82 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.06516, allocations: 0.8998 MB / 193.1 MB, free: 11.86 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.864e-06/0.06519, allocations: 4 kB / 193.1 MB, free: 11.86 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.06573, allocations: 83.91 kB / 193.1 MB, free: 11.78 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.06576, allocations: 7.984 kB / 193.2 MB, free: 11.77 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.0658, allocations: 15.95 kB / 193.2 MB, free: 11.75 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.431e-06/0.06582, allocations: 4 kB / 193.2 MB, free: 11.75 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.06583, allocations: 3.984 kB / 193.2 MB, free: 11.75 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.06685, allocations: 0.5913 MB / 193.8 MB, free: 11.13 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.06697, allocations: 100.8 kB / 193.9 MB, free: 11.01 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.06703, allocations: 4 kB / 193.9 MB, free: 11.01 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.06731, allocations: 15.98 kB / 193.9 MB, free: 10.99 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.06738, allocations: 19.97 kB / 193.9 MB, free: 10.97 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.06742, allocations: 16 kB / 193.9 MB, free: 10.96 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.06758, allocations: 137.1 kB / 194.1 MB, free: 10.82 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.0676, allocations: 0 / 194.1 MB, free: 10.82 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.06813, allocations: 72 kB / 194.1 MB, free: 10.75 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.0001586/0.0683, allocations: 107.2 kB / 194.2 MB, free: 10.64 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.06891, allocations: 258 kB / 194.5 MB, free: 10.39 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 5.646e-06/0.06893, allocations: 4.125 kB / 194.5 MB, free: 10.38 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.06922, allocations: 139.8 kB / 194.6 MB, free: 10.25 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.06978, allocations: 54.83 kB / 194.7 MB, free: 10.2 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.07183, allocations: 1.191 MB / 195.9 MB, free: 8.965 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.07235, allocations: 0.7686 MB / 196.6 MB, free: 8.172 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.07248, allocations: 31.44 kB / 196.7 MB, free: 8.141 MB / 170.7 MB Notification: Performance of SimCode: time 1.609e-06/0.07249, allocations: 0 / 196.7 MB, free: 8.141 MB / 170.7 MB Notification: Performance of Templates: time 0.007257/0.07976, allocations: 3.325 MB / 200 MB, free: 4.805 MB / 170.7 MB