Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001326/0.001326, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.221/0.221, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3119, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009866/0.3218, allocations: 8.11 MB / 0.5385 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.3276, allocations: 2.637 MB / 0.5411 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.3288, allocations: 42.31 kB / 0.5411 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.3315, allocations: 1.279 MB / 0.5424 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3328, allocations: 457.7 kB / 0.5428 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3339, allocations: 406.6 kB / 0.5432 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.3354, allocations: 1.031 MB / 0.5442 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.337, allocations: 1.201 MB / 0.5454 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.338, allocations: 0.5339 MB / 0.5459 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.3395, allocations: 0.7699 MB / 0.5467 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002905/0.3398, allocations: 116 kB / 0.5468 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.3409, allocations: 0.581 MB / 0.5473 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008262/0.3418, allocations: 0.713 MB / 0.548 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009876/0.3428, allocations: 0.7959 MB / 0.5488 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003119/0.3459, allocations: 2.501 MB / 0.5513 GB, free: 12.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3459, allocations: 4 kB / 0.5513 GB, free: 12.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3459, allocations: 0 / 0.5513 GB, free: 12.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.346, allocations: 0 / 0.5513 GB, free: 12.48 MB / 414.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.004848/0.3508, allocations: 2.165 MB / 0.5534 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.3509, allocations: 12.03 kB / 0.5534 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003927/0.3513, allocations: 292.5 kB / 0.5537 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.3524, allocations: 287.4 kB / 0.5539 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.354, allocations: 0.8502 MB / 0.5548 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.354, allocations: 90.7 kB / 0.5549 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.3543, allocations: 119.9 kB / 0.555 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007915/0.3622, allocations: 4.287 MB / 0.5592 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.3623, allocations: 15.86 kB / 0.5592 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.3625, allocations: 59.94 kB / 0.5592 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/0.3636, allocations: 0.7248 MB / 0.5599 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007639/0.3712, allocations: 3.5 MB / 0.5634 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/0.3897, allocations: 14.26 MB / 0.5773 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/0.3938, allocations: 1.223 MB / 0.5785 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.3948, allocations: 0.6936 MB / 0.5792 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005278/0.4001, allocations: 3.707 MB / 0.5828 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4002, allocations: 38.89 kB / 0.5828 GB, free: 11.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.4002, allocations: 0 / 0.5828 GB, free: 11.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006347/0.4065, allocations: 1.773 MB / 0.5845 GB, free: 9.375 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.4066, allocations: 59.34 kB / 0.5846 GB, free: 9.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.4086, allocations: 1.48 MB / 0.5861 GB, free: 7.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.4087, allocations: 33.7 kB / 0.5861 GB, free: 7.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009322/0.4096, allocations: 1.241 MB / 0.5873 GB, free: 6.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.4098, allocations: 178.8 kB / 0.5875 GB, free: 6.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.4104, allocations: 443.5 kB / 0.5879 GB, free: 5.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4105, allocations: 345.9 kB / 0.5882 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/0.4113, allocations: 491.9 kB / 0.5887 GB, free: 5.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.4131, allocations: 1.893 MB / 0.5905 GB, free: 2.453 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.4161, allocations: 2.597 MB / 0.5931 GB, free: 15.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/0.4161, allocations: 16 kB / 0.5931 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003534/0.4196, allocations: 2.272 MB / 0.5953 GB, free: 12.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.4197, allocations: 31.94 kB / 0.5953 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.442e-05/0.4198, allocations: 52 kB / 0.5954 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.317e-05/0.4199, allocations: 64 kB / 0.5954 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.4212, allocations: 491 kB / 0.5959 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.441e-05/0.4213, allocations: 99.64 kB / 0.596 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.4226, allocations: 313.7 kB / 0.5963 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.4227, allocations: 132 kB / 0.5964 GB, free: 11.68 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.4238, allocations: 0.7659 MB / 0.5972 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.424, allocations: 127.1 kB / 0.5973 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.4242, allocations: 140.4 kB / 0.5974 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4242, allocations: 4 kB / 0.5974 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.4242, allocations: 3.984 kB / 0.5974 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.4243, allocations: 7.938 kB / 0.5975 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.4283, allocations: 2.897 MB / 0.6003 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.4284, allocations: 15.94 kB / 0.6003 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.4287, allocations: 103.8 kB / 0.6004 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.959e-05/0.4287, allocations: 16.75 kB / 0.6004 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.4287, allocations: 20 kB / 0.6004 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.4288, allocations: 19.94 kB / 0.6005 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/0.4288, allocations: 23.88 kB / 0.6005 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.4299, allocations: 0.8759 MB / 0.6013 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.4302, allocations: 220.1 kB / 0.6015 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4303, allocations: 24 kB / 0.6016 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.4307, allocations: 27.98 kB / 0.6016 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.4308, allocations: 71.58 kB / 0.6017 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.4309, allocations: 28 kB / 0.6017 GB, free: 5.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.4321, allocations: 0.9128 MB / 0.6026 GB, free: 4.957 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4321, allocations: 4 kB / 0.6026 GB, free: 4.953 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001643/0.4338, allocations: 407 kB / 0.603 GB, free: 4.555 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/0.4352, allocations: 1.457 MB / 0.6044 GB, free: 2.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.4371, allocations: 1.205 MB / 0.6056 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4371, allocations: 0 / 0.6056 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.4375, allocations: 246.5 kB / 0.6058 GB, free: 1.477 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4386, allocations: 199.3 kB / 0.606 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.4571, allocations: 14.07 MB / 0.6197 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.4586, allocations: 1.528 MB / 0.6212 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00136/0.46, allocations: 0.5738 MB / 0.6218 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/0.4608, allocations: 0.6125 MB / 0.6224 GB, free: 14.5 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4608, allocations: 4 kB / 0.6224 GB, free: 14.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/0.5144, allocations: 22.9 MB / 0.6448 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.68, allocations: 10.62 kB / 0.6448 GB, free: 7.746 MB / 0.4981 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)