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.001387/0.001387, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009034/0.0009033, allocations: 96.2 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.816e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5416, allocations: 107.2 MB / 0.6091 GB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5418, allocations: 74.41 kB / 0.6092 GB, free: 11.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6705/1.212, allocations: 158.2 MB / 0.7637 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/1.212, allocations: 0.9375 kB / 0.7637 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005456/1.213, allocations: 158.9 kB / 0.7638 GB, free: 101.2 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.0297/1.243, allocations: 7.715 MB / 0.7714 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.243, allocations: 9.625 kB / 0.7714 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04661/1.289, allocations: 11.94 MB / 0.783 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02578/1.315, allocations: 9.08 MB / 0.7919 GB, free: 96.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005807/1.316, allocations: 250.9 kB / 0.7922 GB, free: 96.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005759/1.322, allocations: 465.9 kB / 0.7926 GB, free: 96.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02159/1.343, allocations: 10.12 MB / 0.8025 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/1.379, allocations: 15.44 MB / 0.8176 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006556/1.38, allocations: 106.1 kB / 0.8177 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002999/1.383, allocations: 51.2 kB / 0.8177 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002169/1.385, allocations: 1.566 MB / 0.8192 GB, free: 92.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08249/1.467, allocations: 72.68 MB / 0.8902 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/1.473, allocations: 5.059 MB / 0.8952 GB, free: 39.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/1.476, allocations: 3.384 MB / 0.8985 GB, free: 36.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/1.477, allocations: 0.6459 MB / 0.8991 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.477, allocations: 56.12 kB / 0.8991 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 5.731e-06/1.477, allocations: 0 / 0.8991 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=258): time 0.04911/1.526, allocations: 30.14 MB / 0.9286 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/1.526, allocations: 283.1 kB / 0.9288 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007065/1.533, allocations: 5.157 MB / 0.9339 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005011/1.534, allocations: 29.7 kB / 0.9339 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002971/1.537, allocations: 5.437 MB / 0.9392 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/1.538, allocations: 0.9646 MB / 0.9402 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/1.538, allocations: 4 kB / 0.9402 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005031/1.539, allocations: 0.6743 MB / 0.9408 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/1.543, allocations: 2.684 MB / 0.9434 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009495/1.553, allocations: 8.028 MB / 0.9513 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3162/1.869, allocations: 4.717 MB / 0.9559 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001838/1.869, allocations: 54.91 kB / 0.9559 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.02157/1.891, allocations: 10.33 MB / 0.966 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/1.891, allocations: 87.41 kB / 0.9661 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004302/1.891, allocations: 193.9 kB / 0.9663 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/1.895, allocations: 1.015 MB / 0.9673 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006789/1.902, allocations: 2.007 MB / 0.9693 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009849/1.911, allocations: 10.78 MB / 0.9798 GB, free: 98.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007142/1.919, allocations: 299.3 kB / 0.9801 GB, free: 98.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/1.92, allocations: 0.5283 MB / 0.9806 GB, free: 98.26 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * 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 (1057): * Single equations (assignments): 1050 * 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.001249/1.922, allocations: 0.5905 MB / 0.9812 GB, free: 97.97 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006548/1.928, allocations: 4.453 MB / 0.9855 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009671/1.929, allocations: 0.5438 MB / 0.986 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006675/1.936, allocations: 4.275 MB / 0.9902 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-05/1.936, allocations: 32.78 kB / 0.9902 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/1.936, allocations: 7.562 kB / 0.9903 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.936, allocations: 18.45 kB / 0.9903 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/1.956, allocations: 10.87 MB / 1.001 GB, free: 96.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.956, allocations: 0.8438 kB / 1.001 GB, free: 96.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/1.958, allocations: 410.4 kB / 1.001 GB, free: 96.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/1.96, allocations: 0.6849 MB / 1.002 GB, free: 96.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/1.96, allocations: 9.406 kB / 1.002 GB, free: 96.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008648/1.969, allocations: 9.722 MB / 1.011 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.969, allocations: 0 / 1.011 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009466/1.978, allocations: 7.522 MB / 1.019 GB, free: 90.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/1.98, allocations: 0.5602 MB / 1.019 GB, free: 90.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007662/1.981, allocations: 3.5 kB / 1.019 GB, free: 90.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.983, allocations: 113.1 kB / 1.019 GB, free: 90.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/1.983, allocations: 150.2 kB / 1.02 GB, free: 90.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.984, allocations: 65.41 kB / 1.02 GB, free: 90.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005929/1.989, allocations: 3.502 MB / 1.023 GB, free: 89.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.52e-07/1.989, allocations: 0 / 1.023 GB, free: 89.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009044/1.999, allocations: 1.431 MB / 1.024 GB, free: 89.21 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 (198): * Single equations (assignments): 191 * 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.0107/2.009, allocations: 8.339 MB / 1.033 GB, free: 85.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01038/2.02, allocations: 6.949 MB / 1.039 GB, free: 82.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.02, allocations: 5.078 kB / 1.039 GB, free: 82.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002821/2.023, allocations: 2.445 MB / 1.042 GB, free: 81.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/2.027, allocations: 0.7592 MB / 1.043 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/2.062, allocations: 15.16 MB / 1.057 GB, free: 74.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006879/2.069, allocations: 5.579 MB / 1.063 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006644/2.076, allocations: 2.7 MB / 1.065 GB, free: 68.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004491/2.08, allocations: 3.62 MB / 1.069 GB, free: 65.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/2.08, allocations: 4 kB / 1.069 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4785/2.559, allocations: 120.8 MB / 1.187 GB, free: 95.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/2.559, allocations: 136.5 kB / 1.187 GB, free: 95.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.786/8.345, allocations: 0 / 1.187 GB, free: 95.07 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