Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques",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.001089/0.001094, allocations: 184 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.375/1.375, allocations: 223.2 MB / 241 MB, free: 11.89 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.001043/0.001043, allocations: 97.41 kB / 292.1 MB, free: 10.94 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.4518/0.4518, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8 kB / 460 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3893, allocations: 61.89 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.5485, allocations: 107.1 MB / 0.6142 GB, free: 4.027 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.5488, allocations: 83.94 kB / 0.6143 GB, free: 3.949 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6239/1.173, allocations: 132.8 MB / 0.744 GB, free: 89.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.173, allocations: 0 / 0.744 GB, free: 89.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004272/1.173, allocations: 133.9 kB / 0.7441 GB, free: 89.35 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02421/1.197, allocations: 6.98 MB / 0.7509 GB, free: 85.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.197, allocations: 14.09 kB / 0.7509 GB, free: 85.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004903/1.202, allocations: 1.114 MB / 0.752 GB, free: 85.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03425/1.237, allocations: 9.41 MB / 0.7612 GB, free: 80.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01977/1.256, allocations: 8.156 MB / 0.7692 GB, free: 76.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/1.257, allocations: 489.5 kB / 0.7696 GB, free: 75.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/1.26, allocations: 0.6481 MB / 0.7703 GB, free: 75.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03061/1.29, allocations: 15.27 MB / 0.7852 GB, free: 58.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003088/1.291, allocations: 95.12 kB / 0.7853 GB, free: 58.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/1.293, allocations: 311.9 kB / 0.7856 GB, free: 58.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/1.294, allocations: 1.345 MB / 0.7869 GB, free: 56.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/1.316, allocations: 12.07 MB / 0.7987 GB, free: 44.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07244/1.389, allocations: 67.65 MB / 0.8647 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/1.401, allocations: 5.231 MB / 0.8698 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.402, allocations: 40.89 kB / 0.8699 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/1.402, allocations: 51.7 kB / 0.8699 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 4.939e-06/1.402, allocations: 0 / 0.8699 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.3533/1.755, allocations: 19.78 MB / 0.8892 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/1.755, allocations: 258.1 kB / 0.8895 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009683/1.765, allocations: 5.944 MB / 0.8953 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005031/1.765, allocations: 55.09 kB / 0.8953 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003682/1.769, allocations: 4.701 MB / 0.8999 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.77, allocations: 0.8165 MB / 0.9007 GB, free: 105 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.771, allocations: 159.8 kB / 0.9009 GB, free: 105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003809/1.771, allocations: 0.6295 MB / 0.9015 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/1.774, allocations: 2.463 MB / 0.9039 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/1.78, allocations: 7.401 MB / 0.9111 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006256/1.787, allocations: 4.192 MB / 0.9152 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.787, allocations: 52 kB / 0.9153 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.0154/1.802, allocations: 10.18 MB / 0.9252 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.802, allocations: 78.09 kB / 0.9253 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002857/1.803, allocations: 179 kB / 0.9255 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/1.805, allocations: 0.8268 MB / 0.9263 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005219/1.81, allocations: 1.765 MB / 0.928 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008683/1.819, allocations: 8.623 MB / 0.9364 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006919/1.826, allocations: 416.5 kB / 0.9368 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.827, allocations: 484.8 kB / 0.9373 GB, free: 87.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (945): * Single equations (assignments): 939 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005995/1.833, allocations: 3.056 MB / 0.9403 GB, free: 86.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.834, allocations: 0.5516 MB / 0.9408 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006367/1.84, allocations: 3.424 MB / 0.9441 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/1.84, allocations: 23.03 kB / 0.9442 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/1.841, allocations: 12.8 kB / 0.9442 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/1.841, allocations: 6.328 kB / 0.9442 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.863, allocations: 9.611 MB / 0.9536 GB, free: 80.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.863, allocations: 0 / 0.9536 GB, free: 80.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.864, allocations: 304.4 kB / 0.9539 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/1.865, allocations: 0.527 MB / 0.9544 GB, free: 80.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/1.866, allocations: 40.59 kB / 0.9544 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006646/1.872, allocations: 7.729 MB / 0.962 GB, free: 75.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.872, allocations: 0 / 0.962 GB, free: 75.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00814/1.88, allocations: 6.26 MB / 0.9681 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/1.883, allocations: 0.619 MB / 0.9687 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007092/1.883, allocations: 35.95 kB / 0.9687 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.885, allocations: 114.9 kB / 0.9688 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/1.885, allocations: 118.9 kB / 0.9689 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.886, allocations: 62.94 kB / 0.969 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006802/1.892, allocations: 4.234 MB / 0.9731 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/1.892, allocations: 0 / 0.9731 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008831/1.901, allocations: 1.391 MB / 0.9745 GB, free: 66.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007983/1.909, allocations: 7.103 MB / 0.9814 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009012/1.918, allocations: 6.276 MB / 0.9875 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.918, allocations: 4 kB / 0.9876 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/1.921, allocations: 1.987 MB / 0.9895 GB, free: 53.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/1.925, allocations: 0.7428 MB / 0.9902 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4464/2.372, allocations: 176.6 MB / 1.163 GB, free: 53.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007834/2.38, allocations: 4.789 MB / 1.167 GB, free: 52.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008262/2.388, allocations: 2.515 MB / 1.17 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005844/2.394, allocations: 3.054 MB / 1.173 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of SimCode: time 9.52e-07/2.394, allocations: 6.219 kB / 1.173 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5095/2.903, allocations: 115.3 MB / 1.285 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/2.904, allocations: 201.8 kB / 1.286 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/9.637, allocations: 0 / 1.286 GB, free: 118.2 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat