Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009232/0.009232, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001948/0.001948, allocations: 197.4 kB / 16.68 MB, free: 5.965 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.846/1.846, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.4722/0.4722, allocations: 39.94 MB / 309.8 MB, free: 9.617 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.001494/0.001494, allocations: 67.91 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4757, allocations: 56.87 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01857/0.4943, allocations: 13.31 MB / 0.4941 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.5095, allocations: 4.838 MB / 0.4988 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005085/0.5146, allocations: 84.38 kB / 0.4989 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008738/0.5235, allocations: 3.985 MB / 0.5028 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009151/0.5326, allocations: 2.202 MB / 0.505 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004349/0.537, allocations: 1.19 MB / 0.5061 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01236/0.5494, allocations: 5.58 MB / 0.5116 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.56, allocations: 5.17 MB / 0.5166 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007094/0.5671, allocations: 2.186 MB / 0.5188 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007093/0.5743, allocations: 2.979 MB / 0.5217 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002212/0.5765, allocations: 0.5078 MB / 0.5222 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.5814, allocations: 1.646 MB / 0.5238 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004045/0.5855, allocations: 2.697 MB / 0.5264 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007428/0.5929, allocations: 3.026 MB / 0.5294 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.6103, allocations: 9.948 MB / 0.5391 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.6104, allocations: 0 / 0.5391 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6104, allocations: 0 / 0.5391 GB, free: 4.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003945/0.6108, allocations: 0 / 0.5391 GB, free: 4.805 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02176/0.6326, allocations: 6.526 MB / 0.5454 GB, free: 14.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.6326, allocations: 15.89 kB / 0.5455 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/0.6524, allocations: 2.712 MB / 0.5481 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.6637, allocations: 3.794 MB / 0.5518 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/0.6641, allocations: 354.2 kB / 0.5522 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/0.6662, allocations: 435.6 kB / 0.5526 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/0.696, allocations: 13.85 MB / 0.5661 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.6962, allocations: 51.53 kB / 0.5661 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005935/0.6969, allocations: 199.8 kB / 0.5663 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003925/0.7008, allocations: 2.41 MB / 0.5687 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02984/0.7306, allocations: 11.77 MB / 0.5802 GB, free: 9.684 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09163/0.8223, allocations: 51.54 MB / 0.6305 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3978/1.22, allocations: 4.727 MB / 0.6351 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005439/1.226, allocations: 2.959 MB / 0.638 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02582/1.252, allocations: 12.86 MB / 0.6506 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/1.252, allocations: 53.52 kB / 0.6506 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 8.455e-06/1.252, allocations: 0 / 0.6506 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1597/1.411, allocations: 43.46 MB / 0.6931 GB, free: 92.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/1.412, allocations: 235.6 kB / 0.6933 GB, free: 91.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/1.418, allocations: 4.794 MB / 0.698 GB, free: 87.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/1.419, allocations: 61.7 kB / 0.698 GB, free: 87.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/1.422, allocations: 3.843 MB / 0.7018 GB, free: 83.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.423, allocations: 0.9276 MB / 0.7027 GB, free: 82.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002208/1.425, allocations: 1.517 MB / 0.7042 GB, free: 80.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/1.425, allocations: 306.6 kB / 0.7045 GB, free: 80.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004566/1.43, allocations: 3.442 MB / 0.7078 GB, free: 77.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008746/1.439, allocations: 7.701 MB / 0.7153 GB, free: 67.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/1.453, allocations: 11.87 MB / 0.7269 GB, free: 53.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002171/1.454, allocations: 40 kB / 0.727 GB, free: 53.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03345/1.487, allocations: 14.48 MB / 0.7411 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/1.487, allocations: 75.53 kB / 0.7412 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002735/1.487, allocations: 156.9 kB / 0.7413 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/1.501, allocations: 4.021 MB / 0.7453 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005975/1.507, allocations: 1.63 MB / 0.7469 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02896/1.536, allocations: 19.85 MB / 0.7662 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009237/1.545, allocations: 459.4 kB / 0.7667 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/1.548, allocations: 436 kB / 0.7671 GB, free: 12.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008448/1.556, allocations: 2.657 MB / 0.7697 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/1.558, allocations: 430.9 kB / 0.7701 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/1.578, allocations: 8.644 MB / 0.7785 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/1.578, allocations: 31.98 kB / 0.7786 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-05/1.578, allocations: 12 kB / 0.7786 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-05/1.578, allocations: 11.95 kB / 0.7786 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04594/1.624, allocations: 17.83 MB / 0.796 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/1.625, allocations: 0 / 0.796 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.627, allocations: 403.4 kB / 0.7964 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01358/1.641, allocations: 4.073 MB / 0.8004 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000659/1.641, allocations: 36 kB / 0.8004 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02935/1.671, allocations: 18.22 MB / 0.8182 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.671, allocations: 0 / 0.8182 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03003/1.701, allocations: 13.24 MB / 0.8311 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/1.705, allocations: 0.96 MB / 0.8321 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/1.707, allocations: 47.98 kB / 0.8321 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004061/1.711, allocations: 211.7 kB / 0.8323 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/1.712, allocations: 150.3 kB / 0.8324 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006131/1.713, allocations: 63.5 kB / 0.8325 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00839/1.721, allocations: 3.005 MB / 0.8354 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.41e-07/1.722, allocations: 0 / 0.8354 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01161/1.733, allocations: 1.486 MB / 0.8369 GB, free: 4.305 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/1.735, allocations: 222.6 kB / 0.8371 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01742/1.752, allocations: 8.283 MB / 0.8452 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.752, allocations: 0 / 0.8452 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006606/1.759, allocations: 3.112 MB / 0.8482 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3358/2.095, allocations: 0.5285 MB / 0.8488 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/2.128, allocations: 12.87 MB / 0.8613 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008096/2.136, allocations: 4.112 MB / 0.8653 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006667/2.143, allocations: 2.201 MB / 0.8675 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/2.144, allocations: 281.5 kB / 0.8678 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.103e-06/2.144, allocations: 0 / 0.8678 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1084/2.253, allocations: 61.55 MB / 0.9279 GB, free: 142.7 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)