Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.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.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",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.01002/0.01002, allocations: 176 kB / 15.12 MB, free: 6 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.089/2.089, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.00209/0.002089, allocations: 124.5 kB / 255.6 MB, free: 10.24 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.2403/0.2403, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004674, allocations: 11.38 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09976, allocations: 54.87 MB / 461.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4977/0.5976, allocations: 99.37 MB / 0.5474 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5979, allocations: 80.25 kB / 0.5474 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5808/1.179, allocations: 142.5 MB / 0.6866 GB, free: 3.512 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.179, allocations: 0 / 0.6866 GB, free: 3.512 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006954/1.179, allocations: 156 kB / 0.6867 GB, free: 3.359 MB / 458.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.06691/1.246, allocations: 9.279 MB / 0.6958 GB, free: 9.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.247, allocations: 16.03 kB / 0.6958 GB, free: 9.98 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007064/1.254, allocations: 1.304 MB / 0.6971 GB, free: 8.668 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06303/1.317, allocations: 7.743 MB / 0.7047 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04247/1.359, allocations: 10.99 MB / 0.7154 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008701/1.36, allocations: 0.5616 MB / 0.7159 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004083/1.364, allocations: 0.7574 MB / 0.7167 GB, free: 4.508 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.419/1.783, allocations: 17.61 MB / 0.7339 GB, free: 75.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009168/1.784, allocations: 107.1 kB / 0.734 GB, free: 75.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004261/1.789, allocations: 358.4 kB / 0.7343 GB, free: 75.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004856/1.793, allocations: 1.602 MB / 0.7359 GB, free: 75.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05047/1.844, allocations: 14.29 MB / 0.7498 GB, free: 75.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/1.981, allocations: 79.09 MB / 0.8271 GB, free: 43.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.048/2.029, allocations: 6.964 MB / 0.8339 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04308/2.072, allocations: 14.76 MB / 0.8483 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.462e-05/2.072, allocations: 71.73 kB / 0.8484 GB, free: 33.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=259): time 7.193e-06/2.072, allocations: 2.281 kB / 0.8484 GB, free: 33.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=287): time 0.1255/2.198, allocations: 27.79 MB / 0.8755 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005978/2.204, allocations: 6.293 MB / 0.8816 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01751/2.221, allocations: 5.86 MB / 0.8874 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/2.223, allocations: 69.53 kB / 0.8874 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008163/2.231, allocations: 5.274 MB / 0.8926 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002561/2.233, allocations: 1.175 MB / 0.8937 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002082/2.236, allocations: 191.9 kB / 0.8939 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001382/2.237, allocations: 0.7205 MB / 0.8946 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01351/2.251, allocations: 4.029 MB / 0.8986 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01784/2.268, allocations: 9.74 MB / 0.9081 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3894/2.658, allocations: 6.026 MB / 0.914 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002217/2.658, allocations: 59.38 kB / 0.914 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.08101/2.739, allocations: 16.4 MB / 0.93 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/2.74, allocations: 96.84 kB / 0.9301 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03757/2.777, allocations: 7.738 MB / 0.9377 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02901/2.806, allocations: 3.91 MB / 0.9415 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/2.821, allocations: 2.302 MB / 0.9437 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02442/2.845, allocations: 14 MB / 0.9574 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01429/2.86, allocations: 0.8674 MB / 0.9583 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00263/2.862, allocations: 0.5956 MB / 0.9588 GB, free: 89.95 MB / 0.5105 GB 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 (1195): * Single equations (assignments): 1170 * Array equations: 11 * 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 {(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: 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 prepare postOptimizeDAE: time 0.0102/2.873, allocations: 3.41 MB / 0.9622 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/2.874, allocations: 0.5862 MB / 0.9627 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02718/2.902, allocations: 7.604 MB / 0.9702 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0249/2.927, allocations: 6.77 MB / 0.9768 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.568e-05/2.927, allocations: 5.062 kB / 0.9768 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-05/2.927, allocations: 14.78 kB / 0.9768 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02217/2.949, allocations: 7.461 MB / 0.9841 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.434e-05/2.949, allocations: 3.562 kB / 0.9841 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00633/2.955, allocations: 0.5963 MB / 0.9847 GB, free: 88.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01702/2.972, allocations: 3.144 MB / 0.9877 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/2.974, allocations: 92.77 kB / 0.9878 GB, free: 88.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02282/2.996, allocations: 14.34 MB / 1.002 GB, free: 78.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004517/3.001, allocations: 6.071 MB / 1.008 GB, free: 72.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03401/3.035, allocations: 11.75 MB / 1.019 GB, free: 68.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/3.037, allocations: 0.6437 MB / 1.02 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002614/3.04, allocations: 81.08 kB / 1.02 GB, free: 68.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007308/3.047, allocations: 376.3 kB / 1.02 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001449/3.049, allocations: 220.1 kB / 1.021 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004813/3.049, allocations: 88.55 kB / 1.021 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01195/3.061, allocations: 4.097 MB / 1.025 GB, free: 66.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.863e-06/3.061, allocations: 0 / 1.025 GB, free: 66.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01354/3.075, allocations: 2.034 MB / 1.027 GB, free: 66.56 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.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_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.03618/3.111, allocations: 12.61 MB / 1.039 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03046/3.142, allocations: 11.31 MB / 1.05 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/3.142, allocations: 4 kB / 1.05 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01668/3.159, allocations: 5.372 MB / 1.055 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/3.166, allocations: 0.8284 MB / 1.056 GB, free: 41.29 MB / 0.5105 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.607/3.773, allocations: 213.7 MB / 1.265 GB, free: 26.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01385/3.787, allocations: 5.403 MB / 1.27 GB, free: 25.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01431/3.801, allocations: 2.921 MB / 1.273 GB, free: 25.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009014/3.81, allocations: 3.618 MB / 1.276 GB, free: 25.43 MB / 0.573 GB Notification: Performance of SimCode: time 3.216e-06/3.81, allocations: 3.938 kB / 1.276 GB, free: 25.42 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7052/4.516, allocations: 148.2 MB / 1.421 GB, free: 152.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000341/4.516, allocations: 220.1 kB / 1.421 GB, free: 151.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/12.83, allocations: 0 / 1.421 GB, free: 151.8 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat