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.0019/0.0019, allocations: 174.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.453/1.453, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0008888/0.0008889, allocations: 91.14 kB / 281.6 MB, free: 5.336 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.2005/0.2005, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.195e-05, allocations: 8.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5876, allocations: 107.5 MB / 0.5998 GB, free: 4.789 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5879, allocations: 83.94 kB / 0.5999 GB, free: 4.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7576/1.345, allocations: 158.1 MB / 0.7543 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/1.346, allocations: 0 / 0.7543 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006698/1.346, allocations: 160.1 kB / 0.7545 GB, free: 102.3 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02878/1.375, allocations: 8.039 MB / 0.7623 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.375, allocations: 14.08 kB / 0.7623 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03814/1.413, allocations: 9.683 MB / 0.7718 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02346/1.437, allocations: 8.947 MB / 0.7805 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003975/1.437, allocations: 267.6 kB / 0.7808 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003616/1.441, allocations: 494.3 kB / 0.7812 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01969/1.46, allocations: 11.27 MB / 0.7922 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03858/1.499, allocations: 17.07 MB / 0.8089 GB, free: 65.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006308/1.5, allocations: 111 kB / 0.809 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003824/1.504, allocations: 48 kB / 0.8091 GB, free: 65.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002967/1.507, allocations: 1.773 MB / 0.8108 GB, free: 64.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09321/1.6, allocations: 79.93 MB / 0.8888 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008946/1.609, allocations: 6.642 MB / 0.8953 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006464/1.615, allocations: 4.637 MB / 0.8999 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/1.616, allocations: 62.64 kB / 0.8999 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/1.616, allocations: 72.59 kB / 0.9 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.124e-06/1.616, allocations: 0 / 0.9 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of matching and sorting (n=365): time 0.4402/2.056, allocations: 35.63 MB / 0.9348 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/2.056, allocations: 271.3 kB / 0.935 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007866/2.064, allocations: 5.083 MB / 0.94 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00117/2.065, allocations: 27.67 kB / 0.94 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003474/2.069, allocations: 5.591 MB / 0.9455 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001928/2.071, allocations: 1.326 MB / 0.9468 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/2.071, allocations: 0 / 0.9468 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004419/2.072, allocations: 0.7264 MB / 0.9475 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004897/2.077, allocations: 3.905 MB / 0.9513 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007426/2.084, allocations: 9.51 MB / 0.9606 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008728/2.093, allocations: 6.019 MB / 0.9665 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002295/2.093, allocations: 56.78 kB / 0.9665 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.03026/2.123, allocations: 14.44 MB / 0.9806 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/2.124, allocations: 95.38 kB / 0.9807 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/2.124, allocations: 201.2 kB / 0.9809 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00581/2.13, allocations: 2.453 MB / 0.9833 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008316/2.138, allocations: 2.324 MB / 0.9856 GB, free: 95.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/2.156, allocations: 15.82 MB / 1.001 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.167, allocations: 396.3 kB / 1.001 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003058/2.17, allocations: 0.5779 MB / 1.002 GB, free: 83.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 909 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1192): * Single equations (assignments): 1186 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002455/2.172, allocations: 0.6345 MB / 1.003 GB, free: 83.06 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01292/2.185, allocations: 8.257 MB / 1.011 GB, free: 76.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/2.187, allocations: 0.5593 MB / 1.011 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/2.2, allocations: 8.33 MB / 1.019 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/2.2, allocations: 40 kB / 1.019 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/2.2, allocations: 12 kB / 1.019 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.008e-05/2.2, allocations: 19.64 kB / 1.019 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03237/2.233, allocations: 17.42 MB / 1.036 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/2.233, allocations: 4 kB / 1.036 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/2.236, allocations: 0.637 MB / 1.037 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004995/2.241, allocations: 2.107 MB / 1.039 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008044/2.242, allocations: 12 kB / 1.039 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/2.259, allocations: 14.72 MB / 1.053 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/2.259, allocations: 0 / 1.053 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/2.278, allocations: 13.37 MB / 1.067 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/2.28, allocations: 0.5766 MB / 1.067 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/2.281, allocations: 8 kB / 1.067 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/2.284, allocations: 223.6 kB / 1.067 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005947/2.285, allocations: 207 kB / 1.068 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/2.285, allocations: 96 kB / 1.068 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005679/2.291, allocations: 3.414 MB / 1.071 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/2.291, allocations: 0 / 1.071 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0104/2.301, allocations: 1.707 MB / 1.073 GB, free: 21.07 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 284 * 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.01997/2.321, allocations: 14.23 MB / 1.087 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01615/2.338, allocations: 10.04 MB / 1.096 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.338, allocations: 4 kB / 1.096 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007148/2.345, allocations: 4.184 MB / 1.1 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/2.35, allocations: 0.7043 MB / 1.101 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3692/2.719, allocations: 17.99 MB / 1.119 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009434/2.728, allocations: 5.941 MB / 1.124 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009228/2.738, allocations: 3.179 MB / 1.128 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007092/2.745, allocations: 3.911 MB / 1.131 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/2.745, allocations: 0 / 1.131 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2092/2.954, allocations: 139.3 MB / 1.267 GB, free: 31.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/2.954, allocations: 149.1 kB / 1.268 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/9.491, allocations: 0 / 1.268 GB, free: 31.43 MB / 0.5417 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