Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3841/0.3841, allocations: 40 MB / 310.4 MB, free: 9.633 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005345/0.0005345, allocations: 20 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.124, allocations: 57.95 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2565/0.3806, allocations: 37.14 MB / 473.9 MB, free: 32.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.3987, allocations: 9.482 MB / 483.4 MB, free: 25.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008749/0.4075, allocations: 182.9 kB / 483.6 MB, free: 25.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009236/0.4168, allocations: 1.809 MB / 485.4 MB, free: 25.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.4336, allocations: 5.412 MB / 490.8 MB, free: 22.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.4367, allocations: 0.8305 MB / 491.6 MB, free: 22.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02083/0.4576, allocations: 14.64 MB / 0.4944 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006558/0.4642, allocations: 4.101 MB / 0.4984 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.467, allocations: 1.22 MB / 0.4996 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/0.4707, allocations: 1.696 MB / 0.5012 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.472, allocations: 169.3 kB / 0.5014 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.4751, allocations: 1.063 MB / 0.5024 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002865/0.478, allocations: 1.824 MB / 0.5042 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.48, allocations: 0.9346 MB / 0.5051 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00811/0.4881, allocations: 6.32 MB / 0.5113 GB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4882, allocations: 0 / 0.5113 GB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4882, allocations: 6 kB / 0.5113 GB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003236/0.4885, allocations: 0 / 0.5113 GB, free: 9.793 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.0175/0.506, allocations: 5.197 MB / 0.5164 GB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5061, allocations: 8.031 kB / 0.5164 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08446/0.5905, allocations: 8.471 MB / 0.5247 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009559/0.6001, allocations: 3.606 MB / 0.5282 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.6004, allocations: 258.4 kB / 0.5284 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/0.602, allocations: 355.6 kB / 0.5288 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/0.6272, allocations: 12.44 MB / 0.5409 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/0.6275, allocations: 59.42 kB / 0.541 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005473/0.628, allocations: 163.8 kB / 0.5411 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004069/0.6321, allocations: 2.381 MB / 0.5435 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/0.6555, allocations: 10.87 MB / 0.5541 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06941/0.7249, allocations: 48.97 MB / 0.6019 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/0.7423, allocations: 5.963 MB / 0.6077 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02294/0.7654, allocations: 13.13 MB / 0.6205 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/0.7655, allocations: 59.86 kB / 0.6206 GB, free: 8.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 1.032e-05/0.7655, allocations: 0 / 0.6206 GB, free: 8.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.3695/1.135, allocations: 39.68 MB / 0.6594 GB, free: 137.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.135, allocations: 209.9 kB / 0.6596 GB, free: 137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009722/1.145, allocations: 4.63 MB / 0.6641 GB, free: 135.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009549/1.146, allocations: 61.95 kB / 0.6641 GB, free: 135.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.148, allocations: 3.435 MB / 0.6675 GB, free: 132.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001701/1.15, allocations: 0.9453 MB / 0.6684 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/1.151, allocations: 132.3 kB / 0.6685 GB, free: 131.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004195/1.151, allocations: 0.5943 MB / 0.6691 GB, free: 131.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/1.156, allocations: 3.089 MB / 0.6721 GB, free: 130.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008159/1.164, allocations: 6.989 MB / 0.679 GB, free: 123.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/1.172, allocations: 4.532 MB / 0.6834 GB, free: 122 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/1.172, allocations: 41.16 kB / 0.6834 GB, free: 122 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02465/1.197, allocations: 12.61 MB / 0.6957 GB, free: 117.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/1.197, allocations: 70.61 kB / 0.6958 GB, free: 117.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/1.197, allocations: 140 kB / 0.6959 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008641/1.206, allocations: 3.27 MB / 0.6991 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005426/1.211, allocations: 1.532 MB / 0.7006 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/1.231, allocations: 16.07 MB / 0.7163 GB, free: 96.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007923/1.239, allocations: 439.3 kB / 0.7167 GB, free: 96.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.24, allocations: 408 kB / 0.7171 GB, free: 95.65 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005493/1.246, allocations: 2.354 MB / 0.7194 GB, free: 93.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.247, allocations: 414.2 kB / 0.7198 GB, free: 92.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.26, allocations: 7.507 MB / 0.7271 GB, free: 85.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.26, allocations: 24 kB / 0.7272 GB, free: 85.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/1.26, allocations: 14.95 kB / 0.7272 GB, free: 85.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/1.26, allocations: 7.969 kB / 0.7272 GB, free: 85.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02979/1.29, allocations: 15.22 MB / 0.7421 GB, free: 70.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/1.29, allocations: 4 kB / 0.7421 GB, free: 70.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.293, allocations: 383.4 kB / 0.7424 GB, free: 69.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007934/1.301, allocations: 2.928 MB / 0.7453 GB, free: 66.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005899/1.301, allocations: 44 kB / 0.7453 GB, free: 66.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/1.319, allocations: 14.3 MB / 0.7593 GB, free: 52.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.319, allocations: 0 / 0.7593 GB, free: 52.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.337, allocations: 11.54 MB / 0.7706 GB, free: 40.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/1.341, allocations: 0.9369 MB / 0.7715 GB, free: 39.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001997/1.343, allocations: 40 kB / 0.7715 GB, free: 39.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/1.346, allocations: 191.2 kB / 0.7717 GB, free: 39.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000888/1.347, allocations: 145.8 kB / 0.7718 GB, free: 39.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004114/1.348, allocations: 68.73 kB / 0.7719 GB, free: 39.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006111/1.354, allocations: 2.931 MB / 0.7748 GB, free: 36.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.354, allocations: 3.938 kB / 0.7748 GB, free: 36.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009041/1.363, allocations: 1.341 MB / 0.7761 GB, free: 34.97 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/1.364, allocations: 189.1 kB / 0.7763 GB, free: 34.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01317/1.377, allocations: 7.796 MB / 0.7839 GB, free: 27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.377, allocations: 0 / 0.7839 GB, free: 27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005252/1.382, allocations: 3.109 MB / 0.7869 GB, free: 23.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/1.387, allocations: 477.5 kB / 0.7874 GB, free: 23.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/1.413, allocations: 13.62 MB / 0.8007 GB, free: 9.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006421/1.419, allocations: 3.774 MB / 0.8044 GB, free: 5.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005604/1.425, allocations: 2.183 MB / 0.8065 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009675/1.426, allocations: 287.4 kB / 0.8068 GB, free: 3.504 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/1.426, allocations: 0 / 0.8068 GB, free: 3.504 MB / 494.1 MB Notification: Performance of Templates: time 0.3457/1.772, allocations: 55.09 MB / 0.8606 GB, free: 120.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: