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/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.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/Complex trunk/package.mo): time 0.001007/0.001007, 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.25/1.25, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008787/0.0008787, allocations: 88.59 kB / 292.1 MB, free: 5.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1739/0.1739, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.751e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 63.24 MB / 0.5115 GB, free: 6.727 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5384, allocations: 108.3 MB / 0.6172 GB, free: 1.848 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5387, allocations: 75.47 kB / 0.6173 GB, free: 1.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.308/0.8467, allocations: 122.4 MB / 0.7368 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.043e-06/0.8468, allocations: 0 / 0.7368 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004353/0.8472, allocations: 120 kB / 0.7369 GB, free: 15.16 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02149/0.8687, allocations: 5.957 MB / 0.7428 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.8688, allocations: 11.97 kB / 0.7428 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004929/0.8737, allocations: 1.059 MB / 0.7438 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02841/0.9022, allocations: 6.969 MB / 0.7506 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3287/1.231, allocations: 6.007 MB / 0.7565 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/1.231, allocations: 452.7 kB / 0.7569 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/1.234, allocations: 0.5946 MB / 0.7575 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03427/1.268, allocations: 14.93 MB / 0.7721 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003012/1.268, allocations: 70.78 kB / 0.7721 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/1.27, allocations: 283.9 kB / 0.7724 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/1.272, allocations: 1.373 MB / 0.7737 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/1.296, allocations: 12.5 MB / 0.786 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06575/1.362, allocations: 60.83 MB / 0.8454 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/1.376, allocations: 6.108 MB / 0.8513 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004134/1.38, allocations: 3.563 MB / 0.8548 GB, free: 65.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0196/1.4, allocations: 12.84 MB / 0.8673 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/1.4, allocations: 62.72 kB / 0.8674 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 7.354e-06/1.4, allocations: 2.969 kB / 0.8674 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270): time 0.06046/1.46, allocations: 23.1 MB / 0.89 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/1.46, allocations: 213.9 kB / 0.8902 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007856/1.468, allocations: 4.39 MB / 0.8945 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006728/1.469, allocations: 65.7 kB / 0.8945 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.472, allocations: 4.039 MB / 0.8985 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.473, allocations: 1.016 MB / 0.8995 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009412/1.474, allocations: 144 kB / 0.8996 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005887/1.475, allocations: 0.6126 MB / 0.9002 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005168/1.48, allocations: 2.952 MB / 0.9031 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007043/1.487, allocations: 7.063 MB / 0.91 GB, free: 23.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006792/1.494, allocations: 4.526 MB / 0.9144 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/1.494, allocations: 44 kB / 0.9144 GB, free: 19.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02194/1.516, allocations: 11.31 MB / 0.9255 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/1.516, allocations: 68.94 kB / 0.9255 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/1.516, allocations: 144 kB / 0.9257 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003864/1.52, allocations: 1.657 MB / 0.9273 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005577/1.526, allocations: 1.659 MB / 0.9289 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.54, allocations: 11.38 MB / 0.94 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006478/1.546, allocations: 429.3 kB / 0.9404 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/1.548, allocations: 431.6 kB / 0.9409 GB, free: 11.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 862 * 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.002632/1.55, allocations: 0.6569 MB / 0.9415 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.552, allocations: 470 kB / 0.9419 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.565, allocations: 6.017 MB / 0.9478 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-05/1.566, allocations: 31.94 kB / 0.9479 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/1.566, allocations: 8 kB / 0.9479 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/1.566, allocations: 11.95 kB / 0.9479 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3332/1.899, allocations: 13.46 MB / 0.961 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/1.899, allocations: 1.891 kB / 0.961 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.901, allocations: 446.3 kB / 0.9614 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004232/1.906, allocations: 1.413 MB / 0.9628 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004544/1.906, allocations: 49.09 kB / 0.9629 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/1.92, allocations: 10.58 MB / 0.9732 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.92, allocations: 5.891 kB / 0.9732 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/1.935, allocations: 9.79 MB / 0.9828 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/1.937, allocations: 0.4973 MB / 0.9832 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/1.938, allocations: 51.14 kB / 0.9833 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.941, allocations: 199.7 kB / 0.9835 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/1.942, allocations: 158.2 kB / 0.9836 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003086/1.942, allocations: 69.67 kB / 0.9837 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006058/1.948, allocations: 3.077 MB / 0.9867 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.51e-07/1.948, allocations: 3.625 kB / 0.9867 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007866/1.956, allocations: 1.419 MB / 0.9881 GB, free: 111.2 MB / 0.5417 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 () * 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.01539/1.972, allocations: 10.64 MB / 0.9985 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.983, allocations: 7.432 MB / 1.006 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.983, allocations: 0 / 1.006 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005692/1.989, allocations: 3.119 MB / 1.009 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004285/1.993, allocations: 0.6057 MB / 1.009 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/2.026, allocations: 13.29 MB / 1.022 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007216/2.033, allocations: 4.488 MB / 1.027 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006677/2.04, allocations: 2.335 MB / 1.029 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004757/2.045, allocations: 2.738 MB / 1.032 GB, free: 97.94 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/2.045, allocations: 0 / 1.032 GB, free: 97.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/2.188, allocations: 109.8 MB / 1.139 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/2.189, allocations: 185.7 kB / 1.139 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.685/6.873, allocations: 3.5 kB / 1.139 GB, free: 10.94 MB / 0.5417 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