Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009768/0.009769, allocations: 163.9 kB / 15.11 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.675/1.675, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001942/0.001942, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4308/0.4308, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 12 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 48.7 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5222, allocations: 92.68 MB / 0.4925 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.5226, allocations: 78.27 kB / 0.4926 GB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8721/1.395, allocations: 142.3 MB / 0.6316 GB, free: 69.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.377e-06/1.395, allocations: 4.375 kB / 0.6316 GB, free: 69.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006571/1.395, allocations: 156.3 kB / 0.6317 GB, free: 69.56 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.06497/1.46, allocations: 9.295 MB / 0.6408 GB, free: 66.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.46, allocations: 6.938 kB / 0.6408 GB, free: 66.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006767/1.467, allocations: 1.304 MB / 0.6421 GB, free: 66.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05769/1.525, allocations: 7.683 MB / 0.6496 GB, free: 65.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03948/1.564, allocations: 10.95 MB / 0.6603 GB, free: 64.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007565/1.565, allocations: 0.5649 MB / 0.6608 GB, free: 64.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004215/1.57, allocations: 0.7615 MB / 0.6616 GB, free: 64.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05543/1.625, allocations: 17.61 MB / 0.6788 GB, free: 55.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006061/1.626, allocations: 106 kB / 0.6789 GB, free: 55.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003406/1.629, allocations: 360.5 kB / 0.6792 GB, free: 55.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003687/1.633, allocations: 1.597 MB / 0.6808 GB, free: 55.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04788/1.681, allocations: 14.31 MB / 0.6948 GB, free: 48.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5029/2.184, allocations: 78.99 MB / 0.7719 GB, free: 46.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03576/2.219, allocations: 6.938 MB / 0.7787 GB, free: 45.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03843/2.258, allocations: 14.67 MB / 0.793 GB, free: 42.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/2.258, allocations: 63.17 kB / 0.7931 GB, free: 42.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=259): time 6.081e-06/2.258, allocations: 0 / 0.7931 GB, free: 42.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=287): time 0.134/2.392, allocations: 27.74 MB / 0.8202 GB, free: 36.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007726/2.4, allocations: 6.301 MB / 0.8263 GB, free: 30.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/2.418, allocations: 5.852 MB / 0.832 GB, free: 30.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001041/2.419, allocations: 71.33 kB / 0.8321 GB, free: 30.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005378/2.425, allocations: 5.274 MB / 0.8372 GB, free: 26.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002483/2.427, allocations: 1.183 MB / 0.8384 GB, free: 25.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/2.429, allocations: 195.4 kB / 0.8386 GB, free: 25.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00107/2.43, allocations: 0.7179 MB / 0.8393 GB, free: 24.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01285/2.443, allocations: 3.9 MB / 0.8431 GB, free: 23.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01954/2.463, allocations: 9.687 MB / 0.8526 GB, free: 14.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/2.482, allocations: 5.946 MB / 0.8584 GB, free: 12.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002901/2.482, allocations: 55.41 kB / 0.8584 GB, free: 12.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.05875/2.541, allocations: 15.37 MB / 0.8734 GB, free: 7.566 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/2.541, allocations: 90.28 kB / 0.8735 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02511/2.567, allocations: 6.772 MB / 0.8801 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01642/2.583, allocations: 2.845 MB / 0.8829 GB, free: 3.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0161/2.599, allocations: 2.341 MB / 0.8852 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/2.617, allocations: 11.41 MB / 0.8963 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/2.632, allocations: 0.8605 MB / 0.8972 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002943/2.635, allocations: 0.591 MB / 0.8977 GB, free: 5.098 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01155/2.646, allocations: 3.417 MB / 0.9011 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/2.648, allocations: 0.5855 MB / 0.9017 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0363/2.685, allocations: 7.951 MB / 0.9094 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02663/2.711, allocations: 6.744 MB / 0.916 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.886e-05/2.712, allocations: 4 kB / 0.916 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.692e-05/2.712, allocations: 22.62 kB / 0.916 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02274/2.734, allocations: 7.423 MB / 0.9233 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.236e-05/2.735, allocations: 0 / 0.9233 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006564/2.741, allocations: 0.5967 MB / 0.9239 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01864/2.76, allocations: 3.14 MB / 0.9269 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009733/2.761, allocations: 91.91 kB / 0.927 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/2.787, allocations: 14.3 MB / 0.941 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006251/2.793, allocations: 6.079 MB / 0.9469 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4246/3.218, allocations: 11.73 MB / 0.9584 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00518/3.223, allocations: 1.126 MB / 0.9595 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003025/3.226, allocations: 75.73 kB / 0.9596 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008079/3.235, allocations: 376.2 kB / 0.9599 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001659/3.236, allocations: 220.2 kB / 0.9601 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001012/3.237, allocations: 86.78 kB / 0.9602 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01353/3.251, allocations: 4.091 MB / 0.9642 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.293e-06/3.251, allocations: 5.781 kB / 0.9642 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01398/3.265, allocations: 2.004 MB / 0.9662 GB, free: 139.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[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 (233): * Single equations (assignments): 216 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03833/3.303, allocations: 12.58 MB / 0.9784 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03334/3.337, allocations: 10.82 MB / 0.989 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/3.337, allocations: 0.7656 kB / 0.989 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01792/3.355, allocations: 5.334 MB / 0.9942 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008042/3.363, allocations: 0.8307 MB / 0.995 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5618/3.925, allocations: 212.6 MB / 1.203 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01685/3.942, allocations: 5.412 MB / 1.208 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01602/3.958, allocations: 2.925 MB / 1.211 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/3.968, allocations: 3.61 MB / 1.214 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.644e-06/3.968, allocations: 0 / 1.214 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7253/4.693, allocations: 144.1 MB / 1.355 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/4.693, allocations: 196.8 kB / 1.355 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/13.17, allocations: 0 / 1.355 GB, free: 136.4 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat