Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00817/0.00817, allocations: 101.7 kB / 15.73 MB, free: 6.012 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.001707/0.001707, allocations: 193.1 kB / 16.67 MB, free: 5.949 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.731/1.731, allocations: 205.1 MB / 222.6 MB, free: 4.297 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.4773/0.4773, allocations: 39.95 MB / 309.9 MB, free: 9.746 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.001733/0.001733, allocations: 67.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4272, allocations: 56.87 MB / 492.7 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01403/0.4413, allocations: 12.6 MB / 0.4934 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009578/0.4509, allocations: 3.559 MB / 0.4969 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.4549, allocations: 66.5 kB / 0.497 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007299/0.4623, allocations: 3.333 MB / 0.5002 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004281/0.4667, allocations: 0.9421 MB / 0.5011 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.469, allocations: 0.6569 MB / 0.5018 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00505/0.4741, allocations: 2.322 MB / 0.504 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007889/0.482, allocations: 4.077 MB / 0.508 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.4858, allocations: 1.373 MB / 0.5094 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004722/0.4905, allocations: 1.767 MB / 0.5111 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.4918, allocations: 361.8 kB / 0.5114 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.4947, allocations: 0.9013 MB / 0.5123 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002597/0.4973, allocations: 1.681 MB / 0.514 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.5005, allocations: 1.958 MB / 0.5159 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009039/0.5095, allocations: 6.253 MB / 0.522 GB, free: 6.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5095, allocations: 0 / 0.522 GB, free: 6.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5096, allocations: 0 / 0.522 GB, free: 6.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001825/0.5097, allocations: 0 / 0.522 GB, free: 6.363 MB / 398.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.01052/0.5203, allocations: 4.142 MB / 0.526 GB, free: 2.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.5203, allocations: 11.89 kB / 0.526 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.5224, allocations: 0.4993 MB / 0.5265 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/0.5268, allocations: 1.771 MB / 0.5283 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.527, allocations: 238.4 kB / 0.5285 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005257/0.5276, allocations: 315.8 kB / 0.5288 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/0.5459, allocations: 8.671 MB / 0.5372 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.994e-05/0.546, allocations: 11.88 kB / 0.5373 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004841/0.5465, allocations: 143.9 kB / 0.5374 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002904/0.5494, allocations: 1.572 MB / 0.5389 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.5665, allocations: 6.702 MB / 0.5455 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04403/0.6105, allocations: 26.59 MB / 0.5714 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006927/0.6175, allocations: 2.081 MB / 0.5735 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.6192, allocations: 1.026 MB / 0.5745 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009839/0.6291, allocations: 6.672 MB / 0.581 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.6292, allocations: 47.22 kB / 0.581 GB, free: 8.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.166e-06/0.6292, allocations: 0 / 0.581 GB, free: 8.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=100): time 0.01782/0.647, allocations: 6.744 MB / 0.5876 GB, free: 1.297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.6471, allocations: 141.5 kB / 0.5878 GB, free: 1.129 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/0.6507, allocations: 2.552 MB / 0.5903 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.6508, allocations: 41.7 kB / 0.5903 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.6528, allocations: 2.372 MB / 0.5926 GB, free: 12.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.6532, allocations: 403 kB / 0.593 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.6543, allocations: 0.7893 MB / 0.5938 GB, free: 10.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6544, allocations: 309 kB / 0.5941 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.6562, allocations: 1.136 MB / 0.5952 GB, free: 9.465 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/0.66, allocations: 3.402 MB / 0.5985 GB, free: 4.945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005966/0.666, allocations: 4.858 MB / 0.6032 GB, free: 14.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.974e-05/0.6661, allocations: 24 kB / 0.6033 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007719/0.6738, allocations: 4.446 MB / 0.6076 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/0.6739, allocations: 44.06 kB / 0.6076 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.938e-05/0.674, allocations: 80 kB / 0.6077 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.6741, allocations: 104 kB / 0.6078 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.6768, allocations: 0.928 MB / 0.6087 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000118/0.6769, allocations: 159.4 kB / 0.6089 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.6792, allocations: 191.8 kB / 0.6091 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.6795, allocations: 232 kB / 0.6093 GB, free: 8.766 MB / 494.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.002549/0.6821, allocations: 1.581 MB / 0.6108 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.6824, allocations: 225.2 kB / 0.611 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.6843, allocations: 1.271 MB / 0.6123 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.6843, allocations: 8 kB / 0.6123 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6843, allocations: 4 kB / 0.6123 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.6843, allocations: 3.984 kB / 0.6123 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009133/0.6935, allocations: 6.092 MB / 0.6182 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/0.6935, allocations: 16 kB / 0.6183 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/0.6945, allocations: 251.5 kB / 0.6185 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/0.6945, allocations: 20.69 kB / 0.6185 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.6946, allocations: 47.98 kB / 0.6186 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.792e-05/0.6946, allocations: 35.92 kB / 0.6186 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.486e-05/0.6947, allocations: 23.88 kB / 0.6186 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.6975, allocations: 2.088 MB / 0.6207 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.6982, allocations: 310.1 kB / 0.621 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.6984, allocations: 51.92 kB / 0.621 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/0.6993, allocations: 63.95 kB / 0.6211 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.6995, allocations: 131.8 kB / 0.6212 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.6996, allocations: 67.92 kB / 0.6213 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002159/0.7018, allocations: 1.667 MB / 0.6229 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7018, allocations: 0 / 0.6229 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00312/0.7049, allocations: 0.668 MB / 0.6235 GB, free: 9.551 MB / 0.4981 GB 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.0004045/0.7053, allocations: 214.6 kB / 0.6237 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004562/0.7099, allocations: 2.662 MB / 0.6263 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/0.7099, allocations: 4 kB / 0.6263 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.711, allocations: 0.6777 MB / 0.627 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.7131, allocations: 332 kB / 0.6273 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3238/1.037, allocations: 6.939 MB / 0.6341 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005322/1.042, allocations: 2.743 MB / 0.6368 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00348/1.046, allocations: 1.016 MB / 0.6378 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/1.046, allocations: 178.6 kB / 0.6379 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.003e-06/1.046, allocations: 0.875 kB / 0.6379 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.05907/1.106, allocations: 20.91 MB / 0.6584 GB, free: 118 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)