Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008717/0.0008718, allocations: 99.73 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009559/0.0009561, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004164, allocations: 4 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3841/0.5367, allocations: 86.68 MB / 0.555 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05047/0.5872, allocations: 17.62 MB / 0.5722 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02349/0.6108, allocations: 407.1 kB / 0.5726 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01664/0.6274, allocations: 4.619 MB / 0.5771 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04422/0.6717, allocations: 13.31 MB / 0.5901 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006694/0.6784, allocations: 0.9167 MB / 0.591 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.08105/0.7595, allocations: 63.04 MB / 0.6526 GB, free: 8.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01064/0.7702, allocations: 7.175 MB / 0.6596 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.7744, allocations: 1.86 MB / 0.6614 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/0.7793, allocations: 2.862 MB / 0.6642 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.7804, allocations: 211.9 kB / 0.6644 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.7832, allocations: 1.104 MB / 0.6654 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002971/0.7862, allocations: 2.606 MB / 0.668 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.7884, allocations: 1.248 MB / 0.6692 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.7998, allocations: 8.359 MB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.7999, allocations: 0 / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.348e-06/0.7999, allocations: 0 / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0006346/0.8006, allocations: 0 / 0.6774 GB, free: 15.35 MB / 0.5137 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.01791/0.8185, allocations: 6.364 MB / 0.6836 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8186, allocations: 12.03 kB / 0.6836 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004665/0.8232, allocations: 1.046 MB / 0.6846 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03524/0.8585, allocations: 6.337 MB / 0.6908 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.8731, allocations: 4.495 MB / 0.6952 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/0.8736, allocations: 361.3 kB / 0.6955 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/0.8759, allocations: 483.6 kB / 0.696 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.388/1.264, allocations: 15.11 MB / 0.7108 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002843/1.264, allocations: 62.72 kB / 0.7108 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/1.265, allocations: 226.8 kB / 0.711 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007252/1.273, allocations: 2.887 MB / 0.7139 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03087/1.304, allocations: 12.7 MB / 0.7263 GB, free: 179 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06591/1.369, allocations: 56.91 MB / 0.7818 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/1.383, allocations: 5.671 MB / 0.7874 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/1.387, allocations: 3.516 MB / 0.7908 GB, free: 119 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/1.401, allocations: 7.966 MB / 0.7986 GB, free: 111 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.401, allocations: 52.22 kB / 0.7986 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 4.599e-06/1.401, allocations: 3.938 kB / 0.7986 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=269): time 0.07538/1.476, allocations: 29.16 MB / 0.8271 GB, free: 81.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/1.476, allocations: 231.6 kB / 0.8273 GB, free: 81.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.488, allocations: 6.417 MB / 0.8336 GB, free: 74.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008848/1.489, allocations: 65.7 kB / 0.8337 GB, free: 74.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003385/1.493, allocations: 4.423 MB / 0.838 GB, free: 70.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.494, allocations: 1.013 MB / 0.839 GB, free: 69.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/1.496, allocations: 163.8 kB / 0.8391 GB, free: 69.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0007691/1.496, allocations: 0.6408 MB / 0.8398 GB, free: 68.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005798/1.502, allocations: 3.205 MB / 0.8429 GB, free: 65.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008169/1.51, allocations: 7.899 MB / 0.8506 GB, free: 55.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007385/1.518, allocations: 4.914 MB / 0.8554 GB, free: 50.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002005/1.518, allocations: 44 kB / 0.8554 GB, free: 50.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1037) (initialization): time 0.02329/1.541, allocations: 12.4 MB / 0.8676 GB, free: 37.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.542, allocations: 76 kB / 0.8676 GB, free: 37.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003457/1.542, allocations: 164 kB / 0.8678 GB, free: 37.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004329/1.546, allocations: 1.789 MB / 0.8695 GB, free: 35.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/1.553, allocations: 1.821 MB / 0.8713 GB, free: 33.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.567, allocations: 12 MB / 0.883 GB, free: 21.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008774/1.576, allocations: 463.2 kB / 0.8835 GB, free: 21.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/1.578, allocations: 487.9 kB / 0.8839 GB, free: 20.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (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,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (955): * Single equations (assignments): 948 * Array equations: 5 * 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.007984/1.586, allocations: 3.002 MB / 0.8869 GB, free: 17.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/1.588, allocations: 0.5399 MB / 0.8874 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.6, allocations: 6.239 MB / 0.8935 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.293e-05/1.6, allocations: 28 kB / 0.8935 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-05/1.6, allocations: 11.94 kB / 0.8935 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/1.6, allocations: 15.95 kB / 0.8935 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02965/1.63, allocations: 13.91 MB / 0.9071 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/1.63, allocations: 4 kB / 0.9071 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.632, allocations: 439.3 kB / 0.9075 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004191/1.636, allocations: 1.53 MB / 0.909 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005484/1.637, allocations: 51.94 kB / 0.9091 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3588/1.996, allocations: 11.2 MB / 0.92 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.996, allocations: 6.031 kB / 0.92 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/2.015, allocations: 10.11 MB / 0.9299 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/2.017, allocations: 0.6233 MB / 0.9305 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.018, allocations: 46.47 kB / 0.9306 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/2.021, allocations: 183.5 kB / 0.9307 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005114/2.021, allocations: 161.6 kB / 0.9309 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002371/2.021, allocations: 69.58 kB / 0.9309 GB, free: 176.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01019/2.032, allocations: 4.108 MB / 0.935 GB, free: 175.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/2.032, allocations: 0 / 0.935 GB, free: 175.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01145/2.043, allocations: 1.522 MB / 0.9364 GB, free: 175 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 206 * 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.01753/2.061, allocations: 10.78 MB / 0.947 GB, free: 170.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01515/2.076, allocations: 7.924 MB / 0.9547 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/2.076, allocations: 7.5 kB / 0.9547 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005857/2.082, allocations: 3.136 MB / 0.9578 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008006/2.09, allocations: 0.7445 MB / 0.9585 GB, free: 166.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/2.208, allocations: 60.04 MB / 1.017 GB, free: 105.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008011/2.216, allocations: 4.612 MB / 1.022 GB, free: 101.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007394/2.223, allocations: 2.64 MB / 1.024 GB, free: 98.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/2.228, allocations: 2.996 MB / 1.027 GB, free: 95.49 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/2.228, allocations: 4 kB / 1.027 GB, free: 95.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4608/2.689, allocations: 123.3 MB / 1.148 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/2.689, allocations: 213.3 kB / 1.148 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.524/8.213, allocations: 0 / 1.148 GB, free: 173.5 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat