Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.887/1.887, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003684, allocations: 12 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07958/0.07997, allocations: 44.51 MB / 308.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003041/0.08306, allocations: 1.908 MB / 310.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.08432, allocations: 0.5779 MB / 310.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.08451, allocations: 4 kB / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.039e-05/0.08459, allocations: 35.7 kB / 310.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.08483, allocations: 75.77 kB / 311 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.08507, allocations: 43.94 kB / 311 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.08539, allocations: 175.6 kB / 311.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.08561, allocations: 77.34 kB / 311.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.08579, allocations: 79.7 kB / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.08598, allocations: 91.55 kB / 311.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.08603, allocations: 12 kB / 311.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.08608, allocations: 12 kB / 311.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.08614, allocations: 35.84 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.08623, allocations: 65.58 kB / 311.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.0865, allocations: 183.8 kB / 311.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.08652, allocations: 0 / 311.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.901e-06/0.08653, allocations: 0 / 311.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.111e-06/0.08655, allocations: 0 / 311.7 MB, free: 13.64 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008425/0.0874, allocations: 0.4911 MB / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.08745, allocations: 8.031 kB / 312.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.08754, allocations: 31.66 kB / 312.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.08789, allocations: 227.3 kB / 312.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.08793, allocations: 16.44 kB / 312.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.088, allocations: 16 kB / 312.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.08854, allocations: 225.3 kB / 312.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.08858, allocations: 11.92 kB / 312.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.08862, allocations: 8 kB / 312.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.08864, allocations: 4 kB / 312.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.0891, allocations: 148.5 kB / 312.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.09068, allocations: 0.7996 MB / 313.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.09124, allocations: 209.1 kB / 313.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.09129, allocations: 7.938 kB / 313.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.09133, allocations: 34.55 kB / 313.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 3.39e-06/0.09135, allocations: 0 / 313.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002214/0.09357, allocations: 0.8799 MB / 314.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.09367, allocations: 81.11 kB / 314.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.09391, allocations: 178.3 kB / 315.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.09395, allocations: 33.7 kB / 315.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.0941, allocations: 198.7 kB / 315.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.09422, allocations: 94.64 kB / 315.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.09425, allocations: 4 kB / 315.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.09443, allocations: 322.8 kB / 315.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.09466, allocations: 75.95 kB / 315.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.09493, allocations: 112.2 kB / 315.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.09519, allocations: 87.03 kB / 316 MB, free: 9.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-06/0.0952, allocations: 0 / 316 MB, free: 9.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006361/0.09585, allocations: 237.4 kB / 316.2 MB, free: 8.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.09589, allocations: 9.031 kB / 316.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.906e-06/0.09591, allocations: 4 kB / 316.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.09594, allocations: 4 kB / 316.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.09629, allocations: 63.91 kB / 316.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.09632, allocations: 4 kB / 316.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.09649, allocations: 19.89 kB / 316.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.09653, allocations: 4.391 kB / 316.3 MB, free: 8.699 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001811/0.09672, allocations: 141.8 kB / 316.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.09689, allocations: 23.75 kB / 316.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.09703, allocations: 29.86 kB / 316.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.09706, allocations: 4 kB / 316.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.905e-06/0.09708, allocations: 0 / 316.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.09711, allocations: 0 / 316.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.0991, allocations: 0.5903 MB / 317.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.701e-06/0.09915, allocations: 0 / 317.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.09983, allocations: 59.91 kB / 317.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.09987, allocations: 4 kB / 317.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.09993, allocations: 7.984 kB / 317.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.09996, allocations: 8 kB / 317.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.006e-06/0.09998, allocations: 96 / 317.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.1015, allocations: 0.5009 MB / 317.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1017, allocations: 96.83 kB / 317.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.1018, allocations: 8 kB / 317.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.1023, allocations: 12.03 kB / 317.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1024, allocations: 19.97 kB / 317.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.1025, allocations: 11.94 kB / 317.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.1027, allocations: 127.2 kB / 317.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.16e-07/0.1027, allocations: 0 / 317.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009419/0.1037, allocations: 52 kB / 318 MB, free: 6.891 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * 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.0002103/0.1039, allocations: 107.1 kB / 318.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009471/0.1049, allocations: 192.1 kB / 318.3 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.433e-06/0.1049, allocations: 0 / 318.3 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.1054, allocations: 99.89 kB / 318.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.1062, allocations: 28.42 kB / 318.4 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.1089, allocations: 0.8666 MB / 319.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.1096, allocations: 0.7484 MB / 320 MB, free: 4.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1098, allocations: 23.42 kB / 320 MB, free: 4.762 MB / 266.7 MB Notification: Performance of SimCode: time 2.273e-06/0.1099, allocations: 3.938 kB / 320.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of Templates: time 0.009169/0.119, allocations: 2.526 MB / 322.6 MB, free: 2.23 MB / 266.7 MB