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.001018/0.001018, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008513/0.0008513, allocations: 90.62 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1667/0.1667, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.418e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08778, allocations: 63.25 MB / 0.5115 GB, free: 6.664 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4395, allocations: 109.6 MB / 0.6185 GB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.4397, allocations: 71.03 kB / 0.6185 GB, free: 456 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6492/1.089, allocations: 153.3 MB / 0.7683 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/1.089, allocations: 3.812 kB / 0.7683 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005012/1.089, allocations: 167.8 kB / 0.7684 GB, free: 103.4 MB / 0.5261 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.04292/1.132, allocations: 9.25 MB / 0.7775 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.132, allocations: 18.09 kB / 0.7775 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006421/1.139, allocations: 1.353 MB / 0.7788 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03194/1.171, allocations: 7.992 MB / 0.7866 GB, free: 99.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02529/1.196, allocations: 9.543 MB / 0.7959 GB, free: 99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005931/1.197, allocations: 0.5841 MB / 0.7965 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003674/1.201, allocations: 0.7899 MB / 0.7973 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04347/1.244, allocations: 18.17 MB / 0.815 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006194/1.245, allocations: 103.1 kB / 0.8151 GB, free: 94.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002914/1.248, allocations: 374.1 kB / 0.8155 GB, free: 94.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/1.25, allocations: 1.689 MB / 0.8171 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03018/1.28, allocations: 14.66 MB / 0.8314 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0818/1.362, allocations: 81.15 MB / 0.9107 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/1.38, allocations: 7.533 MB / 0.918 GB, free: 18.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/1.384, allocations: 3.365 MB / 0.9213 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/1.404, allocations: 17.03 MB / 0.938 GB, free: 428 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.404, allocations: 72.44 kB / 0.938 GB, free: 348 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 5.33e-06/1.404, allocations: 0 / 0.938 GB, free: 348 kB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.3721/1.776, allocations: 24.27 MB / 0.9617 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003584/1.78, allocations: 6.262 MB / 0.9679 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/1.793, allocations: 5.737 MB / 0.9735 GB, free: 104 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008917/1.794, allocations: 75.31 kB / 0.9735 GB, free: 104 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004554/1.798, allocations: 5.355 MB / 0.9788 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/1.801, allocations: 1.316 MB / 0.98 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/1.801, allocations: 199 kB / 0.9802 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004916/1.802, allocations: 0.7365 MB / 0.981 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006185/1.808, allocations: 3.899 MB / 0.9848 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008845/1.817, allocations: 9.726 MB / 0.9943 GB, free: 93.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008081/1.825, allocations: 6.028 MB / 1 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000194/1.825, allocations: 63.38 kB / 1 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.03534/1.861, allocations: 16.35 MB / 1.016 GB, free: 91.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/1.861, allocations: 92.97 kB / 1.016 GB, free: 91.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01805/1.879, allocations: 7.829 MB / 1.024 GB, free: 90.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/1.894, allocations: 3.876 MB / 1.028 GB, free: 89.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007971/1.902, allocations: 2.371 MB / 1.03 GB, free: 89.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.915, allocations: 13.54 MB / 1.043 GB, free: 79.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/1.925, allocations: 0.8775 MB / 1.044 GB, free: 79.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002246/1.928, allocations: 0.6044 MB / 1.045 GB, free: 79.31 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 () * 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.003368/1.931, allocations: 0.877 MB / 1.046 GB, free: 78.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.933, allocations: 0.5993 MB / 1.046 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.948, allocations: 7.77 MB / 1.054 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01265/1.961, allocations: 6.901 MB / 1.06 GB, free: 73.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/1.961, allocations: 6.25 kB / 1.06 GB, free: 73.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/1.961, allocations: 21.05 kB / 1.06 GB, free: 73.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03719/1.998, allocations: 19.4 MB / 1.079 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/1.998, allocations: 4.469 kB / 1.079 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/2.001, allocations: 0.6588 MB / 1.08 GB, free: 63.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00846/2.01, allocations: 3.139 MB / 1.083 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008616/2.011, allocations: 105.9 kB / 1.083 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.022, allocations: 14.01 MB / 1.097 GB, free: 47.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002687/2.025, allocations: 6.035 MB / 1.103 GB, free: 41.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/2.043, allocations: 12.69 MB / 1.115 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/2.045, allocations: 0.653 MB / 1.116 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002036/2.047, allocations: 85.12 kB / 1.116 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005151/2.053, allocations: 388.8 kB / 1.116 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009319/2.054, allocations: 245.2 kB / 1.117 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/2.054, allocations: 102.8 kB / 1.117 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006715/2.061, allocations: 3.979 MB / 1.121 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.353e-06/2.061, allocations: 0 / 1.121 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01119/2.072, allocations: 2.107 MB / 1.123 GB, free: 23.61 MB / 0.5417 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 () * 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.0191/2.091, allocations: 14.19 MB / 1.136 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01824/2.109, allocations: 11.35 MB / 1.148 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/2.109, allocations: 11.84 kB / 1.148 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/2.119, allocations: 5.438 MB / 1.153 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005223/2.125, allocations: 0.8439 MB / 1.154 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3338/2.458, allocations: 19.57 MB / 1.173 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/2.469, allocations: 5.533 MB / 1.178 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008892/2.478, allocations: 3.024 MB / 1.181 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006584/2.484, allocations: 3.685 MB / 1.185 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/2.484, allocations: 0 / 1.185 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2074/2.692, allocations: 150.5 MB / 1.332 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/2.692, allocations: 179.3 kB / 1.332 GB, free: 21.49 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.892/8.584, allocations: 4 kB / 1.332 GB, free: 21.48 MB / 0.5573 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