Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors.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.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.907/1.907, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 12 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09684, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.5039, allocations: 72.81 MB / 381.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.5043, allocations: 72.92 kB / 381.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.5151, allocations: 2.495 MB / 384.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5152, allocations: 1.312 kB / 384.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.5152, allocations: 2.281 kB / 384.3 MB, free: 14.47 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006689/0.5159, allocations: 419.3 kB / 384.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5159, allocations: 8.875 kB / 384.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.516, allocations: 15.72 kB / 384.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.5163, allocations: 201 kB / 385 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5163, allocations: 12.84 kB / 385 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.5164, allocations: 19.42 kB / 385 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.5168, allocations: 140.1 kB / 385.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5169, allocations: 4.438 kB / 385.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.5169, allocations: 8.312 kB / 385.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.5169, allocations: 5.625 kB / 385.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.5173, allocations: 97.47 kB / 385.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.5184, allocations: 0.5316 MB / 385.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.5186, allocations: 77.27 kB / 385.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.5187, allocations: 4 kB / 385.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.5187, allocations: 31.94 kB / 385.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.575e-06/0.5187, allocations: 0 / 385.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.00135/0.5201, allocations: 0.6129 MB / 386.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5202, allocations: 52.78 kB / 386.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.5203, allocations: 133.1 kB / 386.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.5203, allocations: 28.64 kB / 386.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.5204, allocations: 196.1 kB / 386.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.5205, allocations: 40.83 kB / 387 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.5205, allocations: 9.562 kB / 387 MB, free: 12.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.5206, allocations: 318.2 kB / 387.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.5207, allocations: 31.98 kB / 387.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.5209, allocations: 84.69 kB / 387.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.521, allocations: 48.53 kB / 387.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5211, allocations: 5.125 kB / 387.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004065/0.5215, allocations: 164 kB / 387.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5215, allocations: 6.188 kB / 387.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5215, allocations: 2.812 kB / 387.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5216, allocations: 2.344 kB / 387.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.5218, allocations: 39.17 kB / 387.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5219, allocations: 2.594 kB / 387.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.522, allocations: 8.562 kB / 387.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.522, allocations: 15.17 kB / 387.7 MB, free: 12.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001268/0.5222, allocations: 124.6 kB / 387.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.5222, allocations: 14.77 kB / 387.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.5223, allocations: 16.72 kB / 387.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5223, allocations: 1.438 kB / 387.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5223, allocations: 4.125 kB / 387.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5223, allocations: 0 / 387.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.5231, allocations: 454.5 kB / 388.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5231, allocations: 1.5 kB / 388.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.5233, allocations: 25.94 kB / 388.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.5234, allocations: 2.125 kB / 388.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.5234, allocations: 1.375 kB / 388.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.5234, allocations: 9.25 kB / 388.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5234, allocations: 5.188 kB / 388.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.5239, allocations: 259.8 kB / 388.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.5239, allocations: 83.77 kB / 388.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.524, allocations: 1.594 kB / 388.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5241, allocations: 7.25 kB / 388.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.5242, allocations: 8.031 kB / 388.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5243, allocations: 10.31 kB / 388.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.094e-05/0.5243, allocations: 100.3 kB / 388.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5243, allocations: 0 / 388.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003893/0.5247, allocations: 30.5 kB / 388.8 MB, free: 11.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.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 (11): * Single equations (assignments): 11 * 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.0001333/0.5249, allocations: 104.4 kB / 388.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.5253, allocations: 98.8 kB / 389 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5253, allocations: 0 / 389 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5254, allocations: 41.92 kB / 389.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.5257, allocations: 16.8 kB / 389.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5268, allocations: 0.5261 MB / 389.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.527, allocations: 0.7239 MB / 390.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.527, allocations: 13.5 kB / 390.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5271, allocations: 0 / 390.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Templates: time 0.004347/0.5314, allocations: 1.401 MB / 391.7 MB, free: 9.973 MB / 314.7 MB