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.Sensors.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.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.07972, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002719/0.08249, allocations: 1.564 MB / 274.2 MB, free: 9.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.08372, allocations: 0.4915 MB / 274.7 MB, free: 9.457 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.08386, allocations: 4 kB / 274.7 MB, free: 9.453 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.574e-05/0.08393, allocations: 15.86 kB / 274.7 MB, free: 9.438 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.08409, allocations: 35.91 kB / 274.7 MB, free: 9.402 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.0843, allocations: 31.97 kB / 274.8 MB, free: 9.371 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.08454, allocations: 99.81 kB / 274.9 MB, free: 9.273 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.08473, allocations: 50.14 kB / 274.9 MB, free: 9.223 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.08487, allocations: 55.78 kB / 275 MB, free: 9.168 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.08501, allocations: 51.77 kB / 275 MB, free: 9.117 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.08505, allocations: 8 kB / 275 MB, free: 9.109 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.81e-05/0.0851, allocations: 8 kB / 275 MB, free: 9.102 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.08515, allocations: 23.86 kB / 275.1 MB, free: 9.078 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.08521, allocations: 49.64 kB / 275.1 MB, free: 9.023 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.08541, allocations: 124 kB / 275.2 MB, free: 8.902 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.08543, allocations: 0 / 275.2 MB, free: 8.902 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.08544, allocations: 0 / 275.2 MB, free: 8.902 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.08546, allocations: 4 kB / 275.2 MB, free: 8.898 MB / 234.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.0007214/0.08619, allocations: 418.8 kB / 275.6 MB, free: 8.441 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.08625, allocations: 11.97 kB / 275.7 MB, free: 8.43 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.08632, allocations: 15.81 kB / 275.7 MB, free: 8.414 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.08658, allocations: 206.8 kB / 275.9 MB, free: 8.172 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.08661, allocations: 8 kB / 275.9 MB, free: 8.164 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.08667, allocations: 23.91 kB / 275.9 MB, free: 8.141 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.0871, allocations: 145.1 kB / 276 MB, free: 7.992 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.08714, allocations: 0 / 276 MB, free: 7.992 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.08717, allocations: 4 kB / 276.1 MB, free: 7.988 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.08719, allocations: 7.938 kB / 276.1 MB, free: 7.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.08753, allocations: 91.94 kB / 276.1 MB, free: 7.891 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.08868, allocations: 0.5329 MB / 276.7 MB, free: 7.301 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.08894, allocations: 78.55 kB / 276.8 MB, free: 7.215 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.08898, allocations: 0 / 276.8 MB, free: 7.215 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.08902, allocations: 34.56 kB / 276.8 MB, free: 7.172 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.08903, allocations: 0 / 276.8 MB, free: 7.172 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.001418/0.09046, allocations: 0.6102 MB / 277.4 MB, free: 6.469 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.09051, allocations: 55.41 kB / 277.5 MB, free: 6.402 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.09068, allocations: 138 kB / 277.6 MB, free: 6.254 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.09071, allocations: 25.7 kB / 277.6 MB, free: 6.223 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.09082, allocations: 137 kB / 277.8 MB, free: 6.086 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.09088, allocations: 43.44 kB / 277.8 MB, free: 6.043 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.0909, allocations: 0 / 277.8 MB, free: 6.043 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.09109, allocations: 322.8 kB / 278.1 MB, free: 5.719 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.09123, allocations: 31.98 kB / 278.1 MB, free: 5.688 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.09142, allocations: 89.59 kB / 278.2 MB, free: 5.578 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.0916, allocations: 47.88 kB / 278.3 MB, free: 5.531 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.09162, allocations: 0 / 278.3 MB, free: 5.531 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004341/0.09207, allocations: 157.4 kB / 278.4 MB, free: 5.371 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.0921, allocations: 7.953 kB / 278.4 MB, free: 5.363 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.09212, allocations: 7.984 kB / 278.4 MB, free: 5.355 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.09215, allocations: 4 kB / 278.4 MB, free: 5.352 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.09244, allocations: 39.92 kB / 278.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.09246, allocations: 4.188 kB / 278.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.09259, allocations: 8 kB / 278.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.09262, allocations: 8 kB / 278.5 MB, free: 5.293 MB / 234.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.0001398/0.09277, allocations: 129.7 kB / 278.6 MB, free: 5.156 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.09283, allocations: 15.8 kB / 278.6 MB, free: 5.141 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.09289, allocations: 20.67 kB / 278.7 MB, free: 5.121 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.0929, allocations: 48 / 278.7 MB, free: 5.121 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.09292, allocations: 3.984 kB / 278.7 MB, free: 5.117 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.09301, allocations: 89 kB / 278.8 MB, free: 5.012 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.09305, allocations: 8 kB / 278.8 MB, free: 5.004 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.09318, allocations: 8 kB / 278.8 MB, free: 4.996 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.09324, allocations: 7.984 kB / 278.8 MB, free: 4.988 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005011/0.09375, allocations: 196.9 kB / 279 MB, free: 4.789 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005469/0.09432, allocations: 322.5 kB / 279.3 MB, free: 4.457 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001286/0.09446, allocations: 36.02 kB / 279.3 MB, free: 4.422 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.765e-05/0.09456, allocations: 95.27 kB / 279.4 MB, free: 4.328 MB / 234.7 MB Notification: Performance of Backend: time 8.42e-07/0.09458, allocations: 4.062 kB / 279.4 MB, free: 4.324 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.09509, allocations: 143.7 kB / 279.6 MB, free: 4.18 MB / 234.7 MB Notification: Performance of SimCode: time 0.001302/0.09641, allocations: 0.9336 MB / 280.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of Templates: time 0.004719/0.1012, allocations: 0.9063 MB / 281.4 MB, free: 2.297 MB / 234.7 MB