Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001146, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00139/0.00139, allocations: 168.7 kB / 15.95 MB, free: 204 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.863/1.863, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.4301/0.4301, allocations: 40.01 MB / 310.4 MB, free: 10.14 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.0006162/0.0006166, allocations: 19.98 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1442, allocations: 57.96 MB / 436.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2966/0.4408, allocations: 43.08 MB / 479.9 MB, free: 28.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.4625, allocations: 8.992 MB / 488.9 MB, free: 22.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01072/0.4732, allocations: 198.3 kB / 489.1 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006809/0.4801, allocations: 2.058 MB / 491.1 MB, free: 21.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01735/0.4975, allocations: 5.762 MB / 496.9 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.5007, allocations: 0.6696 MB / 497.6 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004123/0.5048, allocations: 3.08 MB / 0.4889 GB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008475/0.5133, allocations: 5.214 MB / 0.494 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/0.5161, allocations: 0.9708 MB / 0.4949 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.5199, allocations: 1.469 MB / 0.4964 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006522/0.5206, allocations: 131 kB / 0.4965 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.5232, allocations: 0.6704 MB / 0.4972 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002303/0.5255, allocations: 1.368 MB / 0.4985 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.5267, allocations: 0.7 MB / 0.4992 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007757/0.5344, allocations: 5.017 MB / 0.5041 GB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5345, allocations: 0 / 0.5041 GB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5345, allocations: 0 / 0.5041 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002792/0.5348, allocations: 0 / 0.5041 GB, free: 11.72 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01087/0.5457, allocations: 3.609 MB / 0.5076 GB, free: 9.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5457, allocations: 9.656 kB / 0.5076 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.5489, allocations: 0.5025 MB / 0.5081 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/0.5536, allocations: 1.766 MB / 0.5098 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.5538, allocations: 234.9 kB / 0.51 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.5549, allocations: 311.1 kB / 0.5103 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/0.5752, allocations: 9.226 MB / 0.5194 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.239e-05/0.5754, allocations: 22.53 kB / 0.5194 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/0.5757, allocations: 144.6 kB / 0.5195 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002324/0.5781, allocations: 1.582 MB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.5962, allocations: 7.469 MB / 0.5284 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05416/0.6504, allocations: 28.34 MB / 0.556 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008767/0.6593, allocations: 2.461 MB / 0.5584 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/0.6617, allocations: 1.275 MB / 0.5597 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.6752, allocations: 7.981 MB / 0.5675 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.6753, allocations: 43.22 kB / 0.5675 GB, free: 0.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.166e-06/0.6753, allocations: 0 / 0.5675 GB, free: 0.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.02548/0.7008, allocations: 7.671 MB / 0.575 GB, free: 8.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.701, allocations: 145.6 kB / 0.5751 GB, free: 8.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00711/0.7081, allocations: 2.682 MB / 0.5778 GB, free: 5.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000348/0.7085, allocations: 41.7 kB / 0.5778 GB, free: 5.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002819/0.7113, allocations: 2.392 MB / 0.5801 GB, free: 3.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/0.7128, allocations: 407 kB / 0.5805 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007043/0.7136, allocations: 80 kB / 0.5806 GB, free: 3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005522/0.7141, allocations: 470.6 kB / 0.5811 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00383/0.718, allocations: 1.249 MB / 0.5823 GB, free: 1.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006289/0.7243, allocations: 3.607 MB / 0.5858 GB, free: 12.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/0.7293, allocations: 2.005 MB / 0.5878 GB, free: 10.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/0.7295, allocations: 24 kB / 0.5878 GB, free: 10.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.0118/0.7413, allocations: 4.772 MB / 0.5924 GB, free: 5.668 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.7414, allocations: 40 kB / 0.5925 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/0.7415, allocations: 84 kB / 0.5926 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.7417, allocations: 124.8 kB / 0.5927 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/0.7453, allocations: 0.9942 MB / 0.5936 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001779/0.7455, allocations: 163.4 kB / 0.5938 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/0.7487, allocations: 207.8 kB / 0.594 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006119/0.7493, allocations: 240 kB / 0.5942 GB, free: 3.832 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 380 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (511): * Single equations (assignments): 511 * 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.003675/0.753, allocations: 1.597 MB / 0.5958 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.7536, allocations: 236.9 kB / 0.596 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.7563, allocations: 1.514 MB / 0.5975 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7564, allocations: 8 kB / 0.5975 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.7564, allocations: 7.953 kB / 0.5975 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.7564, allocations: 7.984 kB / 0.5975 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.7702, allocations: 6.136 MB / 0.6035 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/0.7703, allocations: 20 kB / 0.6035 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.7714, allocations: 251.6 kB / 0.6038 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.593e-05/0.7715, allocations: 23.98 kB / 0.6038 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.7716, allocations: 44 kB / 0.6038 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.811e-05/0.7717, allocations: 31.86 kB / 0.6039 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.09e-05/0.7717, allocations: 23.88 kB / 0.6039 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.7753, allocations: 2.142 MB / 0.606 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.7764, allocations: 326 kB / 0.6063 GB, free: 6.926 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000746/0.7771, allocations: 47.94 kB / 0.6063 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.7787, allocations: 59.95 kB / 0.6064 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.7789, allocations: 128.1 kB / 0.6065 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.779, allocations: 59.92 kB / 0.6066 GB, free: 6.637 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003962/0.7829, allocations: 1.708 MB / 0.6082 GB, free: 4.922 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7829, allocations: 0 / 0.6082 GB, free: 4.922 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006171/0.7891, allocations: 0.7031 MB / 0.6089 GB, free: 4.219 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * 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 (126): * Single equations (assignments): 126 * 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.0006191/0.7898, allocations: 198.8 kB / 0.6091 GB, free: 4.016 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00685/0.7966, allocations: 2.832 MB / 0.6119 GB, free: 1.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/0.7967, allocations: 8.188 kB / 0.6119 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.7979, allocations: 0.7283 MB / 0.6126 GB, free: 480 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/0.8022, allocations: 316.7 kB / 0.6129 GB, free: 168 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/0.8208, allocations: 8.358 MB / 0.6211 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/0.8255, allocations: 2.735 MB / 0.6237 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003816/0.8293, allocations: 1.069 MB / 0.6248 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/0.8302, allocations: 179.4 kB / 0.6249 GB, free: 3.574 MB / 494.1 MB Notification: Performance of SimCode: time 1.283e-06/0.8302, allocations: 3.938 kB / 0.625 GB, free: 3.57 MB / 494.1 MB Notification: Performance of Templates: time 0.2926/1.123, allocations: 21.98 MB / 0.6464 GB, free: 142.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) Environment - environmentSimulation: