Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004331, allocations: 12 kB / 314.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2991, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003902/0.303, allocations: 2.531 MB / 371.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3048, allocations: 0.8235 MB / 372.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.3051, allocations: 11.94 kB / 372.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.3052, allocations: 51.55 kB / 372.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.3057, allocations: 203.5 kB / 372.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.306, allocations: 71.92 kB / 372.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.3066, allocations: 431 kB / 373.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.3069, allocations: 132.7 kB / 373.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.3072, allocations: 191.3 kB / 373.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.3075, allocations: 211.1 kB / 373.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.3076, allocations: 24 kB / 373.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.604e-05/0.3077, allocations: 24 kB / 373.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.3078, allocations: 71.69 kB / 373.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3079, allocations: 121.5 kB / 374 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.3085, allocations: 411.5 kB / 374.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.739e-06/0.3085, allocations: 0 / 374.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.3085, allocations: 4 kB / 374.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.546e-06/0.3085, allocations: 0 / 374.5 MB, free: 5.531 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001229/0.3098, allocations: 0.6781 MB / 375.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3098, allocations: 12.03 kB / 375.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.31, allocations: 55.34 kB / 375.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.3105, allocations: 313.3 kB / 375.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.3105, allocations: 33 kB / 375.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3106, allocations: 59.89 kB / 375.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.3116, allocations: 426.6 kB / 376 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.3117, allocations: 11.89 kB / 376 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.3117, allocations: 20 kB / 376 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.3118, allocations: 15.95 kB / 376.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.3125, allocations: 312.5 kB / 376.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.3149, allocations: 1.161 MB / 377.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.316, allocations: 484.4 kB / 378 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.3161, allocations: 4.438 kB / 378 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.3161, allocations: 39 kB / 378 MB, free: 1.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 4.084e-06/0.3161, allocations: 0 / 378 MB, free: 1.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.005383/0.3215, allocations: 2.147 MB / 380.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.3216, allocations: 85.67 kB / 380.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.322, allocations: 243 kB / 380.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.3221, allocations: 41.7 kB / 380.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3223, allocations: 271.3 kB / 380.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.3226, allocations: 268 kB / 381.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3226, allocations: 16 kB / 381.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3228, allocations: 342.8 kB / 381.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.3232, allocations: 153.9 kB / 381.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.3237, allocations: 272.9 kB / 381.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.3242, allocations: 199.4 kB / 382 MB, free: 13.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.045e-06/0.3242, allocations: 4 kB / 382 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001158/0.3254, allocations: 0.5435 MB / 382.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3254, allocations: 8 kB / 382.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3255, allocations: 4 kB / 382.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3255, allocations: 8.234 kB / 382.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.3263, allocations: 179.8 kB / 382.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/0.3263, allocations: 15.92 kB / 382.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.3266, allocations: 20 kB / 382.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.3267, allocations: 24 kB / 382.8 MB, free: 12.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0002822/0.327, allocations: 177.7 kB / 383 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3271, allocations: 39.53 kB / 383 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.3273, allocations: 55.64 kB / 383.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3273, allocations: 12 kB / 383.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3273, allocations: 3.953 kB / 383.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3273, allocations: 3.984 kB / 383.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.3302, allocations: 1.457 MB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.3302, allocations: 4 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.331, allocations: 155.9 kB / 384.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/0.3311, allocations: 12 kB / 384.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.3311, allocations: 23.94 kB / 384.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.901e-06/0.3311, allocations: 4.344 kB / 384.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.625e-06/0.3312, allocations: 8 kB / 384.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.3327, allocations: 0.9002 MB / 385.7 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.3329, allocations: 120.5 kB / 385.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.333, allocations: 20 kB / 385.8 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.3334, allocations: 27.94 kB / 385.8 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.3335, allocations: 40.39 kB / 385.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.3335, allocations: 27.98 kB / 385.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.3338, allocations: 173.9 kB / 386.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.3338, allocations: 0 / 386.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007178/0.3345, allocations: 148 kB / 386.2 MB, free: 9.094 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_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 (74): * Single equations (assignments): 74 * 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.0001771/0.3347, allocations: 127.1 kB / 386.4 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009533/0.3357, allocations: 455.5 kB / 386.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.43e-06/0.3357, allocations: 0 / 386.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.3362, allocations: 235.4 kB / 387 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.337, allocations: 102.4 kB / 387.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.3407, allocations: 2.055 MB / 389.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3413, allocations: 0.8604 MB / 390 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.3415, allocations: 43.44 kB / 390.1 MB, free: 5.125 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3416, allocations: 0 / 390.1 MB, free: 5.125 MB / 314.7 MB Notification: Performance of Templates: time 0.01139/0.353, allocations: 5.739 MB / 395.8 MB, free: 15.39 MB / 330.7 MB