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.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_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 2.291/2.291, allocations: 194.8 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005306, allocations: 12 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.115, allocations: 44.51 MB / 309 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.6588, allocations: 72.81 MB / 381.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.6591, allocations: 77.86 kB / 381.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009873/0.669, allocations: 2.49 MB / 384.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.669, allocations: 1.906 kB / 384.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.6691, allocations: 6.438 kB / 384.4 MB, free: 15.03 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.000565/0.6696, allocations: 415.2 kB / 384.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6697, allocations: 10.12 kB / 384.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.6697, allocations: 18.84 kB / 384.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.67, allocations: 203.6 kB / 385.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.67, allocations: 13.62 kB / 385.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.6701, allocations: 14.81 kB / 385.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.6705, allocations: 140 kB / 385.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.6705, allocations: 4.141 kB / 385.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.6705, allocations: 7.125 kB / 385.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.6705, allocations: 4.125 kB / 385.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.6709, allocations: 91.88 kB / 385.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.6719, allocations: 0.5431 MB / 385.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.6721, allocations: 80.19 kB / 386 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.6721, allocations: 1.5 kB / 386 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.6722, allocations: 34.38 kB / 386 MB, free: 13.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.595e-06/0.6722, allocations: 1.281 kB / 386 MB, free: 13.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.001257/0.6735, allocations: 0.6043 MB / 386.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.6735, allocations: 52.66 kB / 386.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.6736, allocations: 137.8 kB / 386.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.6737, allocations: 34.39 kB / 386.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.6737, allocations: 131.7 kB / 386.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.6738, allocations: 39.45 kB / 387 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.6738, allocations: 3.938 kB / 387 MB, free: 13.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.6739, allocations: 320.2 kB / 387.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.674, allocations: 29.06 kB / 387.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.6742, allocations: 90.77 kB / 387.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.6744, allocations: 46.56 kB / 387.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6744, allocations: 4 kB / 387.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004124/0.6748, allocations: 164.6 kB / 387.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6748, allocations: 5.188 kB / 387.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6748, allocations: 2.656 kB / 387.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6749, allocations: 2.656 kB / 387.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.6751, allocations: 43.27 kB / 387.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.6752, allocations: 6 kB / 387.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.6753, allocations: 5.062 kB / 387.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.6753, allocations: 12.75 kB / 387.7 MB, free: 12.71 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.000112/0.6754, allocations: 120.8 kB / 387.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.6755, allocations: 13.08 kB / 387.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.6756, allocations: 11.91 kB / 387.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6756, allocations: 4.172 kB / 387.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6756, allocations: 5.344 kB / 387.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6756, allocations: 0 / 387.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.6763, allocations: 458.2 kB / 388.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6763, allocations: 5.562 kB / 388.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.6766, allocations: 26.94 kB / 388.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6766, allocations: 1.312 kB / 388.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.6766, allocations: 1.281 kB / 388.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6766, allocations: 3.797 kB / 388.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6766, allocations: 1.312 kB / 388.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.6771, allocations: 265.3 kB / 388.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.6771, allocations: 83.64 kB / 388.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.6772, allocations: 9.094 kB / 388.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.6773, allocations: 2.656 kB / 388.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.6774, allocations: 10.7 kB / 388.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.6774, allocations: 2.719 kB / 388.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.6775, allocations: 103.6 kB / 388.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6775, allocations: 0 / 388.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.6779, allocations: 27.34 kB / 388.8 MB, free: 11.89 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.0001254/0.678, allocations: 108.6 kB / 388.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.6784, allocations: 92.47 kB / 389 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6784, allocations: 5.344 kB / 389 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.6785, allocations: 41.98 kB / 389.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.6789, allocations: 15.22 kB / 389.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/0.6798, allocations: 0.5019 MB / 389.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.68, allocations: 0.7224 MB / 390.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.988e-05/0.6801, allocations: 9.109 kB / 390.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.6802, allocations: 13.41 kB / 390.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6802, allocations: 4 kB / 390.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of Templates: time 0.004145/0.6844, allocations: 0.7853 MB / 391.1 MB, free: 10.64 MB / 314.7 MB