Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008613, allocations: 101 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2075/0.2075, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.254e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6144, allocations: 107.3 MB / 0.5996 GB, free: 5.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.6148, allocations: 75.94 kB / 0.5996 GB, free: 4.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.61/1.225, allocations: 119.4 MB / 0.7162 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.028e-06/1.225, allocations: 0.9688 kB / 0.7162 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007122/1.226, allocations: 122.6 kB / 0.7163 GB, free: 104.2 MB / 0.4948 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.0289/1.255, allocations: 5.933 MB / 0.7221 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.255, allocations: 13.7 kB / 0.7221 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02931/1.284, allocations: 7.01 MB / 0.729 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/1.303, allocations: 6.635 MB / 0.7354 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/1.303, allocations: 196 kB / 0.7356 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/1.306, allocations: 371.3 kB / 0.736 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01892/1.325, allocations: 8.419 MB / 0.7442 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03025/1.356, allocations: 12.98 MB / 0.7569 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000312/1.356, allocations: 81.28 kB / 0.757 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001586/1.358, allocations: 40.16 kB / 0.757 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001727/1.359, allocations: 1.361 MB / 0.7583 GB, free: 95.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06473/1.424, allocations: 62.38 MB / 0.8192 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/1.429, allocations: 4.844 MB / 0.824 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/1.433, allocations: 3.248 MB / 0.8271 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/1.433, allocations: 40.8 kB / 0.8272 GB, free: 40.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.433, allocations: 63.58 kB / 0.8272 GB, free: 40.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=218): time 6.171e-06/1.433, allocations: 0 / 0.8272 GB, free: 40.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.05327/1.486, allocations: 26.36 MB / 0.853 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/1.486, allocations: 209.9 kB / 0.8532 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007166/1.494, allocations: 3.964 MB / 0.8571 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009503/1.495, allocations: 33.64 kB / 0.8571 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002531/1.497, allocations: 4.274 MB / 0.8613 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.499, allocations: 0.9732 MB / 0.8622 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004516/1.499, allocations: 0 / 0.8622 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003638/1.499, allocations: 0.6287 MB / 0.8628 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.503, allocations: 3.034 MB / 0.8658 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007935/1.511, allocations: 7.596 MB / 0.8732 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008995/1.52, allocations: 4.731 MB / 0.8778 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/1.52, allocations: 48 kB / 0.8779 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1016) (initialization): time 0.02648/1.547, allocations: 11.07 MB / 0.8887 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/1.547, allocations: 76 kB / 0.8888 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002911/1.547, allocations: 164 kB / 0.8889 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004771/1.552, allocations: 1.668 MB / 0.8905 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008012/1.56, allocations: 1.879 MB / 0.8924 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3877/1.948, allocations: 10.74 MB / 0.9029 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007725/1.956, allocations: 321.5 kB / 0.9032 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002311/1.958, allocations: 477 kB / 0.9036 GB, free: 117.2 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.001906/1.96, allocations: 0.5201 MB / 0.9041 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01301/1.973, allocations: 6.02 MB / 0.91 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/1.975, allocations: 434.5 kB / 0.9104 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.988, allocations: 5.909 MB / 0.9162 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-05/1.988, allocations: 27.94 kB / 0.9162 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/1.989, allocations: 11.16 kB / 0.9162 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/1.989, allocations: 16 kB / 0.9163 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02647/2.015, allocations: 12.59 MB / 0.9286 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/2.015, allocations: 0 / 0.9286 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/2.018, allocations: 0.4929 MB / 0.929 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/2.022, allocations: 1.402 MB / 0.9304 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006593/2.022, allocations: 3.469 kB / 0.9304 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/2.034, allocations: 9.898 MB / 0.9401 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/2.034, allocations: 3.953 kB / 0.9401 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/2.048, allocations: 9.869 MB / 0.9497 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/2.049, allocations: 462.3 kB / 0.9502 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/2.051, allocations: 11.3 kB / 0.9502 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/2.054, allocations: 177.7 kB / 0.9503 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/2.055, allocations: 147.5 kB / 0.9505 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/2.055, allocations: 68.44 kB / 0.9505 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006101/2.061, allocations: 2.657 MB / 0.9531 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.81e-07/2.061, allocations: 3.5 kB / 0.9531 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009659/2.071, allocations: 1.27 MB / 0.9544 GB, free: 107.3 MB / 0.5261 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.01409/2.085, allocations: 10.66 MB / 0.9648 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01222/2.097, allocations: 7.708 MB / 0.9723 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/2.097, allocations: 0 / 0.9723 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004545/2.102, allocations: 3.056 MB / 0.9753 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/2.105, allocations: 0.5106 MB / 0.9758 GB, free: 98.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03313/2.138, allocations: 13.25 MB / 0.9887 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006561/2.145, allocations: 4.56 MB / 0.9932 GB, free: 89.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007168/2.152, allocations: 2.551 MB / 0.9957 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00537/2.157, allocations: 2.77 MB / 0.9984 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/2.157, allocations: 0 / 0.9984 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5284/2.686, allocations: 103.4 MB / 1.099 GB, free: 98.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/2.686, allocations: 143.9 kB / 1.099 GB, free: 98.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.497/8.183, allocations: 1.031 kB / 1.099 GB, free: 98.22 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat