Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 23.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5453, allocations: 71.27 MB / 380.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5456, allocations: 71.56 kB / 380.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01167/0.5573, allocations: 2.838 MB / 383.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5574, allocations: 0 / 383.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5574, allocations: 7.938 kB / 383.2 MB, free: 14.82 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006519/0.558, allocations: 440.9 kB / 383.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5581, allocations: 8.938 kB / 383.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.5582, allocations: 19.78 kB / 383.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.5584, allocations: 215.9 kB / 383.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5584, allocations: 15.69 kB / 383.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.5585, allocations: 19.22 kB / 383.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.5589, allocations: 175.9 kB / 384.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.559, allocations: 3.375 kB / 384.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.559, allocations: 7.812 kB / 384.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.559, allocations: 3.219 kB / 384.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.5593, allocations: 102 kB / 384.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.5608, allocations: 0.7738 MB / 385 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.5611, allocations: 129.9 kB / 385.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.5611, allocations: 1.375 kB / 385.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.5612, allocations: 34.89 kB / 385.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.257e-06/0.5612, allocations: 1.375 kB / 385.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004274/0.5616, allocations: 132 kB / 385.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.5617, allocations: 113.5 kB / 385.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.5619, allocations: 217.5 kB / 385.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.562, allocations: 30.77 kB / 385.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.5621, allocations: 133.8 kB / 385.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.5621, allocations: 53.92 kB / 385.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.5621, allocations: 3.375 kB / 385.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.5622, allocations: 329.4 kB / 386.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.5623, allocations: 38.42 kB / 386.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.5625, allocations: 131.1 kB / 386.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5627, allocations: 61.06 kB / 386.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5627, allocations: 1.375 kB / 386.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005214/0.5632, allocations: 209.1 kB / 386.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5633, allocations: 6.875 kB / 386.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5633, allocations: 2.75 kB / 386.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.5633, allocations: 8.578 kB / 386.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.5636, allocations: 45.83 kB / 386.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.5637, allocations: 8.422 kB / 386.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.5639, allocations: 30.33 kB / 386.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.5639, allocations: 11.09 kB / 386.7 MB, free: 12.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0001429/0.5641, allocations: 135.5 kB / 386.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.5642, allocations: 17.59 kB / 386.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.5642, allocations: 22.95 kB / 386.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5643, allocations: 2.469 kB / 386.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5643, allocations: 5.344 kB / 386.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5643, allocations: 6.469 kB / 386.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.5649, allocations: 248.8 kB / 387.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5649, allocations: 4 kB / 387.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.5652, allocations: 38.41 kB / 387.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.5653, allocations: 1.344 kB / 387.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.5653, allocations: 6.344 kB / 387.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5653, allocations: 5.25 kB / 387.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5653, allocations: 1.531 kB / 387.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.5657, allocations: 388 kB / 387.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.5658, allocations: 97.45 kB / 387.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.5659, allocations: 4.688 kB / 387.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5661, allocations: 4.141 kB / 387.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.5662, allocations: 10.92 kB / 387.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.5662, allocations: 6.719 kB / 387.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.5664, allocations: 154.2 kB / 387.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5664, allocations: 0 / 387.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.5669, allocations: 44.44 kB / 387.9 MB, free: 11.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (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 Backend phase and start with SimCode phase: time 0.0001653/0.5671, allocations: 108.1 kB / 388 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.5675, allocations: 110.8 kB / 388.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5675, allocations: 1.25 kB / 388.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.5676, allocations: 35.95 kB / 388.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.5681, allocations: 25.36 kB / 388.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.5696, allocations: 0.7629 MB / 388.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.5699, allocations: 0.7291 MB / 389.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.57, allocations: 18.77 kB / 389.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.5701, allocations: 17.62 kB / 389.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5701, allocations: 0 / 389.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of Templates: time 0.005754/0.5759, allocations: 1.266 MB / 390.9 MB, free: 10.16 MB / 314.7 MB