Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.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.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 102 kB / 16.99 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 202 kB / 17.9 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 4 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 63.47 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02013/0.1589, allocations: 21.91 MB / 0.4916 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1713, allocations: 5.376 MB / 0.4969 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/0.1761, allocations: 99.81 kB / 0.497 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004335/0.1805, allocations: 1.05 MB / 0.498 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.1925, allocations: 3.093 MB / 0.501 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.194, allocations: 303.5 kB / 0.5013 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.1954, allocations: 0.6402 MB / 0.5019 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.1976, allocations: 1.631 MB / 0.5035 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.1982, allocations: 346.7 kB / 0.5039 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.1988, allocations: 0.51 MB / 0.5044 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.922e-05/0.1989, allocations: 56 kB / 0.5044 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.1996, allocations: 431.4 kB / 0.5048 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005133/0.2001, allocations: 0.5961 MB / 0.5054 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.2004, allocations: 312.7 kB / 0.5057 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2988/0.4992, allocations: 1.876 MB / 0.5075 GB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.4992, allocations: 0.7188 kB / 0.5075 GB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4992, allocations: 1.531 kB / 0.5075 GB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.012e-05/0.4993, allocations: 5.062 kB / 0.5076 GB, free: 12.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004733/0.504, allocations: 1.94 MB / 0.5094 GB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5041, allocations: 9.156 kB / 0.5095 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005893/0.5047, allocations: 291.9 kB / 0.5097 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.506, allocations: 313.6 kB / 0.51 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.5077, allocations: 0.8231 MB / 0.5108 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.5078, allocations: 94.41 kB / 0.5109 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.5081, allocations: 123.6 kB / 0.511 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009896/0.518, allocations: 4.356 MB / 0.5153 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.5181, allocations: 10.75 kB / 0.5153 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.5183, allocations: 56.5 kB / 0.5154 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001303/0.5196, allocations: 0.7271 MB / 0.5161 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.5297, allocations: 3.583 MB / 0.5196 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.5498, allocations: 14.38 MB / 0.5336 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.5538, allocations: 1.223 MB / 0.5348 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005078/0.5589, allocations: 3.737 MB / 0.5385 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.559, allocations: 37.73 kB / 0.5385 GB, free: 1.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.936e-06/0.559, allocations: 2.875 kB / 0.5385 GB, free: 1.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.006077/0.5651, allocations: 1.751 MB / 0.5402 GB, free: 1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.5652, allocations: 60.62 kB / 0.5403 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.5673, allocations: 1.474 MB / 0.5417 GB, free: 480 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.5673, allocations: 35.05 kB / 0.5417 GB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007575/0.5681, allocations: 1.2 MB / 0.5429 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.5683, allocations: 170.4 kB / 0.5431 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.5683, allocations: 39.97 kB / 0.5431 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.5686, allocations: 448.5 kB / 0.5435 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.5692, allocations: 482.3 kB / 0.544 GB, free: 15.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.5708, allocations: 1.872 MB / 0.5458 GB, free: 13.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5719, allocations: 0.8966 MB / 0.5467 GB, free: 12.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.5719, allocations: 12.16 kB / 0.5467 GB, free: 12.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003195/0.5751, allocations: 2.247 MB / 0.5489 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.5752, allocations: 28 kB / 0.5489 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-05/0.5752, allocations: 48 kB / 0.549 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.776e-05/0.5753, allocations: 76 kB / 0.5491 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.5766, allocations: 496.2 kB / 0.5495 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.211e-05/0.5766, allocations: 97.55 kB / 0.5496 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.5782, allocations: 304.4 kB / 0.5499 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.5783, allocations: 140.4 kB / 0.55 GB, free: 11.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.5796, allocations: 0.7556 MB / 0.5508 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.5798, allocations: 126.4 kB / 0.5509 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.58, allocations: 142.8 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.58, allocations: 4 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5801, allocations: 4 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5801, allocations: 3.984 kB / 0.5511 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004089/0.5842, allocations: 2.886 MB / 0.5539 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.5842, allocations: 16.25 kB / 0.5539 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.5845, allocations: 97.59 kB / 0.554 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.5845, allocations: 16 kB / 0.554 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.5846, allocations: 27.55 kB / 0.554 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/0.5846, allocations: 25.2 kB / 0.554 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.5846, allocations: 14.81 kB / 0.5541 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.5861, allocations: 1.594 MB / 0.5556 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.5864, allocations: 211.9 kB / 0.5558 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.5866, allocations: 31.86 kB / 0.5558 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.587, allocations: 24.73 kB / 0.5559 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.5871, allocations: 74.06 kB / 0.5559 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.5871, allocations: 28.69 kB / 0.556 GB, free: 5.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.5883, allocations: 0.9037 MB / 0.5569 GB, free: 5.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5883, allocations: 0 / 0.5569 GB, free: 5.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002023/0.5903, allocations: 412.8 kB / 0.5572 GB, free: 4.676 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003543/0.5939, allocations: 5.546 MB / 0.5627 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.5966, allocations: 1.175 MB / 0.5638 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.5966, allocations: 2 kB / 0.5638 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.5969, allocations: 238.5 kB / 0.564 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.5983, allocations: 197.4 kB / 0.5642 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/0.6292, allocations: 44.43 MB / 0.6076 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.6305, allocations: 1.563 MB / 0.6091 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001402/0.6319, allocations: 0.566 MB / 0.6097 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/0.6326, allocations: 0.6203 MB / 0.6103 GB, free: 13.17 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6326, allocations: 0 / 0.6103 GB, free: 13.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.6768, allocations: 23.53 MB / 0.6333 GB, free: 5.84 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.677, allocations: 169.7 kB / 0.6334 GB, free: 5.598 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/2.973, allocations: 2.078 kB / 0.6334 GB, free: 5.598 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat