Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 107.9 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.403/0.403, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 11.98 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4222, allocations: 63.24 MB / 0.5193 GB, free: 43.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.5772, allocations: 109.7 MB / 0.6264 GB, free: 11.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5775, allocations: 79.94 kB / 0.6264 GB, free: 11.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7191/1.297, allocations: 153.2 MB / 0.7761 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.816e-06/1.297, allocations: 0 / 0.7761 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007326/1.297, allocations: 166.3 kB / 0.7762 GB, free: 87.92 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.04822/1.346, allocations: 9.854 MB / 0.7859 GB, free: 82.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/1.346, allocations: 13.97 kB / 0.7859 GB, free: 82.09 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007707/1.353, allocations: 1.35 MB / 0.7872 GB, free: 81.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03418/1.388, allocations: 7.981 MB / 0.795 GB, free: 77.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02887/1.417, allocations: 9.586 MB / 0.8044 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000826/1.417, allocations: 0.5857 MB / 0.8049 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00481/1.422, allocations: 0.7899 MB / 0.8057 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04893/1.471, allocations: 18.35 MB / 0.8236 GB, free: 48.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005074/1.472, allocations: 111 kB / 0.8237 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003388/1.475, allocations: 375.8 kB / 0.8241 GB, free: 47.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002558/1.478, allocations: 1.683 MB / 0.8257 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03153/1.509, allocations: 14.94 MB / 0.8403 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4642/1.974, allocations: 81.12 MB / 0.9195 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/1.994, allocations: 7.59 MB / 0.9269 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02658/2.021, allocations: 17.03 MB / 0.9436 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/2.021, allocations: 63.81 kB / 0.9436 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 6.272e-06/2.021, allocations: 0 / 0.9436 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.08012/2.101, allocations: 28.82 MB / 0.9718 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003362/2.104, allocations: 6.328 MB / 0.978 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009696/2.114, allocations: 5.822 MB / 0.9837 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/2.115, allocations: 77.58 kB / 0.9837 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003472/2.119, allocations: 5.346 MB / 0.9889 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/2.121, allocations: 1.321 MB / 0.9902 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/2.122, allocations: 200.5 kB / 0.9904 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007337/2.123, allocations: 0.735 MB / 0.9911 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007084/2.13, allocations: 4.01 MB / 0.9951 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/2.142, allocations: 9.834 MB / 1.005 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009826/2.152, allocations: 6.087 MB / 1.011 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002659/2.152, allocations: 62.19 kB / 1.011 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04071/2.193, allocations: 16.58 MB / 1.027 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004363/2.193, allocations: 90.34 kB / 1.027 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02193/2.215, allocations: 7.889 MB / 1.035 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/2.231, allocations: 3.888 MB / 1.038 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008605/2.24, allocations: 2.368 MB / 1.041 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/2.257, allocations: 13.97 MB / 1.054 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/2.268, allocations: 0.8758 MB / 1.055 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002957/2.271, allocations: 0.5999 MB / 1.056 GB, free: 7.598 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.01275/2.284, allocations: 3.475 MB / 1.059 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002842/2.287, allocations: 0.5977 MB / 1.06 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02347/2.31, allocations: 8.039 MB / 1.068 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0183/2.329, allocations: 6.954 MB / 1.074 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.395e-05/2.329, allocations: 8 kB / 1.074 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/2.329, allocations: 15.94 kB / 1.074 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05754/2.386, allocations: 19.46 MB / 1.093 GB, free: 3.594 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/2.387, allocations: 8.453 kB / 1.093 GB, free: 3.586 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004139/2.391, allocations: 0.6553 MB / 1.094 GB, free: 2.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01022/2.401, allocations: 3.14 MB / 1.097 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008583/2.402, allocations: 107.9 kB / 1.097 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/2.418, allocations: 14.31 MB / 1.111 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005643/2.424, allocations: 6.085 MB / 1.117 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3809/2.805, allocations: 12.8 MB / 1.13 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004873/2.81, allocations: 0.6471 MB / 1.13 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003668/2.813, allocations: 83.28 kB / 1.13 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006183/2.82, allocations: 389.3 kB / 1.131 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001427/2.821, allocations: 242.6 kB / 1.131 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008296/2.822, allocations: 108.5 kB / 1.131 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01295/2.835, allocations: 4.071 MB / 1.135 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.61e-07/2.835, allocations: 1.969 kB / 1.135 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01418/2.849, allocations: 2.101 MB / 1.137 GB, free: 170.2 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.0259/2.875, allocations: 14.28 MB / 1.151 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02341/2.899, allocations: 11.52 MB / 1.162 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/2.899, allocations: 0.8125 kB / 1.162 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0112/2.91, allocations: 5.478 MB / 1.168 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007098/2.917, allocations: 0.8562 MB / 1.169 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1844/3.102, allocations: 215.6 MB / 1.379 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/3.116, allocations: 5.531 MB / 1.385 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01095/3.127, allocations: 3.031 MB / 1.387 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3584/3.485, allocations: 3.717 MB / 1.391 GB, free: 204.1 MB / 0.6355 GB Notification: Performance of SimCode: time 3.016e-06/3.485, allocations: 0 / 1.391 GB, free: 204.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.246/3.731, allocations: 150.4 MB / 1.538 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/3.731, allocations: 212.5 kB / 1.538 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/12.24, allocations: 7.562 kB / 1.538 GB, free: 121.2 MB / 0.6355 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat