Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_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.001031/0.001031, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000915/0.0009151, allocations: 82.64 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2184/0.2184, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.669e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.559, allocations: 107 MB / 0.5705 GB, free: 4.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5593, allocations: 77.75 kB / 0.5706 GB, free: 4.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7075/1.267, allocations: 175.5 MB / 0.742 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/1.267, allocations: 0 / 0.742 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004371/1.267, allocations: 178.1 kB / 0.7421 GB, free: 89.81 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.02976/1.297, allocations: 8.801 MB / 0.7507 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.297, allocations: 10.72 kB / 0.7507 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04/1.337, allocations: 9.871 MB / 0.7604 GB, free: 85.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02472/1.362, allocations: 9.855 MB / 0.77 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/1.362, allocations: 303.1 kB / 0.7703 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004289/1.367, allocations: 0.5403 MB / 0.7708 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02415/1.391, allocations: 12.92 MB / 0.7834 GB, free: 84.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04137/1.432, allocations: 19.2 MB / 0.8022 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005751/1.433, allocations: 122.3 kB / 0.8023 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002736/1.436, allocations: 47.34 kB / 0.8024 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/1.438, allocations: 2.091 MB / 0.8044 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09673/1.535, allocations: 87.51 MB / 0.8899 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/1.546, allocations: 7.804 MB / 0.8975 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007035/1.553, allocations: 5.492 MB / 0.9028 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/1.553, allocations: 86.02 kB / 0.9029 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/1.553, allocations: 81.88 kB / 0.903 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 7.144e-06/1.553, allocations: 0 / 0.903 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of matching and sorting (n=477): time 0.3752/1.928, allocations: 41.28 MB / 0.9433 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/1.928, allocations: 290.9 kB / 0.9436 GB, free: 92.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008017/1.937, allocations: 5.527 MB / 0.949 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001218/1.938, allocations: 28.55 kB / 0.949 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003583/1.941, allocations: 6.218 MB / 0.9551 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00219/1.944, allocations: 1.696 MB / 0.9567 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006772/1.944, allocations: 0 / 0.9567 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004627/1.945, allocations: 0.7975 MB / 0.9575 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005568/1.95, allocations: 4.802 MB / 0.9622 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009461/1.96, allocations: 11.1 MB / 0.9731 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.971, allocations: 7.195 MB / 0.9801 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002393/1.971, allocations: 67.41 kB / 0.9801 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1514) (initialization): time 0.03823/2.009, allocations: 16.85 MB / 0.9966 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/2.01, allocations: 103.4 kB / 0.9967 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002923/2.01, allocations: 221.2 kB / 0.9969 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005627/2.015, allocations: 2.494 MB / 0.9993 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/2.026, allocations: 2.781 MB / 1.002 GB, free: 70.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/2.044, allocations: 15.91 MB / 1.018 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/2.055, allocations: 482 kB / 1.018 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003255/2.058, allocations: 0.6694 MB / 1.019 GB, free: 59.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1017 * 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 (1418): * Single equations (assignments): 1412 * 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.003959/2.062, allocations: 0.6842 MB / 1.019 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01528/2.077, allocations: 9.92 MB / 1.029 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002056/2.079, allocations: 0.6364 MB / 1.03 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/2.095, allocations: 10.21 MB / 1.04 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-05/2.095, allocations: 56.06 kB / 1.04 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/2.095, allocations: 17.81 kB / 1.04 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/2.096, allocations: 24.48 kB / 1.04 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03706/2.133, allocations: 21 MB / 1.06 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-05/2.133, allocations: 4 kB / 1.06 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005728/2.138, allocations: 0.885 MB / 1.061 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005261/2.144, allocations: 2.109 MB / 1.063 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/2.145, allocations: 19.66 kB / 1.063 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/2.161, allocations: 14.69 MB / 1.078 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/2.161, allocations: 7.938 kB / 1.078 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02667/2.188, allocations: 17.03 MB / 1.094 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005096/2.193, allocations: 1.441 MB / 1.096 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/2.195, allocations: 8.109 kB / 1.096 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005032/2.2, allocations: 291.4 kB / 1.096 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008941/2.201, allocations: 286.9 kB / 1.096 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003866/2.201, allocations: 128.5 kB / 1.096 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.3653/2.567, allocations: 3.718 MB / 1.1 GB, free: 99.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.22e-07/2.567, allocations: 1.719 kB / 1.1 GB, free: 99.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01819/2.585, allocations: 1.958 MB / 1.102 GB, free: 99.1 MB / 0.5261 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 (408): * Single equations (assignments): 402 * 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.03651/2.621, allocations: 18.37 MB / 1.12 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02257/2.644, allocations: 12.2 MB / 1.132 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/2.644, allocations: 3.969 kB / 1.132 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009049/2.653, allocations: 5.093 MB / 1.137 GB, free: 95.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006093/2.659, allocations: 0.6726 MB / 1.137 GB, free: 95.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06038/2.72, allocations: 20.8 MB / 1.158 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/2.734, allocations: 6.61 MB / 1.164 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01258/2.747, allocations: 3.739 MB / 1.168 GB, free: 90.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009469/2.756, allocations: 4.413 MB / 1.172 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.303e-06/2.756, allocations: 0 / 1.172 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5756/3.332, allocations: 156.7 MB / 1.325 GB, free: 91.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/3.332, allocations: 146.2 kB / 1.325 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/10.5, allocations: 3.516 kB / 1.325 GB, free: 91.64 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat