Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.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: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 8 kB / 233.8 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08533/0.08585, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3327/0.4186, allocations: 65.75 MB / 338.4 MB, free: 7.516 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4189, allocations: 68.72 kB / 338.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005223/0.4242, allocations: 1.324 MB / 339.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4242, allocations: 0 / 339.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.4243, allocations: 5.531 kB / 339.8 MB, free: 6.332 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000452/0.4247, allocations: 346.5 kB / 340.1 MB, free: 5.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4248, allocations: 12.03 kB / 340.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.4248, allocations: 4 kB / 340.1 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.425, allocations: 178.8 kB / 340.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4251, allocations: 4 kB / 340.3 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.4251, allocations: 11.08 kB / 340.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.4253, allocations: 71.73 kB / 340.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4254, allocations: 0 / 340.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4254, allocations: 3.984 kB / 340.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4254, allocations: 4 kB / 340.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.4255, allocations: 31.23 kB / 340.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.4264, allocations: 396.1 kB / 340.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.4265, allocations: 60.7 kB / 340.9 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4266, allocations: 0 / 340.9 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.4266, allocations: 34.56 kB / 340.9 MB, free: 5.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.4266, allocations: 0 / 340.9 MB, free: 5.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009414/0.4276, allocations: 0.5113 MB / 341.4 MB, free: 4.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.4276, allocations: 51.41 kB / 341.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.4277, allocations: 125 kB / 341.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.4278, allocations: 25.7 kB / 341.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.4278, allocations: 103.6 kB / 341.7 MB, free: 4.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.4279, allocations: 30.5 kB / 341.7 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-06/0.4279, allocations: 0 / 341.7 MB, free: 4.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4281, allocations: 322.7 kB / 342 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.4281, allocations: 23.05 kB / 342.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.4282, allocations: 56.77 kB / 342.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.4283, allocations: 26.62 kB / 342.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4283, allocations: 0 / 342.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002379/0.4286, allocations: 109.5 kB / 342.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4286, allocations: 5.094 kB / 342.3 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4286, allocations: 4 kB / 342.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4287, allocations: 0 / 342.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.4288, allocations: 28.02 kB / 342.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4289, allocations: 4 kB / 342.3 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.4289, allocations: 7.938 kB / 342.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.429, allocations: 11.33 kB / 342.3 MB, free: 3.645 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.0001167/0.4291, allocations: 121.4 kB / 342.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.4291, allocations: 11.89 kB / 342.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.4292, allocations: 12.56 kB / 342.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4292, allocations: 4 kB / 342.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4292, allocations: 0 / 342.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-06/0.4292, allocations: 4 kB / 342.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/0.43, allocations: 400.9 kB / 342.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.43, allocations: 4 kB / 342.9 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.4302, allocations: 27.92 kB / 342.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4302, allocations: 160 / 342.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4302, allocations: 10.62 kB / 342.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.4302, allocations: 7.891 kB / 342.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4302, allocations: 4 kB / 342.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4306, allocations: 230.3 kB / 343.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.4306, allocations: 81.14 kB / 343.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.4307, allocations: 4 kB / 343.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4308, allocations: 3.812 kB / 343.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.4308, allocations: 15.88 kB / 343.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4308, allocations: 4 kB / 343.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.4309, allocations: 90.77 kB / 343.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4309, allocations: 64 / 343.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.4313, allocations: 23.75 kB / 343.4 MB, free: 2.559 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0001464/0.4314, allocations: 103 kB / 343.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.4316, allocations: 57.36 kB / 343.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4317, allocations: 0 / 343.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.4317, allocations: 30.67 kB / 343.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.4321, allocations: 19.94 kB / 343.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.4329, allocations: 399.4 kB / 344 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4332, allocations: 0.7004 MB / 344.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.232e-05/0.4333, allocations: 4.438 kB / 344.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.4334, allocations: 11.81 kB / 344.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4334, allocations: 0 / 344.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of Templates: time 0.003669/0.4371, allocations: 0.597 MB / 345.3 MB, free: 0.6172 MB / 266.7 MB