Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004345, allocations: 8 kB / 282.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 48.7 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002858/0.2896, allocations: 2.353 MB / 333.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007481/0.2903, allocations: 429.5 kB / 334 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.2906, allocations: 8.375 kB / 334 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2907, allocations: 47.19 kB / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.2911, allocations: 176.1 kB / 334.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.2913, allocations: 69.75 kB / 334.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004649/0.2918, allocations: 391.1 kB / 334.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.2921, allocations: 125.3 kB / 334.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.2923, allocations: 169.3 kB / 334.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2926, allocations: 189.8 kB / 335.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.2926, allocations: 28.38 kB / 335.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.2927, allocations: 23.72 kB / 335.2 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.2928, allocations: 80.09 kB / 335.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2929, allocations: 122.8 kB / 335.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.2935, allocations: 378.6 kB / 335.7 MB, free: 3.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.791e-06/0.2935, allocations: 0 / 335.7 MB, free: 3.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.162e-06/0.2935, allocations: 0 / 335.7 MB, free: 3.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2935, allocations: 1.062 kB / 335.7 MB, free: 3.898 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009396/0.2945, allocations: 0.6416 MB / 336.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2945, allocations: 8.781 kB / 336.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2946, allocations: 50.5 kB / 336.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.295, allocations: 284.8 kB / 336.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.2951, allocations: 36.56 kB / 336.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.2952, allocations: 53.11 kB / 336.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.296, allocations: 455.4 kB / 337.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/0.2961, allocations: 15.56 kB / 337.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.2961, allocations: 16.75 kB / 337.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.2962, allocations: 11.72 kB / 337.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.2968, allocations: 261.6 kB / 337.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.2993, allocations: 1.702 MB / 339.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.3, allocations: 407.4 kB / 339.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3, allocations: 9.656 kB / 339.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3, allocations: 47.73 kB / 339.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 4.397e-06/0.3001, allocations: 0 / 339.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009689/0.301, allocations: 362.1 kB / 340 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.3011, allocations: 268.1 kB / 340.3 MB, free: 288 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3014, allocations: 252.8 kB / 340.6 MB, free: 104 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3014, allocations: 36.14 kB / 340.6 MB, free: 64 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.3017, allocations: 299.6 kB / 340.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.3019, allocations: 182.9 kB / 341.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.302, allocations: 14.97 kB / 341.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3022, allocations: 341.7 kB / 341.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3025, allocations: 115.8 kB / 341.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.303, allocations: 415.8 kB / 341.9 MB, free: 14.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.3035, allocations: 189.8 kB / 342.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.463e-06/0.3035, allocations: 6.562 kB / 342.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001242/0.3047, allocations: 0.544 MB / 342.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.3048, allocations: 14.17 kB / 342.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.3048, allocations: 9.906 kB / 342.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-05/0.3049, allocations: 19.61 kB / 342.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.3056, allocations: 180.8 kB / 342.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.3057, allocations: 19.08 kB / 342.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.3061, allocations: 55 kB / 343 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.3062, allocations: 35.53 kB / 343 MB, free: 14.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.000309/0.3065, allocations: 186.9 kB / 343.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.3068, allocations: 43.14 kB / 343.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3069, allocations: 42.17 kB / 343.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3069, allocations: 10.8 kB / 343.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.307, allocations: 3 kB / 343.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.307, allocations: 1.375 kB / 343.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.3084, allocations: 419.7 kB / 343.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.251e-06/0.3084, allocations: 2.031 kB / 343.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000741/0.3092, allocations: 128.1 kB / 343.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.3092, allocations: 3.969 kB / 343.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.3093, allocations: 9.281 kB / 343.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.3093, allocations: 11.73 kB / 343.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.859e-06/0.3093, allocations: 6.703 kB / 343.8 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.3105, allocations: 1.083 MB / 344.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3107, allocations: 108.6 kB / 345 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.3108, allocations: 13.56 kB / 345 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.3114, allocations: 11.88 kB / 345.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3115, allocations: 37.06 kB / 345.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3115, allocations: 15.75 kB / 345.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.3117, allocations: 166.7 kB / 345.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.3117, allocations: 0 / 345.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001167/0.3129, allocations: 135.8 kB / 345.4 MB, free: 12.46 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001813/0.3131, allocations: 123.9 kB / 345.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.3139, allocations: 340.7 kB / 345.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.699e-06/0.314, allocations: 4.969 kB / 345.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.3142, allocations: 132.5 kB / 346 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3153, allocations: 82.17 kB / 346.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.3195, allocations: 2.461 MB / 348.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.3202, allocations: 0.8395 MB / 349.4 MB, free: 9.266 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3203, allocations: 34.91 kB / 349.4 MB, free: 9.258 MB / 282.7 MB Notification: Performance of SimCode: time 2.015e-06/0.3204, allocations: 0 / 349.4 MB, free: 9.258 MB / 282.7 MB Notification: Performance of Templates: time 0.009939/0.3303, allocations: 4.861 MB / 354.3 MB, free: 6.684 MB / 282.7 MB