Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009506/0.0009506, allocations: 105.7 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3959/0.3959, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 12 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4281, allocations: 63.24 MB / 0.5193 GB, free: 43.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5883, allocations: 109.2 MB / 0.6259 GB, free: 12.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5887, allocations: 87.92 kB / 0.626 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7168/1.305, allocations: 165.5 MB / 0.7876 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.647e-06/1.306, allocations: 0 / 0.7876 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007756/1.306, allocations: 161.7 kB / 0.7877 GB, free: 80.71 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.03312/1.339, allocations: 8.823 MB / 0.7963 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.34, allocations: 7.219 kB / 0.7963 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007835/1.347, allocations: 1.427 MB / 0.7977 GB, free: 74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03759/1.385, allocations: 9.669 MB / 0.8072 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/1.408, allocations: 8.229 MB / 0.8152 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006039/1.409, allocations: 0.6138 MB / 0.8158 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005482/1.414, allocations: 0.828 MB / 0.8166 GB, free: 57.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04761/1.462, allocations: 20.03 MB / 0.8362 GB, free: 35.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000621/1.462, allocations: 99.06 kB / 0.8363 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004124/1.467, allocations: 395.8 kB / 0.8367 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/1.469, allocations: 1.778 MB / 0.8384 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03448/1.504, allocations: 16.54 MB / 0.8546 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4956/1.999, allocations: 83.34 MB / 0.9359 GB, free: 50.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/2.019, allocations: 8.157 MB / 0.9439 GB, free: 50.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/2.019, allocations: 72.89 kB / 0.944 GB, free: 50.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/2.019, allocations: 64 kB / 0.944 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 5.611e-06/2.019, allocations: 0 / 0.944 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=364): time 0.1052/2.125, allocations: 39.59 MB / 0.9827 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/2.125, allocations: 271.1 kB / 0.983 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/2.138, allocations: 6.994 MB / 0.9898 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001132/2.139, allocations: 84.8 kB / 0.9899 GB, free: 42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004619/2.144, allocations: 5.545 MB / 0.9953 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/2.146, allocations: 1.366 MB / 0.9966 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/2.147, allocations: 193.1 kB / 0.9968 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005317/2.148, allocations: 0.7147 MB / 0.9975 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00709/2.155, allocations: 4.127 MB / 1.002 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/2.166, allocations: 9.65 MB / 1.011 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009718/2.176, allocations: 6.174 MB / 1.017 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002104/2.176, allocations: 57.78 kB / 1.017 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.0334/2.21, allocations: 15.82 MB / 1.032 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002628/2.21, allocations: 89.47 kB / 1.033 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005665/2.211, allocations: 195 kB / 1.033 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006524/2.217, allocations: 2.453 MB / 1.035 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008651/2.226, allocations: 2.272 MB / 1.037 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/2.244, allocations: 17.39 MB / 1.054 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0099/2.254, allocations: 0.5715 MB / 1.055 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005445/2.26, allocations: 0.8241 MB / 1.056 GB, free: 0 / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1167): * Single equations (assignments): 1161 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01099/2.271, allocations: 3.776 MB / 1.059 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/2.273, allocations: 0.6749 MB / 1.06 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/2.291, allocations: 8.772 MB / 1.069 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.912e-05/2.291, allocations: 39.95 kB / 1.069 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.606e-05/2.291, allocations: 16 kB / 1.069 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.996e-05/2.291, allocations: 16.55 kB / 1.069 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04888/2.34, allocations: 19.4 MB / 1.088 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/2.34, allocations: 0 / 1.088 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003787/2.344, allocations: 0.6279 MB / 1.088 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006062/2.35, allocations: 2.13 MB / 1.09 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009758/2.351, allocations: 67.81 kB / 1.09 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/2.373, allocations: 16.18 MB / 1.106 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/2.373, allocations: 0 / 1.106 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02518/2.398, allocations: 13.91 MB / 1.12 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003253/2.402, allocations: 0.742 MB / 1.121 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003194/2.405, allocations: 67.91 kB / 1.121 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0056/2.411, allocations: 275.6 kB / 1.121 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/2.412, allocations: 225.5 kB / 1.121 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009862/2.413, allocations: 94.58 kB / 1.121 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.3668/2.78, allocations: 4.988 MB / 1.126 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.91e-07/2.78, allocations: 0 / 1.126 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01314/2.793, allocations: 1.973 MB / 1.128 GB, free: 154.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 283 * 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 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02186/2.815, allocations: 14.76 MB / 1.142 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01817/2.833, allocations: 10.37 MB / 1.152 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/2.833, allocations: 0 / 1.152 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.008724/2.842, allocations: 4.365 MB / 1.157 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006763/2.849, allocations: 0.9073 MB / 1.158 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5884/3.437, allocations: 213.6 MB / 1.366 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/3.459, allocations: 5.916 MB / 1.372 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01665/3.475, allocations: 3.269 MB / 1.375 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01233/3.488, allocations: 3.934 MB / 1.379 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.804e-06/3.488, allocations: 0 / 1.379 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.287/3.775, allocations: 159.3 MB / 1.535 GB, free: 90.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/3.775, allocations: 212 kB / 1.535 GB, free: 89.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.914/12.69, allocations: 4.062 kB / 1.535 GB, free: 89.94 MB / 0.6198 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat