Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009241/0.0009245, allocations: 94.28 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.197/0.197, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.698e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5284, allocations: 109.1 MB / 0.618 GB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5287, allocations: 73.91 kB / 0.618 GB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.278/0.8067, allocations: 110.7 MB / 0.7261 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8067, allocations: 0 / 0.7261 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003908/0.8071, allocations: 100 kB / 0.7262 GB, free: 10.09 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01795/0.8251, allocations: 5.203 MB / 0.7313 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.8252, allocations: 15.97 kB / 0.7313 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004212/0.8294, allocations: 0.8983 MB / 0.7322 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/0.8574, allocations: 6.877 MB / 0.7389 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/0.8737, allocations: 5.739 MB / 0.7445 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.8742, allocations: 386.1 kB / 0.7449 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/0.8769, allocations: 0.5036 MB / 0.7454 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3145/1.191, allocations: 12.33 MB / 0.7574 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003372/1.192, allocations: 74.39 kB / 0.7575 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001333/1.193, allocations: 245.1 kB / 0.7577 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001877/1.195, allocations: 1.135 MB / 0.7588 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/1.217, allocations: 9.67 MB / 0.7683 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05318/1.27, allocations: 56.4 MB / 0.8234 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009085/1.279, allocations: 4.241 MB / 0.8275 GB, free: 77.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/1.281, allocations: 1.912 MB / 0.8294 GB, free: 76.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00872/1.29, allocations: 5.637 MB / 0.8349 GB, free: 74.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.29, allocations: 55.58 kB / 0.8349 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 4.498e-06/1.29, allocations: 2.625 kB / 0.8349 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=162): time 0.02986/1.32, allocations: 12.94 MB / 0.8476 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/1.32, allocations: 228.5 kB / 0.8478 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008173/1.328, allocations: 4.964 MB / 0.8526 GB, free: 66.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004696/1.329, allocations: 48.77 kB / 0.8527 GB, free: 66.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003815/1.333, allocations: 3.867 MB / 0.8565 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.334, allocations: 0.6504 MB / 0.8571 GB, free: 63.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005565/1.334, allocations: 136.5 kB / 0.8572 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003461/1.335, allocations: 0.5822 MB / 0.8578 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/1.337, allocations: 1.927 MB / 0.8597 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/1.342, allocations: 6.209 MB / 0.8657 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/1.346, allocations: 3.452 MB / 0.8691 GB, free: 54.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.019e-05/1.346, allocations: 42.91 kB / 0.8692 GB, free: 54.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01355/1.36, allocations: 8.278 MB / 0.8772 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/1.36, allocations: 68.47 kB / 0.8773 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002384/1.36, allocations: 157 kB / 0.8775 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/1.362, allocations: 0.5956 MB / 0.878 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.366, allocations: 1.501 MB / 0.8795 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/1.371, allocations: 5.71 MB / 0.8851 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/1.377, allocations: 344.3 kB / 0.8854 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.378, allocations: 415.7 kB / 0.8858 GB, free: 45.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 804 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001675/1.379, allocations: 0.6306 MB / 0.8864 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009885/1.38, allocations: 469.9 kB / 0.8869 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/1.385, allocations: 2.405 MB / 0.8892 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/1.385, allocations: 23.95 kB / 0.8892 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.385, allocations: 4 kB / 0.8892 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/1.385, allocations: 11.34 kB / 0.8893 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.401, allocations: 7.216 MB / 0.8963 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.401, allocations: 11.83 kB / 0.8963 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.402, allocations: 256.2 kB / 0.8966 GB, free: 35.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000962/1.403, allocations: 366 kB / 0.8969 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/1.403, allocations: 24 kB / 0.8969 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/1.41, allocations: 5.059 MB / 0.9019 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.41, allocations: 4 kB / 0.9019 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/1.419, allocations: 5.081 MB / 0.9068 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/1.421, allocations: 0.5257 MB / 0.9073 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/1.422, allocations: 32 kB / 0.9074 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003418/1.426, allocations: 68.67 kB / 0.9074 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/1.426, allocations: 98.84 kB / 0.9075 GB, free: 25.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.427, allocations: 47.94 kB / 0.9076 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008237/1.435, allocations: 3.538 MB / 0.911 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.183e-06/1.435, allocations: 0 / 0.911 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009246/1.444, allocations: 1.122 MB / 0.9121 GB, free: 21.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 115 * 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 {(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.00937/1.454, allocations: 6.278 MB / 0.9183 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009944/1.464, allocations: 4.9 MB / 0.923 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.464, allocations: 4 kB / 0.9231 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.466, allocations: 1.4 MB / 0.9244 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/1.471, allocations: 0.5841 MB / 0.925 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/1.503, allocations: 10.46 MB / 0.9352 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008054/1.511, allocations: 3.968 MB / 0.9391 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006727/1.518, allocations: 2.13 MB / 0.9412 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004867/1.523, allocations: 2.39 MB / 0.9435 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/1.523, allocations: 0 / 0.9435 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4048/1.928, allocations: 92.94 MB / 1.034 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/1.928, allocations: 178.2 kB / 1.034 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/6.356, allocations: 0 / 1.034 GB, free: 104.7 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat