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/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.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/Complex trunk/package.mo): time 0.001355/0.001354, allocations: 198.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.461/1.461, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008693/0.0008694, allocations: 95.39 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1958/0.1958, allocations: 45.14 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.537e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.5442, allocations: 109.8 MB / 0.6117 GB, free: 8.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5445, allocations: 78.45 kB / 0.6117 GB, free: 8.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3121/0.8567, allocations: 127.3 MB / 0.736 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8567, allocations: 0 / 0.736 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003432/0.8571, allocations: 124 kB / 0.7362 GB, free: 1.379 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02005/0.8771, allocations: 6.382 MB / 0.7424 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.8772, allocations: 12.03 kB / 0.7424 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0288/0.906, allocations: 7.051 MB / 0.7493 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3242/1.23, allocations: 6.303 MB / 0.7554 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/1.231, allocations: 203.2 kB / 0.7556 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/1.234, allocations: 372.4 kB / 0.756 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0184/1.252, allocations: 8.714 MB / 0.7645 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/1.278, allocations: 13.41 MB / 0.7776 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/1.279, allocations: 88.69 kB / 0.7777 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/1.28, allocations: 37.62 kB / 0.7777 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/1.282, allocations: 1.42 MB / 0.7791 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06239/1.344, allocations: 64.67 MB / 0.8423 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005072/1.349, allocations: 4.844 MB / 0.847 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/1.353, allocations: 3.203 MB / 0.8501 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/1.353, allocations: 40.81 kB / 0.8501 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/1.353, allocations: 66.28 kB / 0.8502 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=224): time 5.24e-06/1.353, allocations: 0 / 0.8502 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=268): time 0.04787/1.401, allocations: 26.07 MB / 0.8757 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/1.401, allocations: 234.8 kB / 0.8759 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006697/1.408, allocations: 4.258 MB / 0.8801 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007323/1.408, allocations: 27.11 kB / 0.8801 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.411, allocations: 4.517 MB / 0.8845 GB, free: 47.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.412, allocations: 0.9921 MB / 0.8855 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/1.413, allocations: 0 / 0.8855 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000325/1.413, allocations: 0.6486 MB / 0.8861 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003477/1.416, allocations: 2.986 MB / 0.889 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005941/1.422, allocations: 7.781 MB / 0.8966 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/1.429, allocations: 4.753 MB / 0.9012 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.396e-05/1.429, allocations: 59.89 kB / 0.9013 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1064) (initialization): time 0.02109/1.45, allocations: 11.16 MB / 0.9122 GB, free: 20.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.45, allocations: 83.75 kB / 0.9123 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.45, allocations: 168 kB / 0.9124 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003657/1.454, allocations: 1.69 MB / 0.9141 GB, free: 18.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006551/1.461, allocations: 1.909 MB / 0.916 GB, free: 17.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/1.473, allocations: 10.76 MB / 0.9265 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007119/1.48, allocations: 313.9 kB / 0.9268 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002123/1.482, allocations: 0.492 MB / 0.9273 GB, free: 7.047 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 65 (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.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],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 (992): * Single equations (assignments): 987 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003036/1.485, allocations: 0.543 MB / 0.9278 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01055/1.496, allocations: 5.845 MB / 0.9335 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.497, allocations: 477.3 kB / 0.9339 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/1.508, allocations: 5.781 MB / 0.9396 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-05/1.508, allocations: 31.47 kB / 0.9396 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/1.508, allocations: 8 kB / 0.9396 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.806e-05/1.508, allocations: 14.92 kB / 0.9396 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.535, allocations: 12.45 MB / 0.9518 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/1.535, allocations: 0 / 0.9518 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/1.537, allocations: 464.9 kB / 0.9523 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003827/1.541, allocations: 1.398 MB / 0.9536 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006099/1.542, allocations: 12 kB / 0.9536 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3275/1.869, allocations: 10.05 MB / 0.9634 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.869, allocations: 0.9688 kB / 0.9634 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/1.885, allocations: 9.634 MB / 0.9728 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.887, allocations: 492.4 kB / 0.9733 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/1.887, allocations: 2.562 kB / 0.9733 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.89, allocations: 143.7 kB / 0.9735 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006609/1.89, allocations: 158.3 kB / 0.9736 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.891, allocations: 67.41 kB / 0.9737 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005198/1.896, allocations: 2.861 MB / 0.9765 GB, free: 111 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.91e-07/1.896, allocations: 0 / 0.9765 GB, free: 111 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007559/1.903, allocations: 1.304 MB / 0.9777 GB, free: 111 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 205 * 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.01267/1.916, allocations: 10.47 MB / 0.988 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.928, allocations: 7.62 MB / 0.9954 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.928, allocations: 2.844 kB / 0.9954 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/1.933, allocations: 3.002 MB / 0.9983 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/1.936, allocations: 0.5499 MB / 0.9989 GB, free: 109 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/1.965, allocations: 13.67 MB / 1.012 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004914/1.97, allocations: 4.741 MB / 1.017 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006946/1.977, allocations: 2.642 MB / 1.019 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004416/1.981, allocations: 2.947 MB / 1.022 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.313e-06/1.981, allocations: 0 / 1.022 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/2.132, allocations: 107.2 MB / 1.127 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/2.133, allocations: 147.5 kB / 1.127 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.367/7.5, allocations: 2.672 kB / 1.127 GB, free: 27.06 MB / 0.5417 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