Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 198.3 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.44/1.44, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 100.7 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4048/0.4048, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003415, allocations: 4 kB / 468.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4723, allocations: 63.24 MB / 0.5193 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.6808, allocations: 108 MB / 0.6247 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.6812, allocations: 82.25 kB / 0.6248 GB, free: 13.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.713/1.394, allocations: 136.5 MB / 0.7581 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.336e-06/1.394, allocations: 3.312 kB / 0.7581 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005032/1.395, allocations: 126.8 kB / 0.7582 GB, free: 92.86 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02388/1.419, allocations: 7.048 MB / 0.7651 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.419, allocations: 11.38 kB / 0.7651 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005333/1.424, allocations: 1.116 MB / 0.7662 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03728/1.461, allocations: 9.444 MB / 0.7754 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/1.484, allocations: 7.389 MB / 0.7826 GB, free: 83.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006943/1.485, allocations: 484.7 kB / 0.7831 GB, free: 83.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004451/1.489, allocations: 0.6499 MB / 0.7837 GB, free: 83.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/1.533, allocations: 15.26 MB / 0.7986 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000773/1.533, allocations: 98.58 kB / 0.7987 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004219/1.538, allocations: 315.7 kB / 0.799 GB, free: 72.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002892/1.541, allocations: 1.34 MB / 0.8003 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02851/1.569, allocations: 12.08 MB / 0.8121 GB, free: 59.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0941/1.663, allocations: 67.64 MB / 0.8782 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/1.678, allocations: 5.244 MB / 0.8833 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/1.679, allocations: 32.17 kB / 0.8833 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.48e-05/1.679, allocations: 59.48 kB / 0.8834 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 5.62e-06/1.679, allocations: 0 / 0.8834 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.4475/2.126, allocations: 19.79 MB / 0.9027 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/2.126, allocations: 255.3 kB / 0.9029 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/2.14, allocations: 5.942 MB / 0.9087 GB, free: 114 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004796/2.14, allocations: 53.77 kB / 0.9088 GB, free: 114 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003778/2.144, allocations: 4.704 MB / 0.9134 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/2.145, allocations: 0.8194 MB / 0.9142 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/2.145, allocations: 153.9 kB / 0.9143 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004496/2.146, allocations: 0.6297 MB / 0.915 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/2.15, allocations: 2.467 MB / 0.9174 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006723/2.156, allocations: 7.403 MB / 0.9246 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007855/2.164, allocations: 4.183 MB / 0.9287 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002663/2.165, allocations: 52.03 kB / 0.9287 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02483/2.189, allocations: 10.18 MB / 0.9387 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003959/2.19, allocations: 79.88 kB / 0.9387 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007165/2.191, allocations: 176.4 kB / 0.9389 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/2.193, allocations: 0.8288 MB / 0.9397 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006779/2.2, allocations: 1.765 MB / 0.9414 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/2.211, allocations: 8.616 MB / 0.9499 GB, free: 95.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.222, allocations: 419.9 kB / 0.9503 GB, free: 95.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002604/2.224, allocations: 486.5 kB / 0.9507 GB, free: 95.61 MB / 0.5261 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 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (945): * Single equations (assignments): 939 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009095/2.233, allocations: 3.05 MB / 0.9537 GB, free: 94.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/2.235, allocations: 0.5535 MB / 0.9542 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009465/2.245, allocations: 3.427 MB / 0.9576 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/2.245, allocations: 25.5 kB / 0.9576 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-05/2.245, allocations: 11.91 kB / 0.9576 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/2.245, allocations: 8.859 kB / 0.9576 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/2.27, allocations: 9.602 MB / 0.967 GB, free: 89.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/2.27, allocations: 6.016 kB / 0.967 GB, free: 89.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/2.272, allocations: 311.2 kB / 0.9673 GB, free: 89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/2.273, allocations: 0.5232 MB / 0.9678 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/2.274, allocations: 42.45 kB / 0.9679 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/2.281, allocations: 7.719 MB / 0.9754 GB, free: 83.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/2.281, allocations: 2.531 kB / 0.9754 GB, free: 83.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00887/2.29, allocations: 6.258 MB / 0.9815 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/2.293, allocations: 0.6098 MB / 0.9821 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001751/2.294, allocations: 35.97 kB / 0.9821 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/2.298, allocations: 115 kB / 0.9823 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/2.298, allocations: 132 kB / 0.9824 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/2.298, allocations: 53.06 kB / 0.9824 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008587/2.307, allocations: 4.234 MB / 0.9866 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/2.307, allocations: 0 / 0.9866 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01047/2.317, allocations: 1.397 MB / 0.9879 GB, free: 78.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009931/2.327, allocations: 7.089 MB / 0.9949 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01053/2.338, allocations: 6.282 MB / 1.001 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/2.338, allocations: 0 / 1.001 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002659/2.341, allocations: 1.991 MB / 1.003 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/2.345, allocations: 0.7546 MB / 1.004 GB, free: 71.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4739/2.819, allocations: 176.6 MB / 1.176 GB, free: 77.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007105/2.827, allocations: 4.791 MB / 1.181 GB, free: 76.47 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008037/2.835, allocations: 2.514 MB / 1.183 GB, free: 76.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006306/2.841, allocations: 3.049 MB / 1.186 GB, free: 76.41 MB / 0.5573 GB Notification: Performance of SimCode: time 1.283e-06/2.841, allocations: 3.938 kB / 1.186 GB, free: 76.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1881/3.029, allocations: 115.3 MB / 1.299 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/3.029, allocations: 192 kB / 1.299 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/9.845, allocations: 0 / 1.299 GB, free: 4.91 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat