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.Inertia.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.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.2_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004362, allocations: 16 kB / 314.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3087, allocations: 54.87 MB / 369.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003459/0.3122, allocations: 2.36 MB / 371.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009307/0.3132, allocations: 438.7 kB / 372 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3134, allocations: 11.94 kB / 372 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.75e-05/0.3135, allocations: 47.62 kB / 372 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.3139, allocations: 171.6 kB / 372.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3142, allocations: 75.86 kB / 372.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.3147, allocations: 383.2 kB / 372.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.315, allocations: 129 kB / 372.8 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.3153, allocations: 167.4 kB / 372.9 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.3156, allocations: 187.2 kB / 373.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.3156, allocations: 27.94 kB / 373.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.3157, allocations: 24 kB / 373.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.3158, allocations: 79.75 kB / 373.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.316, allocations: 117.5 kB / 373.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.3165, allocations: 379.6 kB / 373.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.627e-06/0.3165, allocations: 0 / 373.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3165, allocations: 0 / 373.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.3165, allocations: 0 / 373.7 MB, free: 6.266 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001078/0.3176, allocations: 0.6509 MB / 374.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3177, allocations: 11.97 kB / 374.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3178, allocations: 55.34 kB / 374.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.3183, allocations: 282.4 kB / 374.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/0.3183, allocations: 33 kB / 374.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3184, allocations: 59.84 kB / 374.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008877/0.3193, allocations: 458.1 kB / 375.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.3194, allocations: 7.906 kB / 375.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.3195, allocations: 20 kB / 375.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.3195, allocations: 12 kB / 375.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.3201, allocations: 251.7 kB / 375.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.3232, allocations: 1.707 MB / 377.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.324, allocations: 411.4 kB / 377.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.324, allocations: 11.94 kB / 377.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.3241, allocations: 42.55 kB / 377.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.842e-06/0.3241, allocations: 0 / 377.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001019/0.3251, allocations: 365.5 kB / 378.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.3253, allocations: 265 kB / 378.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.3256, allocations: 254.8 kB / 378.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.3257, allocations: 29.7 kB / 378.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.3259, allocations: 302 kB / 378.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.3261, allocations: 173.9 kB / 379.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3262, allocations: 20 kB / 379.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3264, allocations: 342.8 kB / 379.4 MB, free: 184 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.3267, allocations: 113.9 kB / 379.5 MB, free: 72 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.3273, allocations: 421.6 kB / 379.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.3277, allocations: 175.9 kB / 380.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.3277, allocations: 4 kB / 380.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001192/0.3289, allocations: 0.5528 MB / 380.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3289, allocations: 8 kB / 380.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.329, allocations: 19.92 kB / 380.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.329, allocations: 16 kB / 380.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.3298, allocations: 171.7 kB / 380.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.834e-05/0.3298, allocations: 24.09 kB / 380.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.3302, allocations: 60.44 kB / 381 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.3303, allocations: 36 kB / 381 MB, free: 14.46 MB / 314.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.0003261/0.3306, allocations: 189.5 kB / 381.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.3309, allocations: 39.61 kB / 381.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.944e-05/0.3311, allocations: 41.7 kB / 381.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.3311, allocations: 8 kB / 381.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.3311, allocations: 8 kB / 381.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.327e-06/0.3311, allocations: 0 / 381.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3325, allocations: 425 kB / 381.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.552e-06/0.3325, allocations: 4 kB / 381.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/0.3333, allocations: 127.8 kB / 381.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.3333, allocations: 4 kB / 381.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.3334, allocations: 16 kB / 381.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.3334, allocations: 7.984 kB / 381.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.666e-06/0.3334, allocations: 3.984 kB / 381.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.3346, allocations: 1.078 MB / 382.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3348, allocations: 116.6 kB / 383 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.3349, allocations: 8 kB / 383.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.3354, allocations: 12 kB / 383.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3355, allocations: 35.89 kB / 383.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.3356, allocations: 12 kB / 383.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3358, allocations: 166 kB / 383.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.3358, allocations: 0 / 383.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001141/0.3369, allocations: 135.7 kB / 383.4 MB, free: 11.95 MB / 314.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.0001732/0.3371, allocations: 119.5 kB / 383.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000759/0.3379, allocations: 345.1 kB / 383.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.324e-06/0.3379, allocations: 4.312 kB / 383.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3382, allocations: 127.8 kB / 384 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.3392, allocations: 87.89 kB / 384.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3434, allocations: 2.469 MB / 386.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.344, allocations: 0.8356 MB / 387.4 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3442, allocations: 35.44 kB / 387.4 MB, free: 7.844 MB / 314.7 MB Notification: Performance of SimCode: time 1.635e-06/0.3442, allocations: 0 / 387.4 MB, free: 7.844 MB / 314.7 MB Notification: Performance of Templates: time 0.009528/0.3537, allocations: 4.852 MB / 392.3 MB, free: 2.984 MB / 314.7 MB