Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008583/0.0008584, allocations: 96.02 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 191.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 45.92 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 63.48 MB / 481.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4301/0.5712, allocations: 79.49 MB / 0.548 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04692/0.6182, allocations: 16.32 MB / 0.5639 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02201/0.6402, allocations: 374.7 kB / 0.5643 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01622/0.6565, allocations: 4.242 MB / 0.5684 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04325/0.6998, allocations: 12.16 MB / 0.5803 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006119/0.7059, allocations: 0.9253 MB / 0.5812 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.07731/0.7833, allocations: 62.57 MB / 0.6423 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.7941, allocations: 7.008 MB / 0.6492 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.7982, allocations: 1.755 MB / 0.6509 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/0.803, allocations: 2.683 MB / 0.6535 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.8041, allocations: 204 kB / 0.6537 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.8071, allocations: 1.084 MB / 0.6547 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003018/0.8102, allocations: 2.415 MB / 0.6571 GB, free: 4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.812, allocations: 1.174 MB / 0.6583 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.8225, allocations: 7.973 MB / 0.666 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.8225, allocations: 0 / 0.666 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.829e-06/0.8225, allocations: 3.938 kB / 0.666 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004079/0.8229, allocations: 4 kB / 0.666 GB, free: 10.82 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01527/0.8382, allocations: 5.933 MB / 0.6718 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8383, allocations: 8.031 kB / 0.6718 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003097/0.8414, allocations: 0.996 MB / 0.6728 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03217/0.8736, allocations: 6.252 MB / 0.6789 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.8845, allocations: 4.21 MB / 0.683 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/0.8849, allocations: 344.9 kB / 0.6834 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.8864, allocations: 479.5 kB / 0.6838 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02955/0.916, allocations: 14.61 MB / 0.6981 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.9162, allocations: 63.38 kB / 0.6981 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005664/0.9168, allocations: 219.8 kB / 0.6984 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004602/0.9214, allocations: 2.786 MB / 0.7011 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3495/1.271, allocations: 12.46 MB / 0.7132 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07354/1.344, allocations: 53.24 MB / 0.7652 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/1.359, allocations: 6.106 MB / 0.7712 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/1.363, allocations: 3.729 MB / 0.7748 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02081/1.384, allocations: 12.85 MB / 0.7874 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.278e-05/1.384, allocations: 64.2 kB / 0.7875 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 7.805e-06/1.384, allocations: 3.938 kB / 0.7875 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.07309/1.457, allocations: 27.85 MB / 0.8147 GB, free: 92.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/1.458, allocations: 205.9 kB / 0.8148 GB, free: 92.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.468, allocations: 5.024 MB / 0.8198 GB, free: 87.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008227/1.469, allocations: 62.88 kB / 0.8198 GB, free: 87.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002791/1.471, allocations: 4.027 MB / 0.8237 GB, free: 83.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/1.473, allocations: 1.012 MB / 0.8247 GB, free: 82.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.474, allocations: 143.7 kB / 0.8249 GB, free: 82.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005591/1.475, allocations: 0.6116 MB / 0.8255 GB, free: 81.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004909/1.48, allocations: 3.063 MB / 0.8285 GB, free: 78.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006428/1.486, allocations: 7.171 MB / 0.8355 GB, free: 69.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006764/1.493, allocations: 4.574 MB / 0.8399 GB, free: 64.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/1.493, allocations: 44 kB / 0.84 GB, free: 64.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02075/1.514, allocations: 11.56 MB / 0.8513 GB, free: 53.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.514, allocations: 68 kB / 0.8513 GB, free: 53.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/1.514, allocations: 144.9 kB / 0.8515 GB, free: 53.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/1.518, allocations: 1.758 MB / 0.8532 GB, free: 51.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005375/1.523, allocations: 1.661 MB / 0.8548 GB, free: 49.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.537, allocations: 11.97 MB / 0.8665 GB, free: 37.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005945/1.543, allocations: 423.4 kB / 0.8669 GB, free: 36.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.544, allocations: 433.7 kB / 0.8673 GB, free: 36.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (862): * Single equations (assignments): 857 * 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.005795/1.55, allocations: 2.799 MB / 0.87 GB, free: 33.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.551, allocations: 465.9 kB / 0.8705 GB, free: 33.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.562, allocations: 6.241 MB / 0.8766 GB, free: 27.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/1.562, allocations: 29.33 kB / 0.8766 GB, free: 26.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/1.562, allocations: 11.94 kB / 0.8766 GB, free: 26.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.58e-05/1.563, allocations: 19.94 kB / 0.8766 GB, free: 26.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/1.589, allocations: 13.82 MB / 0.8901 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.589, allocations: 0 / 0.8901 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/1.592, allocations: 451.3 kB / 0.8906 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003472/1.595, allocations: 1.523 MB / 0.8921 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004409/1.596, allocations: 51.92 kB / 0.8921 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.608, allocations: 11.25 MB / 0.9031 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.608, allocations: 3.938 kB / 0.9031 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.626, allocations: 10.04 MB / 0.9129 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.628, allocations: 0.5028 MB / 0.9134 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/1.629, allocations: 47.95 kB / 0.9134 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.632, allocations: 197.2 kB / 0.9136 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006217/1.633, allocations: 157.7 kB / 0.9138 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003311/1.633, allocations: 68 kB / 0.9138 GB, free: 4.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007128/1.64, allocations: 3.149 MB / 0.9169 GB, free: 1.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/1.64, allocations: 4 kB / 0.9169 GB, free: 1.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.312/1.953, allocations: 1.421 MB / 0.9183 GB, free: 182.7 MB / 0.545 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 (212): * Single equations (assignments): 207 * 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.02302/1.976, allocations: 10.72 MB / 0.9288 GB, free: 180.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.991, allocations: 7.637 MB / 0.9362 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.991, allocations: 0 / 0.9362 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006024/1.997, allocations: 3.235 MB / 0.9394 GB, free: 176.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005883/2.003, allocations: 0.6532 MB / 0.94 GB, free: 176.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09721/2.1, allocations: 51.07 MB / 0.9899 GB, free: 134.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007533/2.108, allocations: 4.361 MB / 0.9942 GB, free: 130.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005968/2.114, allocations: 2.326 MB / 0.9964 GB, free: 128.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004674/2.119, allocations: 2.737 MB / 0.9991 GB, free: 125.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.844e-06/2.119, allocations: 0 / 0.9991 GB, free: 125.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1575/2.276, allocations: 110.6 MB / 1.107 GB, free: 15.52 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/2.276, allocations: 219.4 kB / 1.107 GB, free: 15.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.91/7.186, allocations: 2.734 kB / 1.107 GB, free: 15.28 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat