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.001262/0.001261, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00076/0.0007601, allocations: 101.3 kB / 286.7 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.798e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 63.24 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.465/0.592, allocations: 108.9 MB / 0.6108 GB, free: 9.609 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.5923, allocations: 77.52 kB / 0.6109 GB, free: 9.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.94/1.532, allocations: 149.9 MB / 0.7573 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.063e-06/1.532, allocations: 1.094 kB / 0.7573 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0005787/1.533, allocations: 158.4 kB / 0.7575 GB, free: 101.7 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.04824/1.581, allocations: 9.254 MB / 0.7665 GB, free: 99.46 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.581, allocations: 9.594 kB / 0.7665 GB, free: 99.46 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03374/1.615, allocations: 7.992 MB / 0.7743 GB, free: 98.94 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02331/1.638, allocations: 9.545 MB / 0.7836 GB, free: 97.99 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005123/1.639, allocations: 256.8 kB / 0.7839 GB, free: 97.99 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003169/1.642, allocations: 468.5 kB / 0.7843 GB, free: 97.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01816/1.66, allocations: 10.51 MB / 0.7946 GB, free: 97.95 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03409/1.694, allocations: 15.67 MB / 0.8099 GB, free: 93.84 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005276/1.695, allocations: 101.3 kB / 0.81 GB, free: 93.83 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/1.697, allocations: 48.28 kB / 0.81 GB, free: 93.83 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/1.7, allocations: 1.69 MB / 0.8117 GB, free: 93.81 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08133/1.781, allocations: 79.44 MB / 0.8893 GB, free: 40.15 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/1.787, allocations: 4.663 MB / 0.8938 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/1.79, allocations: 3.186 MB / 0.8969 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/1.792, allocations: 1.991 MB / 0.8989 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.792, allocations: 68.5 kB / 0.8989 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=307): time 5.571e-06/1.792, allocations: 0 / 0.8989 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of matching and sorting (n=335): time 0.04632/1.838, allocations: 22.25 MB / 0.9207 GB, free: 13.86 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.838, allocations: 243.5 kB / 0.9209 GB, free: 13.57 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/1.845, allocations: 5.127 MB / 0.9259 GB, free: 9.07 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007929/1.845, allocations: 25.7 kB / 0.9259 GB, free: 9.039 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002568/1.848, allocations: 5.368 MB / 0.9312 GB, free: 4.168 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/1.849, allocations: 1.3 MB / 0.9324 GB, free: 3 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/1.85, allocations: 4 kB / 0.9324 GB, free: 2.996 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003667/1.85, allocations: 0.7483 MB / 0.9332 GB, free: 2.367 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009176/1.859, allocations: 4.157 MB / 0.9372 GB, free: 0 / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.87, allocations: 9.677 MB / 0.9467 GB, free: 3.961 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008566/1.879, allocations: 5.912 MB / 0.9525 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.879, allocations: 64 kB / 0.9525 GB, free: 14.85 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1346) (initialization): time 0.03521/1.914, allocations: 15.17 MB / 0.9673 GB, free: 2.215 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.914, allocations: 103.8 kB / 0.9674 GB, free: 2.117 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3205/2.235, allocations: 7.649 MB / 0.9749 GB, free: 115.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0169/2.252, allocations: 3.823 MB / 0.9786 GB, free: 115 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00891/2.261, allocations: 2.419 MB / 0.981 GB, free: 115 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/2.274, allocations: 13.08 MB / 0.9938 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00945/2.284, allocations: 0.6796 MB / 0.9944 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/2.286, allocations: 0.6101 MB / 0.995 GB, free: 107.7 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.002158/2.288, allocations: 0.6545 MB / 0.9957 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0136/2.302, allocations: 7.626 MB / 1.003 GB, free: 107.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/2.304, allocations: 0.5667 MB / 1.004 GB, free: 107.3 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/2.321, allocations: 7.528 MB / 1.011 GB, free: 107 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01216/2.333, allocations: 6.735 MB / 1.018 GB, free: 106.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/2.333, allocations: 7.656 kB / 1.018 GB, free: 106.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.469e-05/2.333, allocations: 16.97 kB / 1.018 GB, free: 106.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03211/2.365, allocations: 18.32 MB / 1.036 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/2.365, allocations: 3.969 kB / 1.036 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003328/2.369, allocations: 0.6676 MB / 1.036 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00869/2.377, allocations: 3.074 MB / 1.039 GB, free: 105.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006956/2.378, allocations: 65.81 kB / 1.039 GB, free: 105.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/2.39, allocations: 13.76 MB / 1.053 GB, free: 97.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002735/2.393, allocations: 5.797 MB / 1.058 GB, free: 92.32 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/2.412, allocations: 12.5 MB / 1.071 GB, free: 87.36 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/2.414, allocations: 0.6119 MB / 1.071 GB, free: 86.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/2.416, allocations: 39.83 kB / 1.071 GB, free: 86.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/2.421, allocations: 334 kB / 1.071 GB, free: 86.91 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/2.422, allocations: 252.5 kB / 1.072 GB, free: 86.88 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003506/2.422, allocations: 102.2 kB / 1.072 GB, free: 86.86 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.006351/2.429, allocations: 3.423 MB / 1.075 GB, free: 85.61 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.91e-07/2.429, allocations: 0 / 1.075 GB, free: 85.61 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0123/2.441, allocations: 1.94 MB / 1.077 GB, free: 85.6 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.01874/2.46, allocations: 13.99 MB / 1.091 GB, free: 78.78 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01622/2.476, allocations: 10.92 MB / 1.101 GB, free: 69.16 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/2.476, allocations: 4 kB / 1.101 GB, free: 69.16 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.008474/2.485, allocations: 5.358 MB / 1.107 GB, free: 64.37 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/2.489, allocations: 0.7271 MB / 1.107 GB, free: 63.78 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03525/2.524, allocations: 19.19 MB / 1.126 GB, free: 47.77 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007335/2.532, allocations: 5.528 MB / 1.131 GB, free: 43.75 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.008472/2.54, allocations: 3.107 MB / 1.135 GB, free: 41.54 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005529/2.546, allocations: 3.658 MB / 1.138 GB, free: 37.88 MB / 0.5574 GB Notification: Performance of SimCode: time 7.11e-07/2.546, allocations: 0 / 1.138 GB, free: 37.88 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4844/3.03, allocations: 142.1 MB / 1.277 GB, free: 100.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/3.03, allocations: 144.6 kB / 1.277 GB, free: 100.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/9.638, allocations: 0 / 1.277 GB, free: 100.2 MB / 0.573 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