Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008721/0.000872, allocations: 86.62 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.989e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.5909, allocations: 106.3 MB / 0.5698 GB, free: 5.066 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.5912, allocations: 75.97 kB / 0.5699 GB, free: 5.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3175/0.9087, allocations: 128.6 MB / 0.6955 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9088, allocations: 0 / 0.6955 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002791/0.9091, allocations: 127.9 kB / 0.6956 GB, free: 12.25 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02018/0.9293, allocations: 6.376 MB / 0.7018 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9293, allocations: 8.031 kB / 0.7019 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3491/1.278, allocations: 7.094 MB / 0.7088 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0243/1.303, allocations: 7.254 MB / 0.7159 GB, free: 99.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009788/1.304, allocations: 220.8 kB / 0.7161 GB, free: 99.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004633/1.308, allocations: 391.5 kB / 0.7164 GB, free: 99.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01957/1.328, allocations: 9.639 MB / 0.7259 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02979/1.358, allocations: 14.16 MB / 0.7397 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/1.358, allocations: 78.84 kB / 0.7398 GB, free: 96.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009796/1.359, allocations: 35.38 kB / 0.7398 GB, free: 96.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/1.361, allocations: 1.577 MB / 0.7413 GB, free: 96.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06503/1.426, allocations: 64.01 MB / 0.8039 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006353/1.432, allocations: 5.926 MB / 0.8096 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00412/1.437, allocations: 4.061 MB / 0.8136 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/1.437, allocations: 0.5603 MB / 0.8142 GB, free: 52.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.437, allocations: 76.31 kB / 0.8142 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=315): time 6.703e-06/1.437, allocations: 0 / 0.8142 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=359): time 0.05137/1.489, allocations: 28.67 MB / 0.8422 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/1.489, allocations: 221.7 kB / 0.8424 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005346/1.494, allocations: 3.917 MB / 0.8463 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000899/1.495, allocations: 29.64 kB / 0.8463 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.497, allocations: 4.474 MB / 0.8507 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.499, allocations: 1.278 MB / 0.8519 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004632/1.499, allocations: 0 / 0.8519 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003581/1.499, allocations: 0.6658 MB / 0.8526 GB, free: 25.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004216/1.504, allocations: 3.51 MB / 0.856 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006967/1.511, allocations: 8.165 MB / 0.864 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/1.518, allocations: 5.282 MB / 0.8691 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.686e-05/1.518, allocations: 48 kB / 0.8692 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1121) (initialization): time 0.02587/1.544, allocations: 12.35 MB / 0.8812 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.544, allocations: 72 kB / 0.8813 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/1.544, allocations: 168 kB / 0.8815 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004113/1.548, allocations: 1.715 MB / 0.8831 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008628/1.557, allocations: 2.023 MB / 0.8851 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/1.572, allocations: 10.89 MB / 0.8957 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007554/1.58, allocations: 357.6 kB / 0.8961 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002556/1.583, allocations: 0.4909 MB / 0.8966 GB, free: 384 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 752 * Number of states: 0 () * Number of discrete variables: 51 (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.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],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 (1049): * Single equations (assignments): 1044 * 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.3387/1.921, allocations: 0.5196 MB / 0.8971 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.019/1.94, allocations: 7.139 MB / 0.904 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002079/1.942, allocations: 465.5 kB / 0.9045 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.96, allocations: 7.191 MB / 0.9115 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-05/1.96, allocations: 38.92 kB / 0.9115 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/1.96, allocations: 14.11 kB / 0.9116 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.3e-05/1.96, allocations: 18.47 kB / 0.9116 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/1.985, allocations: 15.02 MB / 0.9262 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.985, allocations: 8.219 kB / 0.9263 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/1.988, allocations: 0.615 MB / 0.9269 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/1.991, allocations: 1.408 MB / 0.9282 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/1.991, allocations: 20.64 kB / 0.9283 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/2.002, allocations: 9.884 MB / 0.9379 GB, free: 98.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/2.002, allocations: 3.75 kB / 0.9379 GB, free: 98.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/2.019, allocations: 11.88 MB / 0.9495 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/2.022, allocations: 1.05 MB / 0.9505 GB, free: 95.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000946/2.022, allocations: 3.531 kB / 0.9505 GB, free: 95.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/2.025, allocations: 204.5 kB / 0.9507 GB, free: 95.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/2.026, allocations: 207.8 kB / 0.9509 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/2.026, allocations: 91.94 kB / 0.951 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005189/2.031, allocations: 2.622 MB / 0.9536 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.694e-06/2.031, allocations: 0 / 0.9536 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009592/2.041, allocations: 1.409 MB / 0.955 GB, free: 94.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (305): * Single equations (assignments): 300 * 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.0167/2.058, allocations: 12.84 MB / 0.9675 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01525/2.073, allocations: 8.875 MB / 0.9762 GB, free: 86.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.073, allocations: 3.469 kB / 0.9762 GB, free: 86.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005716/2.079, allocations: 3.68 MB / 0.9798 GB, free: 84.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/2.082, allocations: 475.5 kB / 0.9802 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0339/2.116, allocations: 14.83 MB / 0.9947 GB, free: 78.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005935/2.122, allocations: 4.937 MB / 0.9995 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006932/2.129, allocations: 2.736 MB / 1.002 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005508/2.135, allocations: 3.077 MB / 1.005 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/2.135, allocations: 0 / 1.005 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4831/2.618, allocations: 114.1 MB / 1.117 GB, free: 102 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/2.618, allocations: 142.3 kB / 1.117 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.067/7.685, allocations: 0 / 1.117 GB, free: 101.9 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat