Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006457/0.006457, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001192/0.001193, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.679/1.679, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3683/0.3683, allocations: 37.99 MB / 307.9 MB, free: 10.03 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.001538/0.001538, allocations: 68.27 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4032, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01521/0.4185, allocations: 13.3 MB / 0.491 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.4306, allocations: 4.841 MB / 0.4957 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.4348, allocations: 88.47 kB / 0.4958 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008466/0.4433, allocations: 3.991 MB / 0.4997 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009998/0.4534, allocations: 2.198 MB / 0.5018 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.4573, allocations: 1.183 MB / 0.503 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4697, allocations: 5.568 MB / 0.5084 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01023/0.48, allocations: 5.182 MB / 0.5135 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007283/0.4873, allocations: 2.198 MB / 0.5156 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00711/0.4945, allocations: 2.966 MB / 0.5185 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002308/0.4968, allocations: 0.5038 MB / 0.519 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.5016, allocations: 1.643 MB / 0.5206 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003591/0.5052, allocations: 2.665 MB / 0.5232 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004956/0.5102, allocations: 3.03 MB / 0.5262 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.5244, allocations: 9.944 MB / 0.5359 GB, free: 8.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5245, allocations: 0 / 0.5359 GB, free: 8.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5245, allocations: 7.938 kB / 0.5359 GB, free: 8.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003508/0.5248, allocations: 0 / 0.5359 GB, free: 8.051 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.02095/0.5458, allocations: 6.53 MB / 0.5423 GB, free: 1.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.5459, allocations: 15.89 kB / 0.5423 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01894/0.5648, allocations: 2.712 MB / 0.545 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.5759, allocations: 3.794 MB / 0.5487 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000522/0.5765, allocations: 350.2 kB / 0.549 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002717/0.5792, allocations: 435.7 kB / 0.5494 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/0.6094, allocations: 13.84 MB / 0.5629 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001998/0.6097, allocations: 59.52 kB / 0.563 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007354/0.6104, allocations: 199.8 kB / 0.5632 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004033/0.6145, allocations: 2.406 MB / 0.5655 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/0.6406, allocations: 11.75 MB / 0.577 GB, free: 12.94 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.07457/0.7152, allocations: 51.56 MB / 0.6274 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.7284, allocations: 4.743 MB / 0.632 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/0.7328, allocations: 2.952 MB / 0.6349 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3456/1.078, allocations: 12.85 MB / 0.6474 GB, free: 119 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/1.078, allocations: 56.33 kB / 0.6475 GB, free: 119 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.991e-06/1.078, allocations: 0.5625 kB / 0.6475 GB, free: 119 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1499/1.228, allocations: 43.45 MB / 0.6899 GB, free: 98.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.229, allocations: 235.6 kB / 0.6901 GB, free: 98.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006531/1.235, allocations: 4.794 MB / 0.6948 GB, free: 93.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008433/1.236, allocations: 61.7 kB / 0.6949 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002411/1.238, allocations: 3.838 MB / 0.6986 GB, free: 89.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.24, allocations: 0.9393 MB / 0.6995 GB, free: 88.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001937/1.242, allocations: 1.507 MB / 0.701 GB, free: 87.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/1.242, allocations: 301.1 kB / 0.7013 GB, free: 87.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004012/1.246, allocations: 3.442 MB / 0.7047 GB, free: 83.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/1.251, allocations: 7.709 MB / 0.7122 GB, free: 73.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/1.262, allocations: 11.87 MB / 0.7238 GB, free: 59.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/1.262, allocations: 40 kB / 0.7238 GB, free: 59.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02833/1.29, allocations: 14.49 MB / 0.738 GB, free: 45.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.291, allocations: 68 kB / 0.738 GB, free: 45.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.291, allocations: 156.1 kB / 0.7382 GB, free: 45.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/1.302, allocations: 4.025 MB / 0.7421 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/1.308, allocations: 1.634 MB / 0.7437 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/1.332, allocations: 19.84 MB / 0.7631 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006977/1.339, allocations: 463.4 kB / 0.7635 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.34, allocations: 432 kB / 0.7639 GB, free: 18.56 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.004972/1.345, allocations: 2.664 MB / 0.7665 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.346, allocations: 433.6 kB / 0.7669 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/1.363, allocations: 8.648 MB / 0.7754 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/1.363, allocations: 24 kB / 0.7754 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/1.363, allocations: 12 kB / 0.7754 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-05/1.363, allocations: 15.97 kB / 0.7754 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03704/1.4, allocations: 17.83 MB / 0.7929 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.356e-05/1.4, allocations: 0 / 0.7929 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.403, allocations: 391.4 kB / 0.7932 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.013/1.416, allocations: 4.084 MB / 0.7972 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008472/1.417, allocations: 43.94 kB / 0.7973 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/1.444, allocations: 18.2 MB / 0.815 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/1.444, allocations: 8.016 kB / 0.815 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02713/1.471, allocations: 13.22 MB / 0.828 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00346/1.475, allocations: 0.9601 MB / 0.8289 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.476, allocations: 43.94 kB / 0.8289 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/1.479, allocations: 215.7 kB / 0.8291 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006755/1.479, allocations: 144.3 kB / 0.8293 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/1.48, allocations: 63.98 kB / 0.8293 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005544/1.485, allocations: 3.001 MB / 0.8323 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/1.485, allocations: 0 / 0.8323 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008601/1.494, allocations: 1.488 MB / 0.8337 GB, free: 10.84 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.0009004/1.495, allocations: 230.6 kB / 0.8339 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.508, allocations: 8.28 MB / 0.842 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.508, allocations: 0 / 0.842 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004854/1.513, allocations: 3.117 MB / 0.8451 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/1.517, allocations: 0.521 MB / 0.8456 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3278/1.845, allocations: 12.89 MB / 0.8582 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00799/1.853, allocations: 4.11 MB / 0.8622 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006456/1.859, allocations: 2.196 MB / 0.8643 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.86, allocations: 287.6 kB / 0.8646 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.86, allocations: 0 / 0.8646 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.09979/1.96, allocations: 61.19 MB / 0.9244 GB, free: 147.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)