Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 197.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.325/1.325, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008253, allocations: 101.9 kB / 286.7 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2444/0.2444, allocations: 45.15 MB / 383.8 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.541e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.0954, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4676, allocations: 111.1 MB / 0.6129 GB, free: 7.695 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4679, allocations: 79.08 kB / 0.613 GB, free: 7.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3394/0.8074, allocations: 137.3 MB / 0.747 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8074, allocations: 0 / 0.747 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004795/0.8079, allocations: 140 kB / 0.7472 GB, free: 6.105 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.5706/1.379, allocations: 6.963 MB / 0.754 GB, free: 103.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.379, allocations: 9.094 kB / 0.754 GB, free: 103.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03248/1.411, allocations: 7.194 MB / 0.761 GB, free: 103.2 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/1.43, allocations: 6.652 MB / 0.7675 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/1.431, allocations: 230.4 kB / 0.7677 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003936/1.434, allocations: 424.9 kB / 0.7681 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0198/1.454, allocations: 9.88 MB / 0.7778 GB, free: 102.7 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/1.483, allocations: 15.03 MB / 0.7925 GB, free: 98.88 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003748/1.484, allocations: 89.34 kB / 0.7925 GB, free: 98.87 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/1.485, allocations: 45.97 kB / 0.7926 GB, free: 98.87 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001903/1.487, allocations: 1.628 MB / 0.7942 GB, free: 98.85 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07058/1.558, allocations: 73.04 MB / 0.8655 GB, free: 50.97 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006058/1.564, allocations: 5.998 MB / 0.8714 GB, free: 47.85 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004465/1.568, allocations: 3.807 MB / 0.8751 GB, free: 46.29 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000903/1.569, allocations: 0.7054 MB / 0.8758 GB, free: 45.69 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.569, allocations: 63.66 kB / 0.8758 GB, free: 45.63 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=268): time 5.991e-06/1.569, allocations: 0 / 0.8758 GB, free: 45.63 MB / 0.5262 GB Notification: Performance of matching and sorting (n=312): time 0.06357/1.633, allocations: 29.66 MB / 0.9048 GB, free: 25.91 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/1.633, allocations: 239.7 kB / 0.905 GB, free: 25.62 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008586/1.642, allocations: 4.72 MB / 0.9096 GB, free: 21.51 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008291/1.642, allocations: 28.08 kB / 0.9097 GB, free: 21.48 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003209/1.646, allocations: 4.988 MB / 0.9145 GB, free: 16.96 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002092/1.648, allocations: 1.149 MB / 0.9157 GB, free: 15.93 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/1.649, allocations: 0 / 0.9157 GB, free: 15.93 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0009847/1.65, allocations: 0.6968 MB / 0.9163 GB, free: 15.33 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005841/1.656, allocations: 3.332 MB / 0.9196 GB, free: 12.37 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009024/1.665, allocations: 8.655 MB / 0.928 GB, free: 1.715 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/1.677, allocations: 5.564 MB / 0.9335 GB, free: 13.85 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002188/1.677, allocations: 56 kB / 0.9335 GB, free: 13.8 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02804/1.706, allocations: 12.29 MB / 0.9455 GB, free: 3.285 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002889/1.706, allocations: 88.66 kB / 0.9456 GB, free: 3.199 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004251/1.706, allocations: 188.8 kB / 0.9458 GB, free: 3.016 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/1.711, allocations: 1.722 MB / 0.9475 GB, free: 1.719 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/1.721, allocations: 2.29 MB / 0.9497 GB, free: 0 / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.737, allocations: 10.8 MB / 0.9603 GB, free: 6.367 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.747, allocations: 347 kB / 0.9606 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/1.75, allocations: 0.5377 MB / 0.9611 GB, free: 5.582 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 77 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],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],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[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],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1128): * Single equations (assignments): 1123 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003636/1.753, allocations: 0.6025 MB / 0.9617 GB, free: 4.977 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3324/2.086, allocations: 6.403 MB / 0.968 GB, free: 120.8 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002222/2.088, allocations: 0.5038 MB / 0.9685 GB, free: 120.8 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/2.102, allocations: 6.278 MB / 0.9746 GB, free: 120.6 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-05/2.102, allocations: 33.09 kB / 0.9746 GB, free: 120.6 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.144e-05/2.102, allocations: 8.812 kB / 0.9746 GB, free: 120.6 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.466e-05/2.102, allocations: 16.33 kB / 0.9746 GB, free: 120.6 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/2.133, allocations: 13.93 MB / 0.9882 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.379e-05/2.133, allocations: 6.812 kB / 0.9883 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/2.136, allocations: 0.583 MB / 0.9888 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003369/2.14, allocations: 1.412 MB / 0.9902 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005178/2.14, allocations: 10.91 kB / 0.9902 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/2.151, allocations: 9.889 MB / 0.9999 GB, free: 117.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/2.151, allocations: 7.734 kB / 0.9999 GB, free: 117.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/2.167, allocations: 10.76 MB / 1.01 GB, free: 116.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/2.17, allocations: 0.5344 MB / 1.011 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/2.171, allocations: 10.19 kB / 1.011 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/2.174, allocations: 156 kB / 1.011 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006221/2.175, allocations: 183.8 kB / 1.011 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/2.175, allocations: 84.02 kB / 1.011 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.005693/2.181, allocations: 3.163 MB / 1.014 GB, free: 116 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.9e-07/2.181, allocations: 1.906 kB / 1.014 GB, free: 116 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009054/2.19, allocations: 1.44 MB / 1.016 GB, free: 116 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.016/2.206, allocations: 11.9 MB / 1.027 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01387/2.22, allocations: 8.406 MB / 1.036 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/2.22, allocations: 2.719 kB / 1.036 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.004945/2.225, allocations: 3.227 MB / 1.039 GB, free: 108.3 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/2.229, allocations: 0.5755 MB / 1.039 GB, free: 108.1 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03898/2.268, allocations: 15.21 MB / 1.054 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006615/2.274, allocations: 5.201 MB / 1.059 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.007526/2.282, allocations: 2.986 MB / 1.062 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004757/2.287, allocations: 3.274 MB / 1.065 GB, free: 98.43 MB / 0.5574 GB Notification: Performance of SimCode: time 1.172e-06/2.287, allocations: 0 / 1.065 GB, free: 98.43 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5072/2.794, allocations: 117.7 MB / 1.18 GB, free: 86.46 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/2.794, allocations: 138.7 kB / 1.181 GB, free: 86.28 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/8.339, allocations: 1.547 kB / 1.181 GB, free: 86.28 MB / 0.5574 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat