Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2",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.001325/0.001325, allocations: 170.4 kB / 8.74 MB, free: 348 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.398/1.398, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0009443/0.0009442, allocations: 98.48 kB / 281.6 MB, free: 5.344 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.2018/0.2018, allocations: 44.15 MB / 376.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.437e-05, allocations: 4.219 kB / 444.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 61.92 MB / 0.4948 GB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.5959, allocations: 106.4 MB / 0.5986 GB, free: 5.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5962, allocations: 79.95 kB / 0.5987 GB, free: 5.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7013/1.298, allocations: 129.7 MB / 0.7253 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.315e-06/1.298, allocations: 0 / 0.7253 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005983/1.298, allocations: 138.6 kB / 0.7255 GB, free: 103.6 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02481/1.323, allocations: 6.34 MB / 0.7317 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.323, allocations: 15.7 kB / 0.7317 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03743/1.361, allocations: 9.418 MB / 0.7409 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02168/1.382, allocations: 8.092 MB / 0.7488 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/1.383, allocations: 213.2 kB / 0.749 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003102/1.386, allocations: 394.1 kB / 0.7494 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01705/1.403, allocations: 8.391 MB / 0.7576 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/1.431, allocations: 13.25 MB / 0.7705 GB, free: 92.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005593/1.432, allocations: 92.75 kB / 0.7706 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003196/1.435, allocations: 45.38 kB / 0.7706 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/1.437, allocations: 1.336 MB / 0.7719 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06331/1.5, allocations: 64.85 MB / 0.8353 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/1.505, allocations: 4.047 MB / 0.8392 GB, free: 32.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/1.507, allocations: 2.57 MB / 0.8417 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.913e-05/1.507, allocations: 36.27 kB / 0.8418 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/1.507, allocations: 59.41 kB / 0.8418 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 4.208e-06/1.507, allocations: 0 / 0.8418 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=209): time 0.04232/1.55, allocations: 21.69 MB / 0.863 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/1.55, allocations: 261 kB / 0.8632 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008049/1.558, allocations: 4.628 MB / 0.8678 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005215/1.558, allocations: 29.7 kB / 0.8678 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003476/1.562, allocations: 4.734 MB / 0.8724 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/1.563, allocations: 0.8139 MB / 0.8732 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/1.564, allocations: 0 / 0.8732 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005762/1.564, allocations: 0.6409 MB / 0.8738 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/1.568, allocations: 2.284 MB / 0.8761 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008639/1.577, allocations: 7.321 MB / 0.8832 GB, free: 340 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007327/1.584, allocations: 4.07 MB / 0.8872 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/1.584, allocations: 52 kB / 0.8872 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1040) (initialization): time 0.02111/1.606, allocations: 9.008 MB / 0.896 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.606, allocations: 81.56 kB / 0.8961 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/1.606, allocations: 180 kB / 0.8963 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/1.608, allocations: 0.7842 MB / 0.8971 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006191/1.614, allocations: 1.801 MB / 0.8988 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3231/1.937, allocations: 7.961 MB / 0.9066 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/1.944, allocations: 261.9 kB / 0.9068 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001935/1.946, allocations: 0.4903 MB / 0.9073 GB, free: 112.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.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],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 (977): * Single equations (assignments): 971 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002284/1.948, allocations: 0.5633 MB / 0.9079 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0067/1.955, allocations: 3.432 MB / 0.9112 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.956, allocations: 482.4 kB / 0.9117 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007442/1.964, allocations: 3.146 MB / 0.9147 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/1.964, allocations: 28.86 kB / 0.9148 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/1.964, allocations: 11.98 kB / 0.9148 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/1.964, allocations: 10.66 kB / 0.9148 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02616/1.99, allocations: 8.384 MB / 0.923 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/1.99, allocations: 0 / 0.923 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/1.992, allocations: 296.9 kB / 0.9233 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/1.993, allocations: 496.6 kB / 0.9237 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/1.993, allocations: 13.88 kB / 0.9238 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/2.001, allocations: 7.092 MB / 0.9307 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/2.001, allocations: 0 / 0.9307 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008267/2.009, allocations: 5.933 MB / 0.9365 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/2.011, allocations: 0.5003 MB / 0.937 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/2.012, allocations: 3.25 kB / 0.937 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/2.013, allocations: 75.45 kB / 0.937 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/2.014, allocations: 125 kB / 0.9372 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/2.014, allocations: 49.81 kB / 0.9372 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004681/2.018, allocations: 3.133 MB / 0.9403 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/2.018, allocations: 0 / 0.9403 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007252/2.026, allocations: 1.201 MB / 0.9414 GB, free: 105.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (161): * Single equations (assignments): 155 * 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 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00705/2.033, allocations: 6.753 MB / 0.948 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008092/2.041, allocations: 5.815 MB / 0.9537 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/2.041, allocations: 3.281 kB / 0.9537 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002227/2.043, allocations: 1.866 MB / 0.9555 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/2.047, allocations: 0.6112 MB / 0.9561 GB, free: 99.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03572/2.083, allocations: 12.63 MB / 0.9685 GB, free: 95.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007623/2.091, allocations: 4.779 MB / 0.9731 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006593/2.097, allocations: 2.503 MB / 0.9756 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004524/2.102, allocations: 3.007 MB / 0.9785 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/2.102, allocations: 0 / 0.9785 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/2.263, allocations: 101.4 MB / 1.078 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/2.264, allocations: 134.8 kB / 1.078 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.691/7.955, allocations: 0 / 1.078 GB, free: 10.5 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat