Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009798/0.009803, allocations: 175 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.086/2.086, allocations: 194.5 MB / 210.3 MB, free: 7.598 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001757/0.001757, allocations: 112 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3524/0.3524, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.000648, allocations: 11.72 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1041, allocations: 54.88 MB / 461.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.05524/0.1593, allocations: 36.84 MB / 498 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02381/0.1832, allocations: 8.361 MB / 0.4945 GB, free: 5.844 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006678/0.1899, allocations: 167.6 kB / 0.4947 GB, free: 5.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006208/0.1962, allocations: 1.824 MB / 0.4964 GB, free: 3.848 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02073/0.217, allocations: 6.272 MB / 0.5026 GB, free: 13.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.2203, allocations: 0.4992 MB / 0.503 GB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008547/0.2289, allocations: 4.744 MB / 0.5077 GB, free: 8.301 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009301/0.2383, allocations: 4.311 MB / 0.5119 GB, free: 3.941 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.2411, allocations: 1.245 MB / 0.5131 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.2456, allocations: 1.997 MB / 0.5151 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009289/0.2466, allocations: 160 kB / 0.5152 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.2497, allocations: 0.9283 MB / 0.5161 GB, free: 15.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00305/0.2528, allocations: 1.811 MB / 0.5179 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.2543, allocations: 0.9361 MB / 0.5188 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.2646, allocations: 6.293 MB / 0.5249 GB, free: 6.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.2647, allocations: 4 kB / 0.5249 GB, free: 6.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2647, allocations: 3.938 kB / 0.525 GB, free: 6.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002388/0.2649, allocations: 0 / 0.525 GB, free: 6.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01551/0.2804, allocations: 4.458 MB / 0.5293 GB, free: 1.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.2805, allocations: 8.031 kB / 0.5293 GB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00259/0.2831, allocations: 0.8768 MB / 0.5302 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3538/0.637, allocations: 3.285 MB / 0.5334 GB, free: 72.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.6477, allocations: 2.73 MB / 0.536 GB, free: 72.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/0.6481, allocations: 270 kB / 0.5363 GB, free: 72.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002034/0.6502, allocations: 351.4 kB / 0.5366 GB, free: 72.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03093/0.6811, allocations: 12.52 MB / 0.5489 GB, free: 67.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.6813, allocations: 31.5 kB / 0.5489 GB, free: 67.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008627/0.6822, allocations: 163.3 kB / 0.549 GB, free: 67.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006923/0.6892, allocations: 2.743 MB / 0.5517 GB, free: 65.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03034/0.7195, allocations: 11.46 MB / 0.5629 GB, free: 53.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08235/0.802, allocations: 40.02 MB / 0.602 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/0.8197, allocations: 4.966 MB / 0.6069 GB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/0.8249, allocations: 2.37 MB / 0.6092 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/0.846, allocations: 6.474 MB / 0.6155 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.967e-05/0.8461, allocations: 52.56 kB / 0.6155 GB, free: 14.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=228): time 7.925e-06/0.8462, allocations: 0 / 0.6155 GB, free: 14.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.125/0.9712, allocations: 16.27 MB / 0.6314 GB, free: 14.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.9713, allocations: 73.39 kB / 0.6315 GB, free: 14.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008788/0.9801, allocations: 3.17 MB / 0.6346 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005897/0.9808, allocations: 57.64 kB / 0.6346 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004105/0.9849, allocations: 3.286 MB / 0.6379 GB, free: 7.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00186/0.9868, allocations: 0.8905 MB / 0.6387 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006882/0.9875, allocations: 116 kB / 0.6388 GB, free: 6.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006764/0.9882, allocations: 0.5663 MB / 0.6394 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006108/0.9943, allocations: 2.38 MB / 0.6417 GB, free: 3.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009052/1.003, allocations: 5.768 MB / 0.6473 GB, free: 12.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009036/1.012, allocations: 3.681 MB / 0.6509 GB, free: 8.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.035e-05/1.013, allocations: 32 kB / 0.651 GB, free: 8.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02718/1.04, allocations: 8.927 MB / 0.6597 GB, free: 15.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.04, allocations: 60.03 kB / 0.6597 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/1.04, allocations: 123.9 kB / 0.6599 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006516/1.047, allocations: 1.16 MB / 0.661 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009316/1.056, allocations: 1.38 MB / 0.6623 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/1.066, allocations: 4.581 MB / 0.6668 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006023/1.072, allocations: 331.7 kB / 0.6671 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.074, allocations: 352 kB / 0.6675 GB, free: 7.551 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.006723/1.08, allocations: 2.402 MB / 0.6698 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007943/1.081, allocations: 308.1 kB / 0.6701 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.095, allocations: 4.441 MB / 0.6744 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001236/1.095, allocations: 47.98 kB / 0.6745 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.095, allocations: 0 / 0.6745 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-05/1.095, allocations: 15.86 kB / 0.6745 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03139/1.127, allocations: 10.45 MB / 0.6847 GB, free: 5.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/1.127, allocations: 4 kB / 0.6847 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/1.13, allocations: 383.4 kB / 0.6851 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003772/1.134, allocations: 0.674 MB / 0.6857 GB, free: 4.645 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005074/1.135, allocations: 51.97 kB / 0.6858 GB, free: 4.594 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/1.139, allocations: 2.417 MB / 0.6881 GB, free: 2.031 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/1.139, allocations: 4 kB / 0.6882 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/1.157, allocations: 6.788 MB / 0.6948 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.159, allocations: 353.1 kB / 0.6951 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007465/1.159, allocations: 39.98 kB / 0.6952 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.162, allocations: 139.8 kB / 0.6953 GB, free: 10.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004678/1.162, allocations: 133.7 kB / 0.6954 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/1.162, allocations: 63.98 kB / 0.6955 GB, free: 10.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004285/1.167, allocations: 1.92 MB / 0.6974 GB, free: 8.488 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.167, allocations: 0 / 0.6974 GB, free: 8.488 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006326/1.173, allocations: 1.064 MB / 0.6984 GB, free: 7.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (191): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3368/1.51, allocations: 7.437 MB / 0.7057 GB, free: 149.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01666/1.527, allocations: 5.817 MB / 0.7113 GB, free: 149.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.527, allocations: 5.062 kB / 0.7113 GB, free: 149.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008356/1.535, allocations: 2.416 MB / 0.7137 GB, free: 149 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004281/1.539, allocations: 450.6 kB / 0.7141 GB, free: 148.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07765/1.617, allocations: 34.41 MB / 0.7477 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007256/1.624, allocations: 3.824 MB / 0.7515 GB, free: 123.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008352/1.633, allocations: 2.052 MB / 0.7535 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004576/1.637, allocations: 2.116 MB / 0.7555 GB, free: 119.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/1.637, allocations: 3.938 kB / 0.7555 GB, free: 119.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/1.835, allocations: 75.72 MB / 0.8295 GB, free: 43.84 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/1.835, allocations: 233.1 kB / 0.8297 GB, free: 43.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.299/7.135, allocations: 0 / 0.8297 GB, free: 43.59 MB / 474.7 MB