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.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.64/1.64, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003488, allocations: 11.98 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07896, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002912/0.08192, allocations: 1.762 MB / 274.4 MB, free: 9.766 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005498/0.08251, allocations: 195.3 kB / 274.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.08263, allocations: 4 kB / 274.6 MB, free: 9.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.012e-05/0.08272, allocations: 31.83 kB / 274.6 MB, free: 9.539 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.08293, allocations: 59.8 kB / 274.7 MB, free: 9.48 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.08312, allocations: 39.95 kB / 274.7 MB, free: 9.441 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.08342, allocations: 159.7 kB / 274.9 MB, free: 9.285 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.08366, allocations: 85.92 kB / 275 MB, free: 9.199 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.08379, allocations: 79.7 kB / 275 MB, free: 9.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.08398, allocations: 83.62 kB / 275.1 MB, free: 9.039 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.08404, allocations: 12 kB / 275.1 MB, free: 9.027 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.0841, allocations: 12 kB / 275.1 MB, free: 9.016 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.08416, allocations: 31.84 kB / 275.2 MB, free: 8.984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.08425, allocations: 73.58 kB / 275.2 MB, free: 8.906 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.08453, allocations: 187.7 kB / 275.4 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.08454, allocations: 0 / 275.4 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.08456, allocations: 0 / 275.4 MB, free: 8.723 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.08457, allocations: 0 / 275.4 MB, free: 8.723 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008606/0.08544, allocations: 487 kB / 275.9 MB, free: 8.199 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.0855, allocations: 12.02 kB / 275.9 MB, free: 8.188 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.0856, allocations: 19.81 kB / 275.9 MB, free: 8.168 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.08588, allocations: 214.7 kB / 276.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.08593, allocations: 20.52 kB / 276.2 MB, free: 7.895 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.086, allocations: 24 kB / 276.2 MB, free: 7.871 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.08654, allocations: 228.3 kB / 276.4 MB, free: 7.629 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.08658, allocations: 0 / 276.4 MB, free: 7.629 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.08662, allocations: 15.94 kB / 276.4 MB, free: 7.613 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.08665, allocations: 4 kB / 276.4 MB, free: 7.609 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.08704, allocations: 127.9 kB / 276.6 MB, free: 7.484 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.08864, allocations: 0.8636 MB / 277.4 MB, free: 6.559 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.08901, allocations: 159.7 kB / 277.6 MB, free: 6.375 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.08904, allocations: 0 / 277.6 MB, free: 6.375 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.08909, allocations: 46.44 kB / 277.6 MB, free: 6.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/0.0891, allocations: 0 / 277.6 MB, free: 6.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005618/0.08967, allocations: 166.1 kB / 277.8 MB, free: 6.152 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.08975, allocations: 110.8 kB / 277.9 MB, free: 6.02 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.09002, allocations: 186.4 kB / 278.1 MB, free: 5.828 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.09005, allocations: 33.7 kB / 278.1 MB, free: 5.789 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.09019, allocations: 159.7 kB / 278.3 MB, free: 5.629 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.09028, allocations: 63.09 kB / 278.3 MB, free: 5.566 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.09031, allocations: 12 kB / 278.3 MB, free: 5.555 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.09046, allocations: 322.8 kB / 278.6 MB, free: 5.23 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.09062, allocations: 52.53 kB / 278.7 MB, free: 5.176 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.09088, allocations: 158.7 kB / 278.9 MB, free: 4.973 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.0911, allocations: 75.94 kB / 278.9 MB, free: 4.898 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.09111, allocations: 0 / 278.9 MB, free: 4.898 MB / 234.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005822/0.0917, allocations: 233.1 kB / 279.2 MB, free: 4.664 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.09174, allocations: 10.03 kB / 279.2 MB, free: 4.656 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.09176, allocations: 4.438 kB / 279.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.09179, allocations: 19.88 kB / 279.2 MB, free: 4.633 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.09222, allocations: 63.91 kB / 279.3 MB, free: 4.57 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.09225, allocations: 7.938 kB / 279.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.09247, allocations: 27.69 kB / 279.3 MB, free: 4.535 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.09251, allocations: 12 kB / 279.3 MB, free: 4.523 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001615/0.09268, allocations: 137.8 kB / 279.4 MB, free: 4.379 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.09279, allocations: 15.81 kB / 279.4 MB, free: 4.363 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.306e-05/0.09287, allocations: 25.39 kB / 279.5 MB, free: 4.344 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.09289, allocations: 7.953 kB / 279.5 MB, free: 4.336 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.0929, allocations: 4 kB / 279.5 MB, free: 4.332 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.093, allocations: 104.8 kB / 279.6 MB, free: 4.211 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.09305, allocations: 4 kB / 279.6 MB, free: 4.207 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.09329, allocations: 4 kB / 279.6 MB, free: 4.203 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.09334, allocations: 7.984 kB / 279.6 MB, free: 4.195 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007117/0.09406, allocations: 387.4 kB / 280 MB, free: 3.809 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006271/0.0947, allocations: 0.5059 MB / 280.5 MB, free: 3.281 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001266/0.09485, allocations: 52 kB / 280.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.09502, allocations: 140.3 kB / 280.7 MB, free: 3.094 MB / 234.7 MB Notification: Performance of Backend: time 8.72e-07/0.09504, allocations: 0 / 280.7 MB, free: 3.094 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.09569, allocations: 182.1 kB / 280.9 MB, free: 2.91 MB / 234.7 MB Notification: Performance of SimCode: time 0.001734/0.09744, allocations: 1.147 MB / 282 MB, free: 1.715 MB / 234.7 MB Notification: Performance of Templates: time 0.00687/0.1043, allocations: 1.723 MB / 283.7 MB, free: 15.99 MB / 250.7 MB