Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 12 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07957/0.07996, allocations: 44.5 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4277, allocations: 71.77 MB / 380.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.4281, allocations: 69.34 kB / 380.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0276/0.4557, allocations: 4.438 MB / 384.7 MB, free: 18.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.139e-06/0.4558, allocations: 4 kB / 384.7 MB, free: 18.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.865e-05/0.4558, allocations: 5.875 kB / 384.7 MB, free: 18.31 MB / 314.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.001271/0.4571, allocations: 0.5139 MB / 385.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.4572, allocations: 9.062 kB / 385.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.4574, allocations: 36.25 kB / 385.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.4579, allocations: 233.1 kB / 385.5 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.458, allocations: 20.88 kB / 385.5 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.4581, allocations: 35.27 kB / 385.6 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.4592, allocations: 249.6 kB / 385.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.4593, allocations: 9.516 kB / 385.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.4594, allocations: 8.125 kB / 385.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.4594, allocations: 6.875 kB / 385.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.4603, allocations: 182.2 kB / 386 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.4617, allocations: 0.7461 MB / 386.8 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.4623, allocations: 271.1 kB / 387 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.4623, allocations: 3.969 kB / 387 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4623, allocations: 42.69 kB / 387.1 MB, free: 17.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.473e-06/0.4624, allocations: 0 / 387.1 MB, free: 17.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003089/0.4655, allocations: 1.712 MB / 388.8 MB, free: 16.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.4655, allocations: 90.17 kB / 388.9 MB, free: 16.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4657, allocations: 160.1 kB / 389 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.4657, allocations: 34.77 kB / 389.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.4658, allocations: 197.9 kB / 389.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4659, allocations: 169.1 kB / 389.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.466, allocations: 10.09 kB / 389.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.4661, allocations: 335.5 kB / 389.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.4663, allocations: 103.6 kB / 389.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.4666, allocations: 150.3 kB / 390 MB, free: 15.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.4668, allocations: 126.7 kB / 390.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.546e-06/0.4669, allocations: 0 / 390.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006632/0.4675, allocations: 352.6 kB / 390.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4676, allocations: 6.406 kB / 390.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.887e-06/0.4676, allocations: 4.062 kB / 390.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4676, allocations: 9.672 kB / 390.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.4681, allocations: 97.91 kB / 390.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4681, allocations: 5.781 kB / 390.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.4683, allocations: 10.69 kB / 390.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.4683, allocations: 13.62 kB / 390.6 MB, free: 15.19 MB / 314.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.0001637/0.4685, allocations: 156.4 kB / 390.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4686, allocations: 30.75 kB / 390.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/0.4687, allocations: 38.55 kB / 390.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.698e-06/0.4687, allocations: 8.75 kB / 390.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.271e-06/0.4687, allocations: 2.312 kB / 390.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.4688, allocations: 2.859 kB / 390.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.4703, allocations: 0.9526 MB / 391.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.659e-06/0.4703, allocations: 3.938 kB / 391.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.4709, allocations: 99.11 kB / 391.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-06/0.4709, allocations: 3.875 kB / 391.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.471, allocations: 14.75 kB / 391.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.387e-06/0.471, allocations: 7.812 kB / 391.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.511e-06/0.471, allocations: 64 / 391.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.4719, allocations: 0.6756 MB / 392.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.472, allocations: 103.1 kB / 392.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.472, allocations: 11.75 kB / 392.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.4723, allocations: 7.188 kB / 392.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.4724, allocations: 37.78 kB / 392.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.4724, allocations: 11.06 kB / 392.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.4725, allocations: 132.5 kB / 392.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.4725, allocations: 0 / 392.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005343/0.4731, allocations: 80.09 kB / 393 MB, free: 14.08 MB / 314.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.0001417/0.4732, allocations: 118 kB / 393.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.4738, allocations: 280.3 kB / 393.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4738, allocations: 1.531 kB / 393.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.4741, allocations: 156.8 kB / 393.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.4747, allocations: 56.53 kB / 393.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.4764, allocations: 1.248 MB / 394.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.4766, allocations: 0.7832 MB / 395.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4768, allocations: 30.25 kB / 395.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4768, allocations: 0 / 395.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of Templates: time 0.00593/0.4827, allocations: 3.54 MB / 399.2 MB, free: 12.13 MB / 314.7 MB