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.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 2.229/2.229, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 15.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09097/0.09133, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002959/0.09434, allocations: 1.755 MB / 310.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004732/0.09485, allocations: 199.3 kB / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.52e-05/0.09496, allocations: 8 kB / 311 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.644e-05/0.09504, allocations: 31.72 kB / 311 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.09525, allocations: 63.83 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.09545, allocations: 35.97 kB / 311.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.09573, allocations: 159.7 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.09596, allocations: 81.98 kB / 311.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.09609, allocations: 75.72 kB / 311.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.09628, allocations: 87.61 kB / 311.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.09633, allocations: 12 kB / 311.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.189e-05/0.09639, allocations: 12 kB / 311.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.09645, allocations: 39.84 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.09653, allocations: 61.64 kB / 311.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.09682, allocations: 179.8 kB / 311.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.09683, allocations: 4 kB / 311.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.09684, allocations: 0 / 311.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.09686, allocations: 0 / 311.8 MB, free: 13.55 MB / 266.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.0008611/0.09773, allocations: 487 kB / 312.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.09778, allocations: 11.97 kB / 312.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.09786, allocations: 23.72 kB / 312.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.09817, allocations: 226.6 kB / 312.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.09821, allocations: 16.56 kB / 312.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.09828, allocations: 24 kB / 312.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.09883, allocations: 232.2 kB / 312.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.09886, allocations: 0 / 312.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.09891, allocations: 12 kB / 312.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.09893, allocations: 8 kB / 312.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.09932, allocations: 131.9 kB / 313 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.1009, allocations: 0.8519 MB / 313.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.1013, allocations: 167.8 kB / 314 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1013, allocations: 3.984 kB / 314 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1013, allocations: 34.56 kB / 314 MB, free: 11.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.884e-06/0.1013, allocations: 0 / 314 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005129/0.1019, allocations: 169.7 kB / 314.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.1019, allocations: 106.8 kB / 314.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.1022, allocations: 195.2 kB / 314.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1023, allocations: 29.7 kB / 314.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1024, allocations: 155.8 kB / 314.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.1025, allocations: 63.09 kB / 314.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.1025, allocations: 8 kB / 314.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1027, allocations: 322.8 kB / 315.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1028, allocations: 52.53 kB / 315.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.1031, allocations: 154.8 kB / 315.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.1033, allocations: 84.48 kB / 315.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1033, allocations: 0 / 315.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000562/0.1039, allocations: 237 kB / 315.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1039, allocations: 8 kB / 315.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1039, allocations: 4.438 kB / 315.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.104, allocations: 8 kB / 315.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.1044, allocations: 67.84 kB / 315.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1044, allocations: 4 kB / 315.7 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1046, allocations: 31.69 kB / 315.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1047, allocations: 8 kB / 315.7 MB, free: 9.359 MB / 266.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.0001619/0.1048, allocations: 137.8 kB / 315.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.1049, allocations: 23.7 kB / 315.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/0.105, allocations: 25.39 kB / 315.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.105, allocations: 8 kB / 315.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1051, allocations: 0 / 315.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.1051, allocations: 100.8 kB / 316 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.1052, allocations: 4 kB / 316 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.1054, allocations: 4 kB / 316 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1055, allocations: 11.92 kB / 316 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006908/0.1062, allocations: 391.3 kB / 316.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006125/0.1068, allocations: 0.5031 MB / 316.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001298/0.107, allocations: 51.95 kB / 317 MB, free: 8.059 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1071, allocations: 139.4 kB / 317.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of Backend: time 8.01e-07/0.1072, allocations: 0 / 317.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.1078, allocations: 178.2 kB / 317.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of SimCode: time 0.001738/0.1095, allocations: 1.14 MB / 318.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of Templates: time 0.006741/0.1163, allocations: 1.708 MB / 320.1 MB, free: 4.848 MB / 266.7 MB