Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 95.55 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 203.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 45.9 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 4 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 63.47 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3973/0.5398, allocations: 105.6 MB / 0.5734 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0613/0.6012, allocations: 23.38 MB / 0.5962 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02692/0.6281, allocations: 0.5222 MB / 0.5967 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02184/0.65, allocations: 5.385 MB / 0.602 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05296/0.7031, allocations: 15.05 MB / 0.6166 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008638/0.7117, allocations: 1.217 MB / 0.6178 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.472/1.184, allocations: 95.84 MB / 0.7114 GB, free: 93.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02027/1.204, allocations: 9.399 MB / 0.7206 GB, free: 92.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/1.209, allocations: 1.971 MB / 0.7225 GB, free: 92.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/1.214, allocations: 2.635 MB / 0.7251 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/1.216, allocations: 267.1 kB / 0.7254 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/1.22, allocations: 1.122 MB / 0.7265 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004173/1.224, allocations: 3.155 MB / 0.7295 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002897/1.227, allocations: 1.558 MB / 0.7311 GB, free: 92.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01323/1.24, allocations: 10.65 MB / 0.7415 GB, free: 89.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.24, allocations: 0 / 0.7415 GB, free: 89.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.944e-06/1.24, allocations: 3.406 kB / 0.7415 GB, free: 89.22 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006406/1.241, allocations: 0 / 0.7415 GB, free: 89.22 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02535/1.266, allocations: 8.227 MB / 0.7495 GB, free: 84.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.266, allocations: 10.19 kB / 0.7495 GB, free: 84.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005668/1.272, allocations: 1.241 MB / 0.7507 GB, free: 84.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07665/1.349, allocations: 14.15 MB / 0.7645 GB, free: 72.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/1.367, allocations: 6.256 MB / 0.7706 GB, free: 67.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/1.367, allocations: 464.5 kB / 0.7711 GB, free: 67.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003227/1.371, allocations: 0.5992 MB / 0.7717 GB, free: 67.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04176/1.412, allocations: 17.78 MB / 0.789 GB, free: 53.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006059/1.413, allocations: 89.36 kB / 0.7891 GB, free: 53.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003161/1.416, allocations: 281 kB / 0.7894 GB, free: 53.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006534/1.423, allocations: 3.14 MB / 0.7925 GB, free: 50.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03229/1.455, allocations: 14.65 MB / 0.8068 GB, free: 40.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0895/1.545, allocations: 65.67 MB / 0.8709 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/1.563, allocations: 6.453 MB / 0.8772 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007966/1.564, allocations: 0.6522 MB / 0.8778 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/1.564, allocations: 63.27 kB / 0.8779 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=239): time 5.31e-06/1.564, allocations: 0 / 0.8779 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=263): time 0.08546/1.65, allocations: 28.19 MB / 0.9054 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/1.65, allocations: 290.4 kB / 0.9057 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/1.665, allocations: 7.844 MB / 0.9134 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008671/1.666, allocations: 66.67 kB / 0.9134 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005208/1.671, allocations: 5.33 MB / 0.9186 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001896/1.673, allocations: 1.02 MB / 0.9196 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007648/1.674, allocations: 168 kB / 0.9198 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0005387/1.675, allocations: 0.6656 MB / 0.9204 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005316/1.68, allocations: 3.019 MB / 0.9234 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.691, allocations: 8.205 MB / 0.9314 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3054/1.997, allocations: 4.857 MB / 0.9362 GB, free: 236.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002041/1.997, allocations: 52.28 kB / 0.9362 GB, free: 236.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1108) (initialization): time 0.02814/2.025, allocations: 11.96 MB / 0.9479 GB, free: 234.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/2.025, allocations: 84.12 kB / 0.948 GB, free: 234.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003126/2.026, allocations: 183.4 kB / 0.9481 GB, free: 234.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/2.029, allocations: 1.288 MB / 0.9494 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01126/2.04, allocations: 1.989 MB / 0.9513 GB, free: 233.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/2.062, allocations: 12.68 MB / 0.9637 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01478/2.077, allocations: 472.6 kB / 0.9642 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002799/2.08, allocations: 0.5063 MB / 0.9647 GB, free: 225.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 837 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (1032): * Single equations (assignments): 1025 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01327/2.093, allocations: 3.52 MB / 0.9681 GB, free: 223.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002241/2.095, allocations: 0.6282 MB / 0.9687 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/2.11, allocations: 5.046 MB / 0.9736 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/2.11, allocations: 29.92 kB / 0.9737 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.147e-05/2.11, allocations: 11.53 kB / 0.9737 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/2.11, allocations: 12.28 kB / 0.9737 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02921/2.139, allocations: 13.24 MB / 0.9866 GB, free: 216.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/2.139, allocations: 7.891 kB / 0.9866 GB, free: 216.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/2.142, allocations: 459 kB / 0.9871 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/2.144, allocations: 0.9524 MB / 0.988 GB, free: 215.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/2.145, allocations: 44 kB / 0.988 GB, free: 215.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/2.155, allocations: 11.57 MB / 0.9993 GB, free: 204.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.155, allocations: 4.031 kB / 0.9993 GB, free: 204.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/2.166, allocations: 8.611 MB / 1.008 GB, free: 196.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00271/2.169, allocations: 0.7057 MB / 1.008 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/2.171, allocations: 51.94 kB / 1.008 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/2.174, allocations: 162.9 kB / 1.009 GB, free: 196 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004538/2.174, allocations: 153.7 kB / 1.009 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/2.174, allocations: 65.09 kB / 1.009 GB, free: 195.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008506/2.183, allocations: 5.086 MB / 1.014 GB, free: 190.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/2.183, allocations: 0 / 1.014 GB, free: 190.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01192/2.195, allocations: 1.689 MB / 1.015 GB, free: 189.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 200 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01204/2.207, allocations: 9.467 MB / 1.025 GB, free: 179.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01253/2.219, allocations: 7.777 MB / 1.032 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/2.219, allocations: 0 / 1.032 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/2.223, allocations: 2.713 MB / 1.035 GB, free: 168.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0055/2.228, allocations: 0.911 MB / 1.036 GB, free: 168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4734/2.702, allocations: 194.9 MB / 1.226 GB, free: 228.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009032/2.711, allocations: 5.55 MB / 1.232 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008253/2.719, allocations: 2.76 MB / 1.234 GB, free: 226.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006469/2.726, allocations: 3.637 MB / 1.238 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.423e-06/2.726, allocations: 0 / 1.238 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/2.947, allocations: 139.1 MB / 1.374 GB, free: 90.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/2.947, allocations: 198.5 kB / 1.374 GB, free: 90.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.965/8.912, allocations: 64 / 1.374 GB, free: 90.14 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat