Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, 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.437/1.437, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009074/0.0009074, allocations: 96.56 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.556e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5512, allocations: 108.2 MB / 0.6101 GB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.5514, allocations: 78.83 kB / 0.6102 GB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.309/0.8605, allocations: 121.7 MB / 0.729 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8605, allocations: 0 / 0.729 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004947/0.861, allocations: 124 kB / 0.7291 GB, free: 8.562 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02213/0.8832, allocations: 6.017 MB / 0.735 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.8832, allocations: 12.03 kB / 0.735 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02988/0.9131, allocations: 7.004 MB / 0.7419 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/0.9305, allocations: 6.009 MB / 0.7477 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.931, allocations: 196 kB / 0.7479 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002989/0.934, allocations: 363.9 kB / 0.7483 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3334/1.267, allocations: 8.416 MB / 0.7565 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03032/1.298, allocations: 12.98 MB / 0.7692 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004451/1.298, allocations: 82.55 kB / 0.7692 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001912/1.3, allocations: 39.75 kB / 0.7693 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002511/1.303, allocations: 1.356 MB / 0.7706 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06528/1.368, allocations: 62.39 MB / 0.8315 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/1.373, allocations: 4.85 MB / 0.8363 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/1.376, allocations: 3.25 MB / 0.8394 GB, free: 69.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/1.377, allocations: 38.14 kB / 0.8395 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/1.377, allocations: 63.81 kB / 0.8395 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=218): time 5.049e-06/1.377, allocations: 3.75 kB / 0.8395 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.05247/1.429, allocations: 26.36 MB / 0.8653 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/1.429, allocations: 209.2 kB / 0.8655 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007578/1.437, allocations: 3.967 MB / 0.8694 GB, free: 58.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008809/1.438, allocations: 25.7 kB / 0.8694 GB, free: 58.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00246/1.44, allocations: 4.29 MB / 0.8736 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/1.442, allocations: 0.9656 MB / 0.8745 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004884/1.442, allocations: 0 / 0.8745 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003412/1.443, allocations: 0.635 MB / 0.8751 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003659/1.446, allocations: 3.03 MB / 0.8781 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005508/1.452, allocations: 7.593 MB / 0.8855 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00601/1.458, allocations: 4.728 MB / 0.8901 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.458, allocations: 48 kB / 0.8902 GB, free: 42.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1016) (initialization): time 0.0201/1.478, allocations: 11.08 MB / 0.901 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/1.478, allocations: 80.22 kB / 0.9011 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002831/1.479, allocations: 164 kB / 0.9012 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003732/1.482, allocations: 1.673 MB / 0.9029 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006413/1.489, allocations: 1.874 MB / 0.9047 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/1.501, allocations: 10.74 MB / 0.9152 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006705/1.508, allocations: 330 kB / 0.9155 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.509, allocations: 484.8 kB / 0.9159 GB, free: 19.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * Number of states: 0 () * Number of discrete variables: 62 (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 (944): * Single equations (assignments): 939 * 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.002421/1.512, allocations: 0.5196 MB / 0.9165 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01157/1.523, allocations: 6.023 MB / 0.9223 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.525, allocations: 434.4 kB / 0.9228 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.535, allocations: 5.915 MB / 0.9285 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.276e-05/1.535, allocations: 28 kB / 0.9286 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-05/1.536, allocations: 8 kB / 0.9286 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/1.536, allocations: 19.25 kB / 0.9286 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.562, allocations: 12.66 MB / 0.9409 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/1.562, allocations: 11.89 kB / 0.941 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/1.565, allocations: 496.9 kB / 0.9414 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003771/1.569, allocations: 1.407 MB / 0.9428 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004724/1.569, allocations: 4 kB / 0.9428 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.582, allocations: 9.894 MB / 0.9525 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.582, allocations: 4 kB / 0.9525 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3468/1.929, allocations: 9.865 MB / 0.9621 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.931, allocations: 465.4 kB / 0.9626 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.932, allocations: 5.891 kB / 0.9626 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.935, allocations: 180.9 kB / 0.9627 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005637/1.935, allocations: 157.1 kB / 0.9629 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/1.935, allocations: 67.59 kB / 0.9629 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005826/1.941, allocations: 2.653 MB / 0.9655 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/1.941, allocations: 0 / 0.9655 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008185/1.949, allocations: 1.279 MB / 0.9668 GB, free: 115.9 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 (204): * Single equations (assignments): 199 * 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.0169/1.966, allocations: 10.65 MB / 0.9772 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.978, allocations: 7.697 MB / 0.9847 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.979, allocations: 0 / 0.9847 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004875/1.983, allocations: 3.066 MB / 0.9877 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.987, allocations: 0.5136 MB / 0.9882 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03188/2.019, allocations: 13.25 MB / 1.001 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008661/2.028, allocations: 4.548 MB / 1.006 GB, free: 111 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007767/2.035, allocations: 2.553 MB / 1.008 GB, free: 111 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004561/2.04, allocations: 2.779 MB / 1.011 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.443e-06/2.04, allocations: 0 / 1.011 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/2.196, allocations: 103.4 MB / 1.112 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.196, allocations: 148.7 kB / 1.112 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.058/7.254, allocations: 0 / 1.112 GB, free: 43.65 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat