Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques",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.001023/0.001023, allocations: 183.1 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008902/0.0008906, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2194/0.2194, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5634, allocations: 110.2 MB / 0.5865 GB, free: 5.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/0.5638, allocations: 83.52 kB / 0.5866 GB, free: 5.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7095/1.273, allocations: 149.2 MB / 0.7323 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.895e-06/1.273, allocations: 0 / 0.7323 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006128/1.274, allocations: 154.8 kB / 0.7324 GB, free: 96.04 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.03034/1.304, allocations: 7.925 MB / 0.7402 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.304, allocations: 7.406 kB / 0.7402 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007962/1.312, allocations: 1.371 MB / 0.7415 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02992/1.342, allocations: 7.322 MB / 0.7487 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02418/1.367, allocations: 7.929 MB / 0.7564 GB, free: 91.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008916/1.368, allocations: 0.5841 MB / 0.757 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005374/1.373, allocations: 0.7706 MB / 0.7577 GB, free: 91.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05405/1.427, allocations: 19.02 MB / 0.7763 GB, free: 87.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009125/1.428, allocations: 95.95 kB / 0.7764 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005292/1.433, allocations: 373.8 kB / 0.7767 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005152/1.439, allocations: 1.83 MB / 0.7785 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05438/1.493, allocations: 15.6 MB / 0.7938 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.143/1.636, allocations: 81.83 MB / 0.8737 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/1.657, allocations: 8.752 MB / 0.8822 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02393/1.681, allocations: 11.7 MB / 0.8936 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.217e-05/1.681, allocations: 69.19 kB / 0.8937 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=347): time 8.346e-06/1.681, allocations: 0 / 0.8937 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of matching and sorting (n=389): time 0.4662/2.147, allocations: 36.51 MB / 0.9294 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/2.147, allocations: 246.7 kB / 0.9296 GB, free: 99.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/2.158, allocations: 6.578 MB / 0.936 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001196/2.159, allocations: 88.02 kB / 0.9361 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004438/2.164, allocations: 5.288 MB / 0.9413 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002785/2.167, allocations: 1.449 MB / 0.9427 GB, free: 95.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/2.167, allocations: 199.2 kB / 0.9429 GB, free: 95.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006324/2.168, allocations: 0.7263 MB / 0.9436 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006787/2.175, allocations: 4.117 MB / 0.9476 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009291/2.184, allocations: 9.703 MB / 0.9571 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/2.194, allocations: 6.196 MB / 0.9631 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/2.195, allocations: 55.22 kB / 0.9632 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.03229/2.227, allocations: 15.16 MB / 0.978 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005071/2.228, allocations: 93.06 kB / 0.9781 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007045/2.228, allocations: 198.7 kB / 0.9783 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004725/2.233, allocations: 1.725 MB / 0.98 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/2.244, allocations: 2.434 MB / 0.9823 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/2.259, allocations: 11.75 MB / 0.9938 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.271, allocations: 0.568 MB / 0.9944 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003151/2.274, allocations: 0.5753 MB / 0.9949 GB, free: 75.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1228): * Single equations (assignments): 1223 * 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.01251/2.287, allocations: 3.622 MB / 0.9985 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003034/2.29, allocations: 0.6475 MB / 0.9991 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/2.308, allocations: 8.236 MB / 1.007 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-05/2.308, allocations: 42.38 kB / 1.007 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-05/2.308, allocations: 7.812 kB / 1.007 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.907e-05/2.308, allocations: 20.8 kB / 1.007 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04393/2.352, allocations: 18.3 MB / 1.025 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.584e-05/2.352, allocations: 8 kB / 1.025 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004342/2.357, allocations: 0.771 MB / 1.026 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003939/2.361, allocations: 1.427 MB / 1.027 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001217/2.362, allocations: 71.42 kB / 1.027 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/2.375, allocations: 10.93 MB / 1.038 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/2.375, allocations: 12.78 kB / 1.038 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02323/2.398, allocations: 14.52 MB / 1.052 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006116/2.405, allocations: 1.321 MB / 1.053 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003836/2.408, allocations: 72.23 kB / 1.054 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006287/2.415, allocations: 252.8 kB / 1.054 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/2.417, allocations: 247.8 kB / 1.054 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001238/2.418, allocations: 101.4 kB / 1.054 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01276/2.431, allocations: 4.735 MB / 1.059 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.02e-07/2.431, allocations: 0 / 1.059 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01628/2.447, allocations: 1.879 MB / 1.061 GB, free: 24.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * 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.02663/2.474, allocations: 16.26 MB / 1.076 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01911/2.493, allocations: 10.12 MB / 1.086 GB, free: 188 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/2.493, allocations: 4 kB / 1.086 GB, free: 184 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009681/2.503, allocations: 4.03 MB / 1.09 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00679/2.509, allocations: 0.7727 MB / 1.091 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5285/3.038, allocations: 210 MB / 1.296 GB, free: 19.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/3.049, allocations: 5.638 MB / 1.302 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01059/3.059, allocations: 3.337 MB / 1.305 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008057/3.068, allocations: 3.699 MB / 1.309 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.573e-06/3.068, allocations: 0 / 1.309 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.539/3.607, allocations: 147 MB / 1.452 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/3.607, allocations: 204.5 kB / 1.452 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/11.36, allocations: 0 / 1.452 GB, free: 163.6 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat