Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.001582/0.001582, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00111/0.00111, allocations: 82.66 kB / 267.5 MB, free: 14.12 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.2843/0.2843, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.876e-05, allocations: 7.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5346/0.6598, allocations: 107.6 MB / 0.578 GB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.6602, allocations: 83.92 kB / 0.5781 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117/1.778, allocations: 179.7 MB / 0.7536 GB, free: 90.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.933e-06/1.778, allocations: 2.438 kB / 0.7536 GB, free: 90.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005967/1.778, allocations: 176.6 kB / 0.7537 GB, free: 90.86 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03886/1.817, allocations: 8.806 MB / 0.7623 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/1.817, allocations: 15.19 kB / 0.7623 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007986/1.825, allocations: 1.62 MB / 0.7639 GB, free: 87.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07527/1.901, allocations: 9.871 MB / 0.7736 GB, free: 86.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03647/1.937, allocations: 9.858 MB / 0.7832 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009851/1.938, allocations: 0.6922 MB / 0.7839 GB, free: 85.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005658/1.944, allocations: 0.924 MB / 0.7848 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07361/2.017, allocations: 22.17 MB / 0.8064 GB, free: 77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007357/2.018, allocations: 113.1 kB / 0.8065 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004868/2.023, allocations: 441.8 kB / 0.8069 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004713/2.028, allocations: 2.083 MB / 0.809 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07475/2.103, allocations: 18.41 MB / 0.827 GB, free: 60.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.645/2.748, allocations: 91.58 MB / 0.9164 GB, free: 39.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05713/2.805, allocations: 9.338 MB / 0.9255 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0159/2.821, allocations: 5.615 MB / 0.931 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007981/2.822, allocations: 87.47 kB / 0.9311 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/2.822, allocations: 81.53 kB / 0.9312 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 1.442e-05/2.822, allocations: 2.484 kB / 0.9312 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.2006/3.023, allocations: 38.55 MB / 0.9688 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/3.023, allocations: 288 kB / 0.9691 GB, free: 32.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0205/3.043, allocations: 7.33 MB / 0.9762 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001453/3.045, allocations: 103.2 kB / 0.9763 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005737/3.051, allocations: 5.788 MB / 0.982 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003316/3.054, allocations: 1.742 MB / 0.9837 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002416/3.056, allocations: 224 kB / 0.9839 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001167/3.058, allocations: 0.7868 MB / 0.9847 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01359/3.071, allocations: 4.932 MB / 0.9895 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01853/3.09, allocations: 10.99 MB / 1 GB, free: 16.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01788/3.108, allocations: 7.295 MB / 1.007 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002868/3.108, allocations: 62.88 kB / 1.007 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.05217/3.16, allocations: 17.75 MB / 1.025 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/3.161, allocations: 99.84 kB / 1.025 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003416/3.161, allocations: 212 kB / 1.025 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/3.172, allocations: 2.473 MB / 1.027 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01917/3.191, allocations: 2.681 MB / 1.03 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03708/3.228, allocations: 16.93 MB / 1.047 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/3.244, allocations: 0.6789 MB / 1.047 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003415/3.247, allocations: 0.6386 MB / 1.048 GB, free: 3.934 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 966 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1365): * Single equations (assignments): 1359 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005352/3.253, allocations: 0.9546 MB / 1.049 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002682/3.255, allocations: 0.7482 MB / 1.05 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0437/3.299, allocations: 11.01 MB / 1.06 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001076/3.299, allocations: 48 kB / 1.06 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.673e-05/3.299, allocations: 19.23 kB / 1.06 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001434/3.299, allocations: 21.8 kB / 1.06 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08092/3.38, allocations: 22.87 MB / 1.083 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.308e-05/3.38, allocations: 7.938 kB / 1.083 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009937/3.39, allocations: 0.8771 MB / 1.084 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/3.401, allocations: 2.124 MB / 1.086 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001496/3.403, allocations: 87.66 kB / 1.086 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03756/3.44, allocations: 15.7 MB / 1.101 GB, free: 6.094 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/3.44, allocations: 10.56 kB / 1.101 GB, free: 6.086 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05107/3.491, allocations: 17.59 MB / 1.118 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007608/3.499, allocations: 1.608 MB / 1.12 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003537/3.503, allocations: 87.98 kB / 1.12 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009366/3.512, allocations: 359.3 kB / 1.12 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002084/3.514, allocations: 290.8 kB / 1.121 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001431/3.516, allocations: 120 kB / 1.121 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.4279/3.944, allocations: 5.211 MB / 1.126 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.52e-07/3.944, allocations: 0 / 1.126 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01644/3.96, allocations: 2.268 MB / 1.128 GB, free: 158.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.05073/4.011, allocations: 18.89 MB / 1.146 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02957/4.04, allocations: 12.35 MB / 1.158 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/4.041, allocations: 0 / 1.158 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01475/4.055, allocations: 5.264 MB / 1.164 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009271/4.065, allocations: 0.9408 MB / 1.165 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0744/4.139, allocations: 22.47 MB / 1.186 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01695/4.156, allocations: 6.602 MB / 1.193 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01311/4.169, allocations: 4.545 MB / 1.197 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.483e-06/4.169, allocations: 0 / 1.197 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.055/11.22, allocations: 292.8 MB / 1.483 GB, free: 73.44 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat