Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 195.9 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.306/1.306, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008366/0.0008365, allocations: 82.3 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1887/0.1887, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.998e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 63.26 MB / 0.5115 GB, free: 6.676 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.4923, allocations: 107.8 MB / 0.6168 GB, free: 2.262 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.4927, allocations: 80.16 kB / 0.6168 GB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6576/1.15, allocations: 161.5 MB / 0.7745 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.833e-06/1.15, allocations: 0 / 0.7745 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005314/1.151, allocations: 164.5 kB / 0.7747 GB, free: 104.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02387/1.175, allocations: 7.718 MB / 0.7822 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.175, allocations: 11.5 kB / 0.7822 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005433/1.18, allocations: 1.308 MB / 0.7835 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04255/1.223, allocations: 11.94 MB / 0.7951 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02271/1.246, allocations: 9.091 MB / 0.804 GB, free: 99.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/1.246, allocations: 0.5625 MB / 0.8046 GB, free: 99.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004332/1.251, allocations: 0.7734 MB / 0.8053 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04103/1.292, allocations: 17.97 MB / 0.8229 GB, free: 95.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004156/1.292, allocations: 101 kB / 0.823 GB, free: 95.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002071/1.294, allocations: 365.7 kB / 0.8233 GB, free: 95.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/1.296, allocations: 1.575 MB / 0.8249 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/1.324, allocations: 14.37 MB / 0.8389 GB, free: 91.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0756/1.4, allocations: 75.48 MB / 0.9126 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/1.416, allocations: 7.27 MB / 0.9197 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/1.42, allocations: 3.444 MB / 0.9231 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/1.421, allocations: 0.6544 MB / 0.9237 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.421, allocations: 56.06 kB / 0.9238 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 5.26e-06/1.421, allocations: 0 / 0.9238 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.05732/1.478, allocations: 22.75 MB / 0.946 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/1.478, allocations: 282.8 kB / 0.9462 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/1.492, allocations: 6.456 MB / 0.9526 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005513/1.493, allocations: 69.7 kB / 0.9526 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.2906/1.783, allocations: 5.355 MB / 0.9578 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.785, allocations: 1.001 MB / 0.9588 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000912/1.786, allocations: 170.6 kB / 0.959 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005807/1.786, allocations: 0.6615 MB / 0.9596 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00537/1.792, allocations: 2.8 MB / 0.9624 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008889/1.801, allocations: 8.042 MB / 0.9702 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009423/1.81, allocations: 4.694 MB / 0.9748 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003723/1.81, allocations: 53.78 kB / 0.9749 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02375/1.834, allocations: 11.41 MB / 0.986 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/1.834, allocations: 90.22 kB / 0.9861 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002716/1.835, allocations: 182.5 kB / 0.9863 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/1.837, allocations: 1.033 MB / 0.9873 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006198/1.843, allocations: 1.951 MB / 0.9892 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.854, allocations: 11.23 MB / 1 GB, free: 96.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007036/1.861, allocations: 464.8 kB / 1.001 GB, free: 96.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.862, allocations: 0.5108 MB / 1.001 GB, free: 96.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1030): * Single equations (assignments): 1023 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00178/1.864, allocations: 0.7842 MB / 1.002 GB, free: 96.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.865, allocations: 0.624 MB / 1.002 GB, free: 96.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006881/1.872, allocations: 4.476 MB / 1.007 GB, free: 95.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/1.872, allocations: 30.92 kB / 1.007 GB, free: 95.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.872, allocations: 6.719 kB / 1.007 GB, free: 95.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/1.872, allocations: 13.11 kB / 1.007 GB, free: 95.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.893, allocations: 12.27 MB / 1.019 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.893, allocations: 0 / 1.019 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.895, allocations: 407.8 kB / 1.019 GB, free: 93.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/1.897, allocations: 0.6929 MB / 1.02 GB, free: 93.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/1.897, allocations: 41.62 kB / 1.02 GB, free: 93.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008453/1.905, allocations: 10.11 MB / 1.03 GB, free: 86.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.905, allocations: 9.516 kB / 1.03 GB, free: 86.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.915, allocations: 7.751 MB / 1.037 GB, free: 82.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/1.918, allocations: 0.6799 MB / 1.038 GB, free: 82.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.919, allocations: 39.58 kB / 1.038 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.922, allocations: 145.1 kB / 1.038 GB, free: 82.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/1.922, allocations: 151.5 kB / 1.038 GB, free: 82.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.922, allocations: 69.14 kB / 1.038 GB, free: 82.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009227/1.931, allocations: 4.591 MB / 1.043 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.054e-06/1.931, allocations: 3.844 kB / 1.043 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01063/1.942, allocations: 1.648 MB / 1.045 GB, free: 80.62 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.01119/1.953, allocations: 8.597 MB / 1.053 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.965, allocations: 7.329 MB / 1.06 GB, free: 73.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.965, allocations: 4 kB / 1.06 GB, free: 73.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003213/1.968, allocations: 2.524 MB / 1.063 GB, free: 72.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005088/1.973, allocations: 0.9132 MB / 1.063 GB, free: 72.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/2.011, allocations: 15.55 MB / 1.079 GB, free: 60.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008643/2.02, allocations: 5.578 MB / 1.084 GB, free: 55.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007714/2.027, allocations: 2.724 MB / 1.087 GB, free: 54.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005445/2.033, allocations: 3.624 MB / 1.09 GB, free: 50.85 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/2.033, allocations: 4 kB / 1.09 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4989/2.532, allocations: 135.3 MB / 1.222 GB, free: 97.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/2.532, allocations: 171.3 kB / 1.223 GB, free: 96.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.852/8.384, allocations: 0.7656 kB / 1.223 GB, free: 96.81 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat