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.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 2.091/2.091, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005497/0.00055, allocations: 12 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 44.49 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4704/0.594, allocations: 71.88 MB / 380.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5943, allocations: 69.2 kB / 381 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.6104, allocations: 4.052 MB / 385 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.6105, allocations: 0 / 385 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.6105, allocations: 7.688 kB / 385.1 MB, free: 14.86 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008414/0.6114, allocations: 0.4927 MB / 385.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6114, allocations: 12.34 kB / 385.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.6115, allocations: 34.58 kB / 385.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.6118, allocations: 234.5 kB / 385.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.6118, allocations: 17.5 kB / 385.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.6119, allocations: 27.47 kB / 385.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.6124, allocations: 243.7 kB / 386.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.6125, allocations: 1.281 kB / 386.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.6125, allocations: 14.16 kB / 386.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.6125, allocations: 13.45 kB / 386.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.613, allocations: 160.9 kB / 386.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.6143, allocations: 0.8008 MB / 387.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.6151, allocations: 288.6 kB / 387.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.6151, allocations: 8.188 kB / 387.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6152, allocations: 36.56 kB / 387.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.557e-06/0.6152, allocations: 0 / 387.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.003566/0.6188, allocations: 1.958 MB / 389.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.6189, allocations: 111.2 kB / 389.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.6191, allocations: 184.6 kB / 389.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.6191, allocations: 35.73 kB / 389.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.6192, allocations: 135.2 kB / 389.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.6194, allocations: 162.1 kB / 390 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.6194, allocations: 11.69 kB / 390 MB, free: 11.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.6195, allocations: 337.6 kB / 390.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.6197, allocations: 94.27 kB / 390.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.62, allocations: 154.9 kB / 390.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.6203, allocations: 113.8 kB / 390.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6203, allocations: 4 kB / 390.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007175/0.6211, allocations: 344.7 kB / 391 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6211, allocations: 11.72 kB / 391 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6211, allocations: 0 / 391 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.6211, allocations: 3.875 kB / 391 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.6218, allocations: 97.48 kB / 391.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.6218, allocations: 6.641 kB / 391.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.622, allocations: 14.78 kB / 391.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.622, allocations: 15.22 kB / 391.2 MB, free: 11.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001684/0.6222, allocations: 153.2 kB / 391.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6223, allocations: 31.25 kB / 391.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.6224, allocations: 36.48 kB / 391.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6225, allocations: 7.656 kB / 391.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6225, allocations: 3.953 kB / 391.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.6225, allocations: 2.344 kB / 391.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.6242, allocations: 1.047 MB / 392.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6242, allocations: 0 / 392.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.6249, allocations: 87.31 kB / 392.5 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.6249, allocations: 7.781 kB / 392.5 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.625, allocations: 8.953 kB / 392.5 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.625, allocations: 7.781 kB / 392.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.625, allocations: 3.875 kB / 392.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009082/0.6259, allocations: 0.7298 MB / 393.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.626, allocations: 102 kB / 393.4 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.6261, allocations: 10.62 kB / 393.4 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.6264, allocations: 11.58 kB / 393.4 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.6265, allocations: 39.52 kB / 393.4 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.6265, allocations: 16.28 kB / 393.5 MB, free: 9.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.6267, allocations: 138.5 kB / 393.6 MB, free: 9.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6267, allocations: 0 / 393.6 MB, free: 9.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005946/0.6273, allocations: 76.28 kB / 393.7 MB, free: 9.867 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0001444/0.6275, allocations: 114.5 kB / 393.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.6281, allocations: 263 kB / 394 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6281, allocations: 3.875 kB / 394 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.6284, allocations: 142.9 kB / 394.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.6291, allocations: 45.02 kB / 394.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.6311, allocations: 1.105 MB / 395.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.6313, allocations: 0.7739 MB / 396.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.6317, allocations: 36.7 kB / 396.1 MB, free: 8.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6319, allocations: 26.94 kB / 396.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6319, allocations: 0 / 396.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of Templates: time 0.008637/0.6405, allocations: 2.639 MB / 398.8 MB, free: 8.074 MB / 314.7 MB