Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 202.2 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.2 MB / 245 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 110.6 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4615/0.4615, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 4.219 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4283, allocations: 63.24 MB / 0.5193 GB, free: 43.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5833, allocations: 109.7 MB / 0.6263 GB, free: 11.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5836, allocations: 84.55 kB / 0.6264 GB, free: 11.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6902/1.274, allocations: 153.2 MB / 0.776 GB, free: 88.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.729e-06/1.274, allocations: 0 / 0.776 GB, free: 88.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008608/1.275, allocations: 158.2 kB / 0.7762 GB, free: 88.05 MB / 0.4948 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.05461/1.329, allocations: 9.86 MB / 0.7858 GB, free: 82.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/1.329, allocations: 7.281 kB / 0.7858 GB, free: 82.22 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008455/1.338, allocations: 1.348 MB / 0.7871 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03529/1.373, allocations: 7.987 MB / 0.7949 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03107/1.404, allocations: 9.575 MB / 0.8043 GB, free: 69.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007264/1.405, allocations: 0.5857 MB / 0.8049 GB, free: 69.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005026/1.41, allocations: 0.7977 MB / 0.8056 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05102/1.461, allocations: 18.35 MB / 0.8236 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00102/1.462, allocations: 103 kB / 0.8237 GB, free: 48.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00537/1.468, allocations: 379.8 kB / 0.824 GB, free: 48.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002976/1.471, allocations: 1.679 MB / 0.8257 GB, free: 46.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03281/1.504, allocations: 14.94 MB / 0.8402 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4901/1.994, allocations: 81.13 MB / 0.9195 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03128/2.025, allocations: 7.593 MB / 0.9269 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03994/2.065, allocations: 17.03 MB / 0.9435 GB, free: 52.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/2.065, allocations: 71.81 kB / 0.9436 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.164e-06/2.065, allocations: 0 / 0.9436 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.1133/2.179, allocations: 28.82 MB / 0.9717 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003654/2.182, allocations: 6.323 MB / 0.9779 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/2.193, allocations: 5.823 MB / 0.9836 GB, free: 39.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/2.194, allocations: 74.59 kB / 0.9837 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004197/2.198, allocations: 5.349 MB / 0.9889 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/2.201, allocations: 1.327 MB / 0.9902 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000783/2.201, allocations: 198.2 kB / 0.9904 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005463/2.202, allocations: 0.735 MB / 0.9911 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006258/2.208, allocations: 4.007 MB / 0.995 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/2.22, allocations: 9.834 MB / 1.005 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/2.231, allocations: 6.084 MB / 1.011 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00024/2.231, allocations: 63.62 kB / 1.011 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04195/2.273, allocations: 16.57 MB / 1.027 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003922/2.274, allocations: 94.59 kB / 1.027 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02122/2.295, allocations: 7.893 MB / 1.035 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01593/2.311, allocations: 3.879 MB / 1.038 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008734/2.32, allocations: 2.369 MB / 1.041 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/2.336, allocations: 13.97 MB / 1.054 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/2.348, allocations: 0.871 MB / 1.055 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002978/2.351, allocations: 0.5974 MB / 1.056 GB, free: 7.797 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1240): * Single equations (assignments): 1215 * 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.01088/2.362, allocations: 3.478 MB / 1.059 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002104/2.364, allocations: 0.6016 MB / 1.06 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02244/2.387, allocations: 7.966 MB / 1.068 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01733/2.404, allocations: 6.952 MB / 1.074 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.268e-05/2.404, allocations: 8 kB / 1.074 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.531e-05/2.404, allocations: 15.94 kB / 1.074 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05048/2.455, allocations: 19.46 MB / 1.093 GB, free: 3.691 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/2.455, allocations: 7.938 kB / 1.093 GB, free: 3.684 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003745/2.459, allocations: 0.6519 MB / 1.094 GB, free: 3.031 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/2.469, allocations: 3.142 MB / 1.097 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00116/2.47, allocations: 103.9 kB / 1.097 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/2.487, allocations: 14.3 MB / 1.111 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005082/2.492, allocations: 6.094 MB / 1.117 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3917/2.884, allocations: 12.79 MB / 1.13 GB, free: 171 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/2.887, allocations: 0.646 MB / 1.13 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/2.888, allocations: 89.12 kB / 1.13 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003554/2.892, allocations: 384.2 kB / 1.131 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006741/2.893, allocations: 251.7 kB / 1.131 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/2.893, allocations: 101 kB / 1.131 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.008357/2.901, allocations: 4.071 MB / 1.135 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.673e-06/2.901, allocations: 0 / 1.135 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01055/2.912, allocations: 2.103 MB / 1.137 GB, free: 170.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (269): * Single equations (assignments): 252 * 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.02181/2.934, allocations: 14.28 MB / 1.151 GB, free: 168 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02411/2.958, allocations: 11.52 MB / 1.162 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/2.958, allocations: 1.656 kB / 1.162 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01224/2.97, allocations: 5.479 MB / 1.168 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007274/2.978, allocations: 0.8546 MB / 1.168 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1825/3.16, allocations: 215.6 MB / 1.379 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/3.172, allocations: 5.527 MB / 1.384 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.009936/3.181, allocations: 3.039 MB / 1.387 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01098/3.193, allocations: 3.672 MB / 1.391 GB, free: 324 kB / 0.6355 GB Notification: Performance of SimCode: time 1.111e-05/3.193, allocations: 0 / 1.391 GB, free: 324 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5893/3.782, allocations: 150.8 MB / 1.538 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/3.782, allocations: 212.2 kB / 1.538 GB, free: 123 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/11.96, allocations: 0 / 1.538 GB, free: 123 MB / 0.6355 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat