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.001004/0.001004, allocations: 195.9 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.223/1.223, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008489/0.0008489, allocations: 88.86 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1696/0.1696, allocations: 45.13 MB / 389.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.382e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08827, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/0.4355, allocations: 109.6 MB / 0.6185 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4358, allocations: 71.16 kB / 0.6185 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6518/1.088, allocations: 153.3 MB / 0.7682 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.402e-06/1.088, allocations: 0 / 0.7682 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004766/1.088, allocations: 163.8 kB / 0.7684 GB, free: 103.5 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.03937/1.128, allocations: 9.261 MB / 0.7774 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.128, allocations: 15.09 kB / 0.7775 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005739/1.133, allocations: 1.351 MB / 0.7788 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03114/1.165, allocations: 7.988 MB / 0.7866 GB, free: 100 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02335/1.188, allocations: 9.544 MB / 0.7959 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000471/1.188, allocations: 0.5812 MB / 0.7965 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003104/1.192, allocations: 0.7957 MB / 0.7972 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03684/1.228, allocations: 18.17 MB / 0.815 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004125/1.229, allocations: 104.2 kB / 0.8151 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/1.23, allocations: 376.3 kB / 0.8154 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002314/1.233, allocations: 1.684 MB / 0.8171 GB, free: 94.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03137/1.264, allocations: 14.65 MB / 0.8314 GB, free: 92.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08507/1.349, allocations: 81.15 MB / 0.9106 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/1.368, allocations: 7.53 MB / 0.918 GB, free: 18.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004237/1.373, allocations: 3.36 MB / 0.9213 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02132/1.394, allocations: 17.03 MB / 0.9379 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.394, allocations: 76.44 kB / 0.938 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 5.62e-06/1.394, allocations: 0 / 0.938 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.3596/1.754, allocations: 24.25 MB / 0.9617 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003697/1.758, allocations: 6.267 MB / 0.9678 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.771, allocations: 5.739 MB / 0.9734 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.773, allocations: 74.47 kB / 0.9735 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005377/1.778, allocations: 5.348 MB / 0.9787 GB, free: 102 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002825/1.781, allocations: 1.325 MB / 0.98 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.782, allocations: 200.8 kB / 0.9802 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006927/1.783, allocations: 0.7299 MB / 0.9809 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007477/1.79, allocations: 3.901 MB / 0.9847 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/1.8, allocations: 9.724 MB / 0.9942 GB, free: 93.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009273/1.81, allocations: 6.032 MB / 1 GB, free: 93.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002852/1.81, allocations: 57.75 kB / 1 GB, free: 93.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.03671/1.847, allocations: 16.37 MB / 1.016 GB, free: 92.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/1.847, allocations: 94.06 kB / 1.016 GB, free: 92.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01768/1.865, allocations: 7.822 MB / 1.024 GB, free: 90.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/1.879, allocations: 3.885 MB / 1.028 GB, free: 89.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008151/1.888, allocations: 2.367 MB / 1.03 GB, free: 89.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/1.9, allocations: 13.54 MB / 1.043 GB, free: 79.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/1.911, allocations: 0.8754 MB / 1.044 GB, free: 79.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/1.914, allocations: 0.5977 MB / 1.045 GB, free: 79.59 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.00341/1.917, allocations: 0.8754 MB / 1.045 GB, free: 78.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/1.919, allocations: 0.5937 MB / 1.046 GB, free: 78.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.935, allocations: 7.774 MB / 1.054 GB, free: 76.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01305/1.948, allocations: 6.909 MB / 1.06 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-05/1.948, allocations: 6.469 kB / 1.06 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-05/1.948, allocations: 16.95 kB / 1.06 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0397/1.988, allocations: 19.4 MB / 1.079 GB, free: 63.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/1.988, allocations: 4 kB / 1.079 GB, free: 63.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/1.992, allocations: 0.6568 MB / 1.08 GB, free: 63.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008627/2, allocations: 3.135 MB / 1.083 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007818/2.001, allocations: 112.1 kB / 1.083 GB, free: 61.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/2.012, allocations: 14.01 MB / 1.097 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002766/2.015, allocations: 6.033 MB / 1.103 GB, free: 41.72 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/2.034, allocations: 12.69 MB / 1.115 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/2.036, allocations: 0.6458 MB / 1.116 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/2.038, allocations: 85.98 kB / 1.116 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004619/2.043, allocations: 385.4 kB / 1.116 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009814/2.044, allocations: 245.6 kB / 1.116 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/2.044, allocations: 107.6 kB / 1.117 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007226/2.052, allocations: 3.976 MB / 1.12 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.122e-06/2.052, allocations: 0 / 1.12 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01127/2.063, allocations: 2.1 MB / 1.122 GB, free: 23.84 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.01867/2.082, allocations: 14.2 MB / 1.136 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01823/2.1, allocations: 11.35 MB / 1.147 GB, free: 24 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.1, allocations: 0 / 1.147 GB, free: 24 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01061/2.11, allocations: 5.44 MB / 1.153 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005953/2.116, allocations: 0.8514 MB / 1.154 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3304/2.447, allocations: 19.56 MB / 1.173 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/2.459, allocations: 5.533 MB / 1.178 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009106/2.468, allocations: 3.033 MB / 1.181 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00637/2.475, allocations: 3.68 MB / 1.185 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.663e-06/2.475, allocations: 0 / 1.185 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2012/2.676, allocations: 150.5 MB / 1.332 GB, free: 21.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/2.676, allocations: 178.7 kB / 1.332 GB, free: 21.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.869/8.545, allocations: 0 / 1.332 GB, free: 21.56 MB / 0.5573 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