Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 174.9 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007698/0.0007697, allocations: 86.64 kB / 261.7 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1969/0.1969, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.028e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.547, allocations: 105.8 MB / 0.5694 GB, free: 5.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.5473, allocations: 83.3 kB / 0.5694 GB, free: 5.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8969/1.444, allocations: 142.8 MB / 0.7089 GB, free: 89.27 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.034e-06/1.444, allocations: 0 / 0.7089 GB, free: 89.27 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0006627/1.445, allocations: 162.5 kB / 0.7091 GB, free: 89.27 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04223/1.487, allocations: 8.865 MB / 0.7177 GB, free: 88.34 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/1.487, allocations: 9.594 kB / 0.7177 GB, free: 88.34 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03517/1.522, allocations: 7.78 MB / 0.7253 GB, free: 87.82 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/1.55, allocations: 11.04 MB / 0.7361 GB, free: 86.9 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/1.551, allocations: 257.3 kB / 0.7364 GB, free: 86.9 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/1.554, allocations: 472.2 kB / 0.7368 GB, free: 86.89 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02054/1.575, allocations: 10.51 MB / 0.7471 GB, free: 86.85 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/1.603, allocations: 15.67 MB / 0.7624 GB, free: 82.74 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004152/1.603, allocations: 104.9 kB / 0.7625 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001841/1.605, allocations: 44.81 kB / 0.7625 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/1.607, allocations: 1.687 MB / 0.7642 GB, free: 82.72 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08597/1.693, allocations: 79.55 MB / 0.8419 GB, free: 29.08 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006322/1.7, allocations: 4.663 MB / 0.8464 GB, free: 26.77 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003682/1.703, allocations: 3.186 MB / 0.8495 GB, free: 23.99 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/1.705, allocations: 1.993 MB / 0.8515 GB, free: 21.84 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/1.705, allocations: 68.5 kB / 0.8515 GB, free: 21.76 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 5.44e-06/1.705, allocations: 0 / 0.8515 GB, free: 21.76 MB / 0.4949 GB Notification: Performance of matching and sorting (n=335): time 0.05227/1.757, allocations: 22.48 MB / 0.8735 GB, free: 2.484 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/1.757, allocations: 247.6 kB / 0.8737 GB, free: 2.191 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01403/1.771, allocations: 5.468 MB / 0.8791 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009414/1.772, allocations: 25.7 kB / 0.8791 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004746/1.777, allocations: 5.391 MB / 0.8844 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002458/1.779, allocations: 1.301 MB / 0.8856 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001511/1.781, allocations: 4 kB / 0.8856 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008176/1.782, allocations: 0.7457 MB / 0.8864 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00737/1.789, allocations: 3.764 MB / 0.89 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01397/1.803, allocations: 9.678 MB / 0.8995 GB, free: 8.238 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.814, allocations: 5.899 MB / 0.9052 GB, free: 3.203 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002465/1.815, allocations: 60 kB / 0.9053 GB, free: 3.145 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1346) (initialization): time 0.3734/2.188, allocations: 15.2 MB / 0.9201 GB, free: 106.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004286/2.188, allocations: 98.8 kB / 0.9202 GB, free: 106.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0208/2.209, allocations: 7.68 MB / 0.9277 GB, free: 106.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01586/2.225, allocations: 3.857 MB / 0.9315 GB, free: 106.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008412/2.234, allocations: 2.417 MB / 0.9339 GB, free: 106.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/2.247, allocations: 13.08 MB / 0.9466 GB, free: 98.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/2.257, allocations: 0.685 MB / 0.9473 GB, free: 98.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002645/2.26, allocations: 0.6163 MB / 0.9479 GB, free: 98.98 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 78 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1270): * Single equations (assignments): 1245 * 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.003359/2.263, allocations: 0.6513 MB / 0.9485 GB, free: 98.8 MB / 0.5262 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01419/2.278, allocations: 7.632 MB / 0.956 GB, free: 98.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/2.279, allocations: 0.5742 MB / 0.9566 GB, free: 98.49 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/2.294, allocations: 7.523 MB / 0.9639 GB, free: 98.11 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01212/2.306, allocations: 6.741 MB / 0.9705 GB, free: 97.8 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/2.307, allocations: 3.969 kB / 0.9705 GB, free: 97.8 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.281e-05/2.307, allocations: 21.08 kB / 0.9705 GB, free: 97.8 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03216/2.339, allocations: 18.33 MB / 0.9884 GB, free: 95.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/2.339, allocations: 5.969 kB / 0.9884 GB, free: 95.86 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/2.342, allocations: 0.6695 MB / 0.9891 GB, free: 95.81 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008423/2.351, allocations: 3.074 MB / 0.9921 GB, free: 95.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006084/2.351, allocations: 65.89 kB / 0.9921 GB, free: 95.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/2.363, allocations: 13.78 MB / 1.006 GB, free: 86.09 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002708/2.366, allocations: 5.791 MB / 1.011 GB, free: 80.57 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/2.384, allocations: 12.51 MB / 1.023 GB, free: 75.07 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/2.386, allocations: 0.6154 MB / 1.024 GB, free: 74.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008505/2.387, allocations: 38.98 kB / 1.024 GB, free: 74.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/2.39, allocations: 335.2 kB / 1.024 GB, free: 74.25 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/2.391, allocations: 256.2 kB / 1.025 GB, free: 74.11 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/2.391, allocations: 102.8 kB / 1.025 GB, free: 74.03 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006294/2.398, allocations: 3.473 MB / 1.028 GB, free: 71.01 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.2e-07/2.398, allocations: 0 / 1.028 GB, free: 71.01 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01196/2.41, allocations: 1.938 MB / 1.03 GB, free: 69.08 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 258 * 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.01791/2.428, allocations: 13.98 MB / 1.044 GB, free: 56.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01689/2.444, allocations: 10.93 MB / 1.054 GB, free: 46.93 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.445, allocations: 0 / 1.054 GB, free: 46.93 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.008597/2.453, allocations: 5.367 MB / 1.06 GB, free: 42.12 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004902/2.458, allocations: 0.7283 MB / 1.06 GB, free: 41.54 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/2.502, allocations: 19.24 MB / 1.079 GB, free: 24.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005528/2.508, allocations: 5.542 MB / 1.085 GB, free: 18.77 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.007811/2.516, allocations: 3.108 MB / 1.088 GB, free: 15.67 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005134/2.521, allocations: 3.67 MB / 1.091 GB, free: 12 MB / 0.5262 GB Notification: Performance of SimCode: time 8.42e-07/2.521, allocations: 0 / 1.091 GB, free: 12 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5045/3.026, allocations: 142.6 MB / 1.23 GB, free: 62.89 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/3.026, allocations: 132.1 kB / 1.23 GB, free: 62.7 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/10.16, allocations: 0 / 1.23 GB, free: 62.7 MB / 0.5418 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat