Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.00133/0.00133, allocations: 180.4 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 241 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.0009072, allocations: 90.27 kB / 292.1 MB, free: 10.74 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.3657/0.3657, allocations: 44.21 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 8 kB / 460 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3665, allocations: 61.91 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.523, allocations: 108.3 MB / 0.6154 GB, free: 2.824 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5233, allocations: 79.94 kB / 0.6155 GB, free: 2.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6505/1.174, allocations: 161.7 MB / 0.7734 GB, free: 72.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.174, allocations: 0 / 0.7734 GB, free: 72.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006125/1.175, allocations: 163.9 kB / 0.7736 GB, free: 72.29 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02782/1.202, allocations: 8.684 MB / 0.782 GB, free: 63.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.202, allocations: 8.031 kB / 0.782 GB, free: 63.51 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005863/1.208, allocations: 1.425 MB / 0.7834 GB, free: 62.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03497/1.243, allocations: 9.673 MB / 0.7929 GB, free: 52.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02374/1.267, allocations: 8.978 MB / 0.8017 GB, free: 43.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005606/1.268, allocations: 0.6216 MB / 0.8023 GB, free: 42.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003656/1.271, allocations: 0.8238 MB / 0.8031 GB, free: 41.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04883/1.32, allocations: 20.04 MB / 0.8226 GB, free: 20.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007967/1.321, allocations: 111 kB / 0.8227 GB, free: 20.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004869/1.326, allocations: 391.8 kB / 0.8231 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002758/1.329, allocations: 1.774 MB / 0.8248 GB, free: 17.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03582/1.365, allocations: 16.55 MB / 0.841 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4262/1.791, allocations: 83.34 MB / 0.9224 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01968/1.811, allocations: 8.157 MB / 0.9304 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/1.811, allocations: 67.69 kB / 0.9304 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.811, allocations: 70.64 kB / 0.9305 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 6.141e-06/1.811, allocations: 2.531 kB / 0.9305 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=364): time 0.1204/1.931, allocations: 39.59 MB / 0.9692 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.932, allocations: 271.4 kB / 0.9694 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01853/1.95, allocations: 6.989 MB / 0.9762 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001408/1.952, allocations: 86.08 kB / 0.9763 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005479/1.957, allocations: 5.547 MB / 0.9817 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002493/1.96, allocations: 1.365 MB / 0.9831 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/1.962, allocations: 192.2 kB / 0.9833 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001293/1.963, allocations: 0.7165 MB / 0.984 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008404/1.972, allocations: 4.123 MB / 0.988 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/1.983, allocations: 9.651 MB / 0.9974 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.993, allocations: 6.184 MB / 1.003 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003496/1.994, allocations: 53.88 kB / 1.003 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03702/2.031, allocations: 15.82 MB / 1.019 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003991/2.031, allocations: 88 kB / 1.019 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005804/2.032, allocations: 196.4 kB / 1.019 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006932/2.039, allocations: 2.449 MB / 1.022 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008435/2.047, allocations: 2.278 MB / 1.024 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02573/2.073, allocations: 17.47 MB / 1.041 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/2.084, allocations: 0.5697 MB / 1.041 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002799/2.086, allocations: 0.5783 MB / 1.042 GB, free: 2.168 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1167): * Single equations (assignments): 1161 * 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.01338/2.1, allocations: 3.886 MB / 1.046 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002749/2.103, allocations: 0.6749 MB / 1.046 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/2.123, allocations: 8.779 MB / 1.055 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-05/2.123, allocations: 43.66 kB / 1.055 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-05/2.123, allocations: 12 kB / 1.055 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.713e-05/2.123, allocations: 14.2 kB / 1.055 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04357/2.166, allocations: 19.18 MB / 1.074 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/2.166, allocations: 4 kB / 1.074 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003602/2.17, allocations: 0.6358 MB / 1.074 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005975/2.176, allocations: 2.116 MB / 1.077 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000963/2.177, allocations: 67.92 kB / 1.077 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3587/2.536, allocations: 16.18 MB / 1.092 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/2.536, allocations: 0 / 1.092 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02162/2.557, allocations: 13.9 MB / 1.106 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/2.561, allocations: 0.7464 MB / 1.107 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002654/2.563, allocations: 59.75 kB / 1.107 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005009/2.568, allocations: 274.5 kB / 1.107 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/2.569, allocations: 220.5 kB / 1.107 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003375/2.57, allocations: 89.44 kB / 1.107 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01038/2.58, allocations: 4.993 MB / 1.112 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/2.58, allocations: 0 / 1.112 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01173/2.592, allocations: 1.972 MB / 1.114 GB, free: 127.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 283 * 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.02313/2.615, allocations: 14.77 MB / 1.129 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01825/2.633, allocations: 10.38 MB / 1.139 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/2.633, allocations: 2.938 kB / 1.139 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008556/2.642, allocations: 4.357 MB / 1.143 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007361/2.649, allocations: 0.9173 MB / 1.144 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5258/3.175, allocations: 213.6 MB / 1.352 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009839/3.185, allocations: 5.926 MB / 1.358 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00938/3.195, allocations: 3.258 MB / 1.361 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008602/3.203, allocations: 3.942 MB / 1.365 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.813e-06/3.203, allocations: 0 / 1.365 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5831/3.786, allocations: 159.3 MB / 1.521 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/3.787, allocations: 201.2 kB / 1.521 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/12.24, allocations: 2.953 kB / 1.521 GB, free: 129.2 MB / 0.5886 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat