Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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.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 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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 100.1 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.001378/0.001378, allocations: 177.3 kB / 15.95 MB, free: 216 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.893/1.893, 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.1+maint.om/package.mo): time 0.4077/0.4077, allocations: 38.04 MB / 308.4 MB, free: 10.4 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.1. 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.0005609/0.0005609, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1364, allocations: 57.53 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3079/0.4444, allocations: 40.69 MB / 474.6 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.467, allocations: 9.261 MB / 483.9 MB, free: 25.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01236/0.4794, allocations: 194.1 kB / 484.1 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007778/0.4872, allocations: 1.981 MB / 486.1 MB, free: 25.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01938/0.5066, allocations: 5.528 MB / 491.6 MB, free: 22.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.5097, allocations: 498 kB / 492.1 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00298/0.5127, allocations: 1.325 MB / 493.4 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006336/0.5191, allocations: 5.15 MB / 498.5 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.5203, allocations: 0.7533 MB / 499.3 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.5214, allocations: 0.9666 MB / 0.4885 GB, free: 18.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.5217, allocations: 125.5 kB / 0.4887 GB, free: 18.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.523, allocations: 0.5388 MB / 0.4892 GB, free: 18.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.5244, allocations: 1.274 MB / 0.4904 GB, free: 18.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.5252, allocations: 0.698 MB / 0.4911 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007704/0.533, allocations: 4.922 MB / 0.4959 GB, free: 16.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.533, allocations: 0 / 0.4959 GB, free: 16.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.533, allocations: 0.5625 kB / 0.4959 GB, free: 16.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002907/0.5333, allocations: 4 kB / 0.4959 GB, free: 16.89 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01264/0.5459, allocations: 3.571 MB / 0.4994 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.546, allocations: 8.812 kB / 0.4994 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.5499, allocations: 0.5815 MB / 0.5 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006393/0.5563, allocations: 1.78 MB / 0.5017 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.5566, allocations: 239.5 kB / 0.5019 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008834/0.5575, allocations: 316 kB / 0.5023 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.5769, allocations: 8.786 MB / 0.5108 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-05/0.577, allocations: 15.5 kB / 0.5108 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003802/0.5774, allocations: 154.5 kB / 0.511 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.5801, allocations: 1.568 MB / 0.5125 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.5974, allocations: 6.83 MB / 0.5192 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04181/0.6392, allocations: 26.43 MB / 0.545 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006208/0.6455, allocations: 1.96 MB / 0.5469 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009237/0.6548, allocations: 6.377 MB / 0.5532 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.6549, allocations: 51.16 kB / 0.5532 GB, free: 144 kB / 414.1 MB Notification: Performance of pre-optimization done (n=77): time 4.007e-06/0.6549, allocations: 0 / 0.5532 GB, free: 144 kB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.01701/0.6719, allocations: 6.229 MB / 0.5593 GB, free: 9.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.672, allocations: 145.4 kB / 0.5594 GB, free: 9.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/0.6756, allocations: 2.494 MB / 0.5619 GB, free: 7.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.171e-05/0.6757, allocations: 41.7 kB / 0.5619 GB, free: 7.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/0.6776, allocations: 2.403 MB / 0.5642 GB, free: 4.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.678, allocations: 395.2 kB / 0.5646 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.6782, allocations: 76 kB / 0.5647 GB, free: 4.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.6784, allocations: 462 kB / 0.5651 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.6799, allocations: 0.9365 MB / 0.566 GB, free: 2.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.6829, allocations: 3.249 MB / 0.5692 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.6852, allocations: 1.689 MB / 0.5709 GB, free: 12.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/0.6852, allocations: 24 kB / 0.5709 GB, free: 12.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.00645/0.6917, allocations: 4.083 MB / 0.5749 GB, free: 8.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.6918, allocations: 40 kB / 0.5749 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.377e-05/0.6919, allocations: 88 kB / 0.575 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.692, allocations: 120 kB / 0.5751 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.6945, allocations: 0.8971 MB / 0.576 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.6946, allocations: 163.4 kB / 0.5761 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/0.6976, allocations: 167.9 kB / 0.5763 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004754/0.6981, allocations: 224 kB / 0.5765 GB, free: 6.949 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (482): * Single equations (assignments): 482 * 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.005088/0.7032, allocations: 1.586 MB / 0.5781 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/0.704, allocations: 221.1 kB / 0.5783 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.7064, allocations: 1.122 MB / 0.5794 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.7065, allocations: 8 kB / 0.5794 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7065, allocations: 4 kB / 0.5794 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.7065, allocations: 3.984 kB / 0.5794 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.7204, allocations: 5.965 MB / 0.5852 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.7205, allocations: 19.94 kB / 0.5852 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/0.7213, allocations: 215.6 kB / 0.5854 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.38e-05/0.7213, allocations: 28 kB / 0.5855 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/0.7214, allocations: 40 kB / 0.5855 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.643e-05/0.7215, allocations: 31.92 kB / 0.5855 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/0.7215, allocations: 23.88 kB / 0.5856 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/0.7253, allocations: 3.304 MB / 0.5888 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.7264, allocations: 314 kB / 0.5891 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006446/0.7271, allocations: 47.98 kB / 0.5891 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.7283, allocations: 35.98 kB / 0.5892 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.7285, allocations: 127.5 kB / 0.5893 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/0.7286, allocations: 48 kB / 0.5893 GB, free: 8.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004005/0.7326, allocations: 1.628 MB / 0.5909 GB, free: 7.254 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.7326, allocations: 0 / 0.5909 GB, free: 7.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004771/0.7374, allocations: 0.6445 MB / 0.5916 GB, free: 6.609 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (119): * Single equations (assignments): 119 * 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.0005701/0.738, allocations: 196.5 kB / 0.5917 GB, free: 6.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005/0.743, allocations: 2.264 MB / 0.594 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/0.743, allocations: 384 / 0.594 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.744, allocations: 0.522 MB / 0.5945 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.7462, allocations: 305.2 kB / 0.5948 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.7641, allocations: 8.119 MB / 0.6027 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004966/0.7691, allocations: 2.812 MB / 0.6054 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003259/0.7724, allocations: 0.9938 MB / 0.6064 GB, free: 7.129 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.7731, allocations: 171.4 kB / 0.6066 GB, free: 6.965 MB / 478.1 MB Notification: Performance of SimCode: time 2.084e-06/0.7731, allocations: 0 / 0.6066 GB, free: 6.965 MB / 478.1 MB Notification: Performance of Templates: time 0.04275/0.8159, allocations: 18.6 MB / 0.6247 GB, free: 4.406 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) Environment - environmentSimulation: