Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 196.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.255/1.255, 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.0008493/0.0008494, allocations: 91.64 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1928/0.1928, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.782e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.5051, allocations: 107.9 MB / 0.6169 GB, free: 2.168 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5054, allocations: 74.66 kB / 0.6169 GB, free: 2.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3088/0.8142, allocations: 136.2 MB / 0.7499 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8143, allocations: 0 / 0.7499 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000231/0.8145, allocations: 128 kB / 0.75 GB, free: 1.586 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.3082/1.123, allocations: 6.402 MB / 0.7563 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.123, allocations: 12.94 kB / 0.7563 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003794/1.127, allocations: 1.116 MB / 0.7574 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03753/1.164, allocations: 9.423 MB / 0.7666 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01904/1.183, allocations: 7.349 MB / 0.7738 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/1.184, allocations: 489.4 kB / 0.7742 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/1.187, allocations: 0.6436 MB / 0.7749 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/1.215, allocations: 15.11 MB / 0.7896 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/1.216, allocations: 96.53 kB / 0.7897 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008772/1.216, allocations: 310.3 kB / 0.79 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001304/1.218, allocations: 1.342 MB / 0.7913 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/1.239, allocations: 11.81 MB / 0.8028 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06027/1.3, allocations: 67.58 MB / 0.8688 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.311, allocations: 5.249 MB / 0.874 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/1.314, allocations: 2.618 MB / 0.8765 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/1.314, allocations: 34.47 kB / 0.8765 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.314, allocations: 59.34 kB / 0.8766 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 3.587e-06/1.314, allocations: 0 / 0.8766 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=208): time 0.03832/1.352, allocations: 16.79 MB / 0.893 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/1.352, allocations: 260.4 kB / 0.8932 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007451/1.36, allocations: 5.924 MB / 0.899 GB, free: 31.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/1.36, allocations: 53.7 kB / 0.8991 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.362, allocations: 4.673 MB / 0.9036 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008002/1.363, allocations: 0.8284 MB / 0.9045 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/1.364, allocations: 152 kB / 0.9046 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002897/1.364, allocations: 0.6424 MB / 0.9052 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.367, allocations: 2.385 MB / 0.9076 GB, free: 24.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/1.371, allocations: 7.34 MB / 0.9147 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/1.376, allocations: 4.177 MB / 0.9188 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.368e-05/1.376, allocations: 48 kB / 0.9188 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.01473/1.39, allocations: 10.03 MB / 0.9286 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/1.391, allocations: 83.09 kB / 0.9287 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.391, allocations: 176 kB / 0.9289 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/1.392, allocations: 0.7895 MB / 0.9297 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004985/1.397, allocations: 1.799 MB / 0.9314 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008995/1.406, allocations: 8.29 MB / 0.9395 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007529/1.414, allocations: 402.8 kB / 0.9399 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.415, allocations: 491.9 kB / 0.9404 GB, free: 7.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (952): * Single equations (assignments): 946 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001123/1.417, allocations: 0.7259 MB / 0.9411 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.418, allocations: 0.5591 MB / 0.9416 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006095/1.424, allocations: 3.345 MB / 0.9449 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-05/1.424, allocations: 24 kB / 0.9449 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.424, allocations: 8 kB / 0.9449 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/1.424, allocations: 8.438 kB / 0.9449 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.445, allocations: 9.701 MB / 0.9544 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.446, allocations: 0 / 0.9544 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.447, allocations: 301.8 kB / 0.9547 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/1.448, allocations: 0.498 MB / 0.9552 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/1.449, allocations: 39.94 kB / 0.9552 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008329/1.457, allocations: 7.378 MB / 0.9624 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.457, allocations: 64 / 0.9624 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3139/1.771, allocations: 6.168 MB / 0.9684 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.773, allocations: 0.6185 MB / 0.969 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/1.773, allocations: 33.61 kB / 0.9691 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.775, allocations: 108.1 kB / 0.9692 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/1.775, allocations: 122.1 kB / 0.9693 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.776, allocations: 52.66 kB / 0.9693 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007367/1.783, allocations: 4.21 MB / 0.9735 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.783, allocations: 3.609 kB / 0.9735 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007471/1.79, allocations: 1.392 MB / 0.9748 GB, free: 123.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009411/1.8, allocations: 7.009 MB / 0.9817 GB, free: 122 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008863/1.809, allocations: 6.162 MB / 0.9877 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.809, allocations: 0 / 0.9877 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002501/1.811, allocations: 1.942 MB / 0.9896 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.815, allocations: 0.7523 MB / 0.9903 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/1.846, allocations: 13.01 MB / 1.003 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007097/1.853, allocations: 4.776 MB / 1.008 GB, free: 118 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006916/1.86, allocations: 2.537 MB / 1.01 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005389/1.865, allocations: 3.033 MB / 1.013 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.323e-06/1.865, allocations: 0 / 1.013 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/2.026, allocations: 115.1 MB / 1.126 GB, free: 46.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/2.027, allocations: 167 kB / 1.126 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.17/7.196, allocations: 0 / 1.126 GB, free: 46.66 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat