Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002368/0.002368, allocations: 202 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 89.7 kB / 297.2 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4093/0.4093, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003269, allocations: 8 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4156, allocations: 63.25 MB / 0.5193 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.5744, allocations: 108.9 MB / 0.6257 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.5747, allocations: 83.94 kB / 0.6257 GB, free: 12.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6205/1.195, allocations: 124.2 MB / 0.747 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.936e-06/1.195, allocations: 0 / 0.747 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003997/1.196, allocations: 122.7 kB / 0.7472 GB, free: 95.89 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02539/1.221, allocations: 6.467 MB / 0.7535 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/1.221, allocations: 7.781 kB / 0.7535 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005468/1.227, allocations: 1.077 MB / 0.7545 GB, free: 93.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02702/1.254, allocations: 7.001 MB / 0.7614 GB, free: 92.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.271, allocations: 6.038 MB / 0.7673 GB, free: 89.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004606/1.272, allocations: 459.9 kB / 0.7677 GB, free: 89.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003134/1.275, allocations: 0.6082 MB / 0.7683 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03471/1.31, allocations: 15.21 MB / 0.7832 GB, free: 81.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004273/1.31, allocations: 78.94 kB / 0.7832 GB, free: 81.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002594/1.313, allocations: 296.8 kB / 0.7835 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002072/1.315, allocations: 1.351 MB / 0.7848 GB, free: 81.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/1.34, allocations: 12.56 MB / 0.7971 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06301/1.403, allocations: 64.81 MB / 0.8604 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.419, allocations: 7.107 MB / 0.8673 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/1.419, allocations: 47.16 kB / 0.8674 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.419, allocations: 51.88 kB / 0.8674 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=218): time 6.091e-06/1.419, allocations: 7.984 kB / 0.8674 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.07723/1.496, allocations: 29.55 MB / 0.8963 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/1.496, allocations: 217.8 kB / 0.8965 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3016/1.798, allocations: 5.369 MB / 0.9017 GB, free: 116 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009068/1.799, allocations: 64.23 kB / 0.9018 GB, free: 116 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004921/1.804, allocations: 4.218 MB / 0.9059 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.806, allocations: 0.986 MB / 0.9069 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009014/1.807, allocations: 150.3 kB / 0.907 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004044/1.807, allocations: 0.6293 MB / 0.9076 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00546/1.812, allocations: 3.186 MB / 0.9108 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008432/1.821, allocations: 7.644 MB / 0.9182 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008216/1.829, allocations: 4.827 MB / 0.9229 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/1.829, allocations: 45.19 kB / 0.923 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.02379/1.853, allocations: 12.12 MB / 0.9348 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000196/1.853, allocations: 76.16 kB / 0.9349 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003462/1.854, allocations: 159.1 kB / 0.935 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004915/1.859, allocations: 1.668 MB / 0.9367 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007692/1.866, allocations: 1.823 MB / 0.9384 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/1.882, allocations: 11.69 MB / 0.9499 GB, free: 98.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007401/1.889, allocations: 467 kB / 0.9503 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002253/1.891, allocations: 461.5 kB / 0.9507 GB, free: 98.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 913 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00792/1.899, allocations: 2.884 MB / 0.9536 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.901, allocations: 0.5107 MB / 0.9541 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009743/1.91, allocations: 6.2 MB / 0.9601 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-05/1.91, allocations: 27.19 kB / 0.9601 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/1.91, allocations: 11.78 kB / 0.9602 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/1.91, allocations: 15.58 kB / 0.9602 GB, free: 94.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.936, allocations: 13.73 MB / 0.9736 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/1.936, allocations: 7.312 kB / 0.9736 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.938, allocations: 494.2 kB / 0.9741 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/1.942, allocations: 1.422 MB / 0.9754 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004709/1.942, allocations: 42.5 kB / 0.9755 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.955, allocations: 10.91 MB / 0.9861 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.955, allocations: 3.719 kB / 0.9861 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/1.97, allocations: 10.21 MB / 0.9961 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/1.972, allocations: 0.5874 MB / 0.9967 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/1.974, allocations: 41.5 kB / 0.9967 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.977, allocations: 215.7 kB / 0.9969 GB, free: 78.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006048/1.978, allocations: 149.7 kB / 0.9971 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/1.978, allocations: 71.33 kB / 0.9971 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007353/1.986, allocations: 3.825 MB / 1.001 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/1.986, allocations: 0 / 1.001 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01103/1.997, allocations: 1.473 MB / 1.002 GB, free: 77.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (202): * Single equations (assignments): 197 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0187/2.015, allocations: 11.03 MB / 1.013 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01412/2.03, allocations: 7.895 MB / 1.021 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/2.03, allocations: 4 kB / 1.021 GB, free: 62.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005751/2.035, allocations: 3.225 MB / 1.024 GB, free: 59.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/2.041, allocations: 0.6531 MB / 1.025 GB, free: 58.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4409/2.482, allocations: 164.5 MB / 1.185 GB, free: 81.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007945/2.49, allocations: 4.543 MB / 1.19 GB, free: 80.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007757/2.498, allocations: 2.589 MB / 1.192 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00489/2.502, allocations: 2.82 MB / 1.195 GB, free: 80.59 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/2.502, allocations: 3.688 kB / 1.195 GB, free: 80.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1749/2.677, allocations: 117.8 MB / 1.31 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/2.678, allocations: 207.4 kB / 1.31 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/9.506, allocations: 64 / 1.31 GB, free: 6.523 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat