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.001741/0.001741, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002181/0.002181, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.228/0.228, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002492/0.002492, allocations: 74.59 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1249, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009933/0.1348, allocations: 8.12 MB / 488.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.1403, allocations: 2.638 MB / 491 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1413, allocations: 35.94 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.1442, allocations: 1.296 MB / 492.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1454, allocations: 445.7 kB / 492.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009895/0.1464, allocations: 415.1 kB / 493.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1478, allocations: 1.033 MB / 494.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.1494, allocations: 1.195 MB / 495.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.1502, allocations: 0.5255 MB / 495.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.1514, allocations: 0.7748 MB / 496.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002607/0.1516, allocations: 116 kB / 496.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009405/0.1526, allocations: 0.5772 MB / 497.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007045/0.1533, allocations: 0.7091 MB / 498.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008641/0.1542, allocations: 0.7998 MB / 498.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.1569, allocations: 2.406 MB / 0.4895 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1569, allocations: 4 kB / 0.4895 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1569, allocations: 4 kB / 0.4895 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.36e-05/0.157, allocations: 0 / 0.4895 GB, free: 15.98 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.004542/0.1615, allocations: 2.129 MB / 0.4916 GB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1616, allocations: 12.03 kB / 0.4916 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/0.162, allocations: 284.6 kB / 0.4919 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.1631, allocations: 282.2 kB / 0.4922 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1649, allocations: 0.8419 MB / 0.493 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/0.165, allocations: 90.69 kB / 0.4931 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.1654, allocations: 127.9 kB / 0.4932 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008981/0.1744, allocations: 4.28 MB / 0.4974 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.1745, allocations: 7.938 kB / 0.4974 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.1747, allocations: 59.94 kB / 0.4974 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/0.1758, allocations: 0.7248 MB / 0.4981 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008193/0.184, allocations: 3.496 MB / 0.5016 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1955/0.3796, allocations: 14.3 MB / 0.5155 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/0.384, allocations: 1.216 MB / 0.5167 GB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007821/0.3848, allocations: 0.6973 MB / 0.5174 GB, free: 31.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004664/0.3895, allocations: 3.688 MB / 0.521 GB, free: 29.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3895, allocations: 42.91 kB / 0.521 GB, free: 29.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.3896, allocations: 1.219 kB / 0.521 GB, free: 29.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.006347/0.3959, allocations: 1.759 MB / 0.5227 GB, free: 29.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.396, allocations: 60.48 kB / 0.5228 GB, free: 29.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.3979, allocations: 1.485 MB / 0.5243 GB, free: 28.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.3979, allocations: 32.08 kB / 0.5243 GB, free: 28.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000596/0.3985, allocations: 1.193 MB / 0.5255 GB, free: 27.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3986, allocations: 184.1 kB / 0.5256 GB, free: 27.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/0.3991, allocations: 429.6 kB / 0.526 GB, free: 27.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.3992, allocations: 354.3 kB / 0.5264 GB, free: 26.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/0.3998, allocations: 489.4 kB / 0.5268 GB, free: 26.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.4008, allocations: 1.888 MB / 0.5287 GB, free: 24.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.4026, allocations: 2.596 MB / 0.5312 GB, free: 21.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/0.4027, allocations: 15.12 kB / 0.5312 GB, free: 21.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003165/0.4059, allocations: 2.271 MB / 0.5335 GB, free: 20.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.4059, allocations: 27.53 kB / 0.5335 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.406, allocations: 47.06 kB / 0.5335 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.273e-05/0.4061, allocations: 70.56 kB / 0.5336 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4072, allocations: 495 kB / 0.5341 GB, free: 20.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-05/0.4073, allocations: 103.1 kB / 0.5342 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4086, allocations: 300.7 kB / 0.5344 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/0.4087, allocations: 129.7 kB / 0.5346 GB, free: 20.34 MB / 382.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.0007886/0.4095, allocations: 0.7719 MB / 0.5353 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.4096, allocations: 120.9 kB / 0.5354 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.4098, allocations: 143.3 kB / 0.5356 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4098, allocations: 3.625 kB / 0.5356 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.4098, allocations: 0 / 0.5356 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4098, allocations: 3.062 kB / 0.5356 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.4129, allocations: 2.891 MB / 0.5384 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.413, allocations: 12 kB / 0.5384 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.4132, allocations: 99.83 kB / 0.5385 GB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.4133, allocations: 15.94 kB / 0.5385 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.4133, allocations: 28 kB / 0.5386 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.4133, allocations: 15.94 kB / 0.5386 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.4133, allocations: 24.75 kB / 0.5386 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.4139, allocations: 0.8792 MB / 0.5395 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.4142, allocations: 215.3 kB / 0.5397 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4143, allocations: 31.98 kB / 0.5397 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4147, allocations: 20 kB / 0.5397 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.4148, allocations: 75.64 kB / 0.5398 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.4148, allocations: 31.98 kB / 0.5398 GB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008686/0.4157, allocations: 0.905 MB / 0.5407 GB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 0.5407 GB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001584/0.4173, allocations: 398.6 kB / 0.5411 GB, free: 14.27 MB / 382.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.0008951/0.4182, allocations: 1.451 MB / 0.5425 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.4196, allocations: 1.21 MB / 0.5437 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.4196, allocations: 4 kB / 0.5437 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.4199, allocations: 234.5 kB / 0.5439 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.4208, allocations: 211.3 kB / 0.5441 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.4357, allocations: 14.78 MB / 0.5585 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.4371, allocations: 1.524 MB / 0.56 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001512/0.4386, allocations: 0.579 MB / 0.5606 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/0.4394, allocations: 0.6164 MB / 0.5612 GB, free: 7.195 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4394, allocations: 3.938 kB / 0.5612 GB, free: 7.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/0.4955, allocations: 22.42 MB / 0.5831 GB, free: 0.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.921, allocations: 2.422 kB / 0.5831 GB, free: 0.918 MB / 414.1 MB (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)