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.0008115/0.0008114, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005923/0.005923, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3202/0.3202, allocations: 38.04 MB / 308.8 MB, free: 10.38 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.0005807/0.0005808, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1271, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.2554/0.3825, allocations: 46.26 MB / 480.8 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0222/0.4048, allocations: 9.248 MB / 490.1 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.4151, allocations: 201.1 kB / 490.3 MB, free: 22.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4163, allocations: 333.7 kB / 490.6 MB, free: 21.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.4188, allocations: 0.886 MB / 491.5 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.4201, allocations: 0.6025 MB / 492.1 MB, free: 21.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.4229, allocations: 3.759 MB / 495.8 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006467/0.4293, allocations: 5.95 MB / 0.49 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.4309, allocations: 0.9086 MB / 0.4909 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/0.4329, allocations: 1.454 MB / 0.4923 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.4332, allocations: 127.4 kB / 0.4925 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.4345, allocations: 0.7377 MB / 0.4932 GB, free: 16.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.4358, allocations: 1.403 MB / 0.4946 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.437, allocations: 1.645 MB / 0.4962 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005933/0.4429, allocations: 5.795 MB / 0.5018 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.443, allocations: 1.781 kB / 0.5018 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.443, allocations: 0 / 0.5018 GB, free: 13.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002232/0.4432, allocations: 0 / 0.5018 GB, free: 13.12 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.01124/0.4544, allocations: 3.416 MB / 0.5052 GB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.4545, allocations: 9.531 kB / 0.5052 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.4574, allocations: 0.4945 MB / 0.5056 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/0.4613, allocations: 1.744 MB / 0.5074 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.4615, allocations: 240.2 kB / 0.5076 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006482/0.4622, allocations: 316.2 kB / 0.5079 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.4821, allocations: 8.699 MB / 0.5164 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.948e-05/0.4822, allocations: 18.69 kB / 0.5164 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.4826, allocations: 138.3 kB / 0.5165 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00279/0.4854, allocations: 1.558 MB / 0.518 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.4993, allocations: 6.738 MB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03636/0.5357, allocations: 26.75 MB / 0.5508 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006453/0.5421, allocations: 2.077 MB / 0.5528 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.5436, allocations: 1.029 MB / 0.5538 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00888/0.5525, allocations: 6.673 MB / 0.5603 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.5526, allocations: 51.16 kB / 0.5604 GB, free: 9.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.595e-06/0.5526, allocations: 0 / 0.5604 GB, free: 9.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.02008/0.5727, allocations: 6.744 MB / 0.5669 GB, free: 2.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.5728, allocations: 149.5 kB / 0.5671 GB, free: 2.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/0.5779, allocations: 2.549 MB / 0.5696 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.5781, allocations: 45.7 kB / 0.5696 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.5799, allocations: 2.376 MB / 0.5719 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000503/0.5804, allocations: 407 kB / 0.5723 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/0.581, allocations: 342 kB / 0.5726 GB, free: 12.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5811, allocations: 309.1 kB / 0.5729 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.5833, allocations: 1.132 MB / 0.574 GB, free: 11.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/0.5868, allocations: 3.406 MB / 0.5774 GB, free: 6.793 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/0.5924, allocations: 4.848 MB / 0.5821 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.535e-05/0.5925, allocations: 24 kB / 0.5821 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.008168/0.6007, allocations: 4.456 MB / 0.5865 GB, free: 12.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.6008, allocations: 44.25 kB / 0.5865 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.601, allocations: 80 kB / 0.5866 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.6011, allocations: 108 kB / 0.5867 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.6043, allocations: 0.9202 MB / 0.5876 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002023/0.6045, allocations: 163.4 kB / 0.5878 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/0.6081, allocations: 191.8 kB / 0.5879 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006226/0.6088, allocations: 232 kB / 0.5882 GB, free: 10.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * 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 (495): * Single equations (assignments): 495 * 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.004535/0.6133, allocations: 1.585 MB / 0.5897 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/0.614, allocations: 217.2 kB / 0.5899 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.6171, allocations: 1.275 MB / 0.5912 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.6171, allocations: 12 kB / 0.5912 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.6171, allocations: 0 / 0.5912 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.6172, allocations: 3.984 kB / 0.5912 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.633, allocations: 6.1 MB / 0.5971 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-05/0.6331, allocations: 16.94 kB / 0.5971 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.6343, allocations: 247.5 kB / 0.5974 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.633e-05/0.6343, allocations: 28 kB / 0.5974 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.6345, allocations: 47.98 kB / 0.5975 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-05/0.6345, allocations: 35.86 kB / 0.5975 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/0.6345, allocations: 23.88 kB / 0.5975 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.6383, allocations: 2.088 MB / 0.5996 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009446/0.6393, allocations: 322 kB / 0.5999 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006152/0.6399, allocations: 43.98 kB / 0.5999 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.6413, allocations: 59.95 kB / 0.6 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.6415, allocations: 131.9 kB / 0.6001 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.6416, allocations: 59.98 kB / 0.6001 GB, free: 13.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003651/0.6453, allocations: 1.663 MB / 0.6018 GB, free: 12.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6453, allocations: 3.938 kB / 0.6018 GB, free: 12.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004611/0.6499, allocations: 0.6757 MB / 0.6024 GB, free: 11.39 MB / 478.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 (124): * Single equations (assignments): 124 * 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.0006789/0.6506, allocations: 218.7 kB / 0.6026 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005444/0.6561, allocations: 2.618 MB / 0.6052 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.6561, allocations: 0.75 kB / 0.6052 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.6575, allocations: 0.685 MB / 0.6059 GB, free: 7.879 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008032/0.6655, allocations: 322.2 kB / 0.6062 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.6833, allocations: 8.751 MB / 0.6147 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004709/0.6881, allocations: 2.742 MB / 0.6174 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003446/0.6915, allocations: 1.017 MB / 0.6184 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007487/0.6923, allocations: 175.4 kB / 0.6186 GB, free: 10.59 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6923, allocations: 0 / 0.6186 GB, free: 10.59 MB / 494.1 MB Notification: Performance of Templates: time 0.2699/0.9622, allocations: 20.58 MB / 0.6387 GB, free: 142.5 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: