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.001406/0.001406, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008247/0.0008247, allocations: 95.02 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2036/0.2036, allocations: 45.16 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.416e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.579, allocations: 108.9 MB / 0.6108 GB, free: 9.648 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.5792, allocations: 79.95 kB / 0.6109 GB, free: 9.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9318/1.511, allocations: 150 MB / 0.7574 GB, free: 101.4 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.385e-06/1.511, allocations: 0 / 0.7574 GB, free: 101.4 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0005649/1.512, allocations: 163.8 kB / 0.7575 GB, free: 101.4 MB / 0.5262 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.04341/1.555, allocations: 9.252 MB / 0.7666 GB, free: 99.19 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.555, allocations: 9.594 kB / 0.7666 GB, free: 99.19 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03322/1.588, allocations: 7.991 MB / 0.7744 GB, free: 98.67 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/1.611, allocations: 9.542 MB / 0.7837 GB, free: 97.73 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004063/1.612, allocations: 254.7 kB / 0.7839 GB, free: 97.73 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003247/1.615, allocations: 468.8 kB / 0.7844 GB, free: 97.72 MB / 0.5262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02166/1.637, allocations: 10.51 MB / 0.7946 GB, free: 97.68 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03565/1.672, allocations: 15.66 MB / 0.8099 GB, free: 93.57 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000684/1.673, allocations: 103.8 kB / 0.81 GB, free: 93.56 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003284/1.676, allocations: 49.47 kB / 0.8101 GB, free: 93.56 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002458/1.679, allocations: 1.685 MB / 0.8117 GB, free: 93.55 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08337/1.762, allocations: 79.46 MB / 0.8893 GB, free: 39.98 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005865/1.768, allocations: 4.653 MB / 0.8939 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/1.772, allocations: 3.187 MB / 0.897 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.773, allocations: 1.994 MB / 0.8989 GB, free: 32.97 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.773, allocations: 71.72 kB / 0.899 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=307): time 6.032e-06/1.773, allocations: 4 kB / 0.899 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of matching and sorting (n=335): time 0.04509/1.818, allocations: 22.25 MB / 0.9207 GB, free: 13.75 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/1.818, allocations: 247 kB / 0.921 GB, free: 13.46 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006675/1.825, allocations: 5.123 MB / 0.926 GB, free: 8.957 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006922/1.825, allocations: 29.7 kB / 0.926 GB, free: 8.922 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/1.828, allocations: 5.371 MB / 0.9312 GB, free: 4.047 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.829, allocations: 1.302 MB / 0.9325 GB, free: 2.879 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/1.829, allocations: 0.75 kB / 0.9325 GB, free: 2.879 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003691/1.83, allocations: 0.7393 MB / 0.9332 GB, free: 2.258 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009531/1.839, allocations: 4.204 MB / 0.9373 GB, free: 0 / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/1.849, allocations: 9.68 MB / 0.9468 GB, free: 3.961 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00851/1.858, allocations: 5.933 MB / 0.9526 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/1.858, allocations: 60 kB / 0.9526 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1346) (initialization): time 0.03742/1.896, allocations: 15.17 MB / 0.9675 GB, free: 2.242 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.896, allocations: 95.75 kB / 0.9675 GB, free: 2.152 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3106/2.206, allocations: 7.647 MB / 0.975 GB, free: 115 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/2.223, allocations: 3.825 MB / 0.9787 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008378/2.232, allocations: 2.417 MB / 0.9811 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/2.245, allocations: 13.07 MB / 0.9939 GB, free: 107.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009558/2.254, allocations: 0.6862 MB / 0.9945 GB, free: 107.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002279/2.257, allocations: 0.6104 MB / 0.9951 GB, free: 107.5 MB / 0.5574 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.001926/2.258, allocations: 0.6449 MB / 0.9958 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0135/2.272, allocations: 7.634 MB / 1.003 GB, free: 107.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/2.273, allocations: 0.5733 MB / 1.004 GB, free: 107.1 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/2.287, allocations: 7.514 MB / 1.011 GB, free: 106.8 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01153/2.298, allocations: 6.742 MB / 1.018 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.383e-05/2.299, allocations: 5.562 kB / 1.018 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.398e-05/2.299, allocations: 17.33 kB / 1.018 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/2.329, allocations: 18.32 MB / 1.036 GB, free: 105.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/2.329, allocations: 3.281 kB / 1.036 GB, free: 105.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/2.333, allocations: 0.6712 MB / 1.036 GB, free: 105.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008659/2.341, allocations: 3.066 MB / 1.039 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007691/2.342, allocations: 70.44 kB / 1.039 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/2.354, allocations: 13.76 MB / 1.053 GB, free: 97.72 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002724/2.356, allocations: 5.791 MB / 1.058 GB, free: 92.25 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/2.374, allocations: 12.5 MB / 1.071 GB, free: 87.28 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/2.376, allocations: 0.608 MB / 1.071 GB, free: 86.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/2.378, allocations: 39.66 kB / 1.071 GB, free: 86.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/2.381, allocations: 331.5 kB / 1.072 GB, free: 86.84 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006275/2.382, allocations: 255.8 kB / 1.072 GB, free: 86.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002658/2.382, allocations: 105.3 kB / 1.072 GB, free: 86.79 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.005781/2.388, allocations: 3.426 MB / 1.075 GB, free: 85.54 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.61e-07/2.388, allocations: 0 / 1.075 GB, free: 85.54 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009652/2.398, allocations: 1.937 MB / 1.077 GB, free: 85.53 MB / 0.5574 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.01706/2.415, allocations: 13.99 MB / 1.091 GB, free: 78.64 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01611/2.431, allocations: 10.93 MB / 1.102 GB, free: 69.03 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/2.431, allocations: 7 kB / 1.102 GB, free: 69.02 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.008147/2.439, allocations: 5.35 MB / 1.107 GB, free: 64.23 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/2.444, allocations: 0.7329 MB / 1.107 GB, free: 63.64 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0386/2.482, allocations: 19.19 MB / 1.126 GB, free: 47.64 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006687/2.489, allocations: 5.521 MB / 1.132 GB, free: 43.63 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.007824/2.497, allocations: 3.11 MB / 1.135 GB, free: 41.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005003/2.502, allocations: 3.658 MB / 1.138 GB, free: 37.84 MB / 0.5574 GB Notification: Performance of SimCode: time 7.02e-07/2.502, allocations: 8 kB / 1.138 GB, free: 37.83 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4844/2.986, allocations: 142.1 MB / 1.277 GB, free: 100.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/2.986, allocations: 141.8 kB / 1.277 GB, free: 100.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/9.752, allocations: 1.312 kB / 1.277 GB, free: 100.1 MB / 0.573 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