Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.164/1.164, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001564/0.001564, allocations: 103.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2136/0.2136, allocations: 38.01 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.784e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09543, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.449, allocations: 85.51 MB / 491.2 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.4493, allocations: 71.12 kB / 491.3 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07582/0.5252, allocations: 34.6 MB / 0.5135 GB, free: 5.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5252, allocations: 0 / 0.5135 GB, free: 5.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.137e-05/0.5253, allocations: 32.25 kB / 0.5136 GB, free: 5.734 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.004218/0.5295, allocations: 2.193 MB / 0.5157 GB, free: 4.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5296, allocations: 15.53 kB / 0.5157 GB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.5312, allocations: 385.8 kB / 0.5161 GB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.5332, allocations: 1.127 MB / 0.5172 GB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.5333, allocations: 149.2 kB / 0.5173 GB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.5335, allocations: 187.6 kB / 0.5175 GB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009232/0.5428, allocations: 4.781 MB / 0.5222 GB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.5429, allocations: 11.78 kB / 0.5222 GB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/0.5432, allocations: 96.3 kB / 0.5223 GB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001438/0.5447, allocations: 0.5103 MB / 0.5228 GB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.5578, allocations: 3.795 MB / 0.5265 GB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03216/0.59, allocations: 16.63 MB / 0.5427 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.5945, allocations: 1.262 MB / 0.544 GB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/0.5955, allocations: 0.6988 MB / 0.5447 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005702/0.6012, allocations: 4.074 MB / 0.5486 GB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.6013, allocations: 42.31 kB / 0.5487 GB, free: 6.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.775e-06/0.6013, allocations: 0 / 0.5487 GB, free: 6.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.005696/0.607, allocations: 1.467 MB / 0.5501 GB, free: 5.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.6071, allocations: 106.8 kB / 0.5502 GB, free: 5.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.61, allocations: 1.386 MB / 0.5516 GB, free: 3.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.6101, allocations: 37.7 kB / 0.5516 GB, free: 3.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.6112, allocations: 1.387 MB / 0.5529 GB, free: 2.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.6114, allocations: 182 kB / 0.5531 GB, free: 2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.6115, allocations: 44 kB / 0.5532 GB, free: 1.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.6118, allocations: 459.4 kB / 0.5536 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.6126, allocations: 496.4 kB / 0.5541 GB, free: 1.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.6144, allocations: 2.005 MB / 0.556 GB, free: 14.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.6159, allocations: 0.9632 MB / 0.557 GB, free: 13.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.34e-05/0.6159, allocations: 16 kB / 0.557 GB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.003784/0.6197, allocations: 2.384 MB / 0.5593 GB, free: 10.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.6198, allocations: 28 kB / 0.5593 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.702e-05/0.6199, allocations: 56 kB / 0.5594 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.514e-05/0.62, allocations: 80 kB / 0.5595 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.6216, allocations: 0.538 MB / 0.56 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001123/0.6217, allocations: 108 kB / 0.5601 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.6235, allocations: 332.5 kB / 0.5604 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.6237, allocations: 144 kB / 0.5606 GB, free: 9.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 292 * 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.0003441/0.624, allocations: 306.8 kB / 0.5608 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.6243, allocations: 134.3 kB / 0.561 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.6247, allocations: 149.3 kB / 0.5611 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.6247, allocations: 8 kB / 0.5611 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6247, allocations: 4 kB / 0.5611 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6247, allocations: 3.984 kB / 0.5611 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.6304, allocations: 3.214 MB / 0.5643 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.6304, allocations: 15.98 kB / 0.5643 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.6308, allocations: 99.94 kB / 0.5644 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-05/0.6308, allocations: 16 kB / 0.5644 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.6308, allocations: 27.95 kB / 0.5644 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/0.6309, allocations: 23.92 kB / 0.5644 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.6309, allocations: 15.94 kB / 0.5645 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6324, allocations: 1.557 MB / 0.566 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/0.6329, allocations: 227.2 kB / 0.5662 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.6332, allocations: 23.98 kB / 0.5662 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.6338, allocations: 28 kB / 0.5663 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.6339, allocations: 67.67 kB / 0.5663 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.6339, allocations: 28 kB / 0.5663 GB, free: 2.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001544/0.6355, allocations: 0.9495 MB / 0.5673 GB, free: 1.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6355, allocations: 3.938 kB / 0.5673 GB, free: 1.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002286/0.6378, allocations: 489.9 kB / 0.5677 GB, free: 1.441 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.0002728/0.6381, allocations: 139 kB / 0.5679 GB, free: 1.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.6402, allocations: 1.219 MB / 0.5691 GB, free: 92 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.6402, allocations: 4 kB / 0.5691 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.6406, allocations: 230.5 kB / 0.5693 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009172/0.6415, allocations: 169.3 kB / 0.5694 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.648, allocations: 2.783 MB / 0.5722 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/0.6502, allocations: 1.737 MB / 0.5739 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001783/0.652, allocations: 0.6019 MB / 0.5745 GB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.6523, allocations: 103.4 kB / 0.5745 GB, free: 10.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6523, allocations: 0 / 0.5745 GB, free: 10.25 MB / 394.7 MB Notification: Performance of Templates: time 0.02345/0.6758, allocations: 9.664 MB / 0.584 GB, free: 0.6055 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)