Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009417/0.0009417, allocations: 198.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009791/0.0009794, allocations: 89.28 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 45.16 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.336e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.5965, allocations: 108.5 MB / 0.6104 GB, free: 10.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.5968, allocations: 74.09 kB / 0.6104 GB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7702/1.367, allocations: 162 MB / 0.7686 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.082e-06/1.367, allocations: 0 / 0.7686 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009283/1.368, allocations: 164.1 kB / 0.7688 GB, free: 99.51 MB / 0.5261 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.03357/1.402, allocations: 8.169 MB / 0.7767 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.402, allocations: 7.562 kB / 0.7767 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03833/1.44, allocations: 9.686 MB / 0.7862 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/1.463, allocations: 8.175 MB / 0.7942 GB, free: 94.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008897/1.464, allocations: 276.7 kB / 0.7945 GB, free: 94.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006174/1.471, allocations: 499.7 kB / 0.7949 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02457/1.495, allocations: 11.27 MB / 0.8059 GB, free: 94.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04551/1.541, allocations: 17.06 MB / 0.8226 GB, free: 90.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000747/1.542, allocations: 105.3 kB / 0.8227 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003805/1.545, allocations: 49 kB / 0.8227 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002564/1.548, allocations: 1.784 MB / 0.8245 GB, free: 90.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0934/1.641, allocations: 79.92 MB / 0.9025 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/1.649, allocations: 6.626 MB / 0.909 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005299/1.654, allocations: 4.639 MB / 0.9135 GB, free: 22.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/1.654, allocations: 55.34 kB / 0.9136 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.654, allocations: 72.59 kB / 0.9136 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.274e-06/1.654, allocations: 3.891 kB / 0.9137 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=365): time 0.07938/1.734, allocations: 35.65 MB / 0.9485 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/1.734, allocations: 278.1 kB / 0.9487 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.747, allocations: 5.08 MB / 0.9537 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.748, allocations: 25.7 kB / 0.9537 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.352/2.1, allocations: 5.59 MB / 0.9592 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002371/2.102, allocations: 1.327 MB / 0.9605 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/2.104, allocations: 0.9688 kB / 0.9605 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00115/2.105, allocations: 0.7239 MB / 0.9612 GB, free: 107 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007817/2.113, allocations: 3.905 MB / 0.965 GB, free: 107 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/2.125, allocations: 9.517 MB / 0.9743 GB, free: 99.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/2.137, allocations: 6.018 MB / 0.9802 GB, free: 99.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004217/2.138, allocations: 61.34 kB / 0.9802 GB, free: 99.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.03039/2.168, allocations: 14.43 MB / 0.9943 GB, free: 99.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002778/2.169, allocations: 90.84 kB / 0.9944 GB, free: 99.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002934/2.169, allocations: 199.2 kB / 0.9946 GB, free: 99.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/2.175, allocations: 2.465 MB / 0.997 GB, free: 99.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008126/2.183, allocations: 2.321 MB / 0.9993 GB, free: 98.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/2.201, allocations: 15.81 MB / 1.015 GB, free: 94.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009142/2.21, allocations: 396 kB / 1.015 GB, free: 94.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002386/2.212, allocations: 0.5788 MB / 1.016 GB, free: 94.8 MB / 0.5417 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.004059/2.217, allocations: 0.6319 MB / 1.016 GB, free: 94.48 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0146/2.231, allocations: 8.26 MB / 1.024 GB, free: 93.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/2.233, allocations: 0.5616 MB / 1.025 GB, free: 93.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/2.247, allocations: 8.333 MB / 1.033 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.1e-05/2.247, allocations: 37.28 kB / 1.033 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.183e-05/2.247, allocations: 13.25 kB / 1.033 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.277e-05/2.247, allocations: 16.17 kB / 1.033 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03964/2.287, allocations: 17.42 MB / 1.05 GB, free: 84.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/2.287, allocations: 3.781 kB / 1.05 GB, free: 84.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003845/2.291, allocations: 0.638 MB / 1.051 GB, free: 84.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005633/2.297, allocations: 2.1 MB / 1.053 GB, free: 83.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009064/2.298, allocations: 13.44 kB / 1.053 GB, free: 83.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/2.315, allocations: 14.73 MB / 1.067 GB, free: 75.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/2.315, allocations: 0 / 1.067 GB, free: 75.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/2.337, allocations: 13.37 MB / 1.08 GB, free: 64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/2.34, allocations: 0.5786 MB / 1.081 GB, free: 63.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002407/2.342, allocations: 7.656 kB / 1.081 GB, free: 63.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004595/2.347, allocations: 221.2 kB / 1.081 GB, free: 63.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00138/2.348, allocations: 216.4 kB / 1.081 GB, free: 63.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000908/2.349, allocations: 88.61 kB / 1.081 GB, free: 63.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01083/2.36, allocations: 3.427 MB / 1.085 GB, free: 60.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/2.36, allocations: 0.875 kB / 1.085 GB, free: 60.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01263/2.373, allocations: 1.705 MB / 1.086 GB, free: 58.41 MB / 0.5417 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.02188/2.394, allocations: 14.21 MB / 1.1 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01777/2.412, allocations: 10.04 MB / 1.11 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/2.412, allocations: 4 kB / 1.11 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006899/2.419, allocations: 4.188 MB / 1.114 GB, free: 33.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/2.424, allocations: 0.7106 MB / 1.115 GB, free: 32.83 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04784/2.472, allocations: 17.99 MB / 1.132 GB, free: 17.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/2.482, allocations: 5.933 MB / 1.138 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009283/2.492, allocations: 3.187 MB / 1.141 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006676/2.498, allocations: 3.909 MB / 1.145 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of SimCode: time 7.91e-07/2.498, allocations: 0 / 1.145 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/3.005, allocations: 139.2 MB / 1.281 GB, free: 63.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/3.005, allocations: 152.9 kB / 1.281 GB, free: 63.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.345/9.35, allocations: 0 / 1.281 GB, free: 63.71 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat