Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009315/0.0009316, allocations: 96.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.4 MB, free: 9.719 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.19 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002599, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 63.57 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2626/0.3778, allocations: 46.6 MB / 0.5179 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.3996, allocations: 10.53 MB / 0.5282 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009915/0.4095, allocations: 206.9 kB / 0.5284 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.4117, allocations: 0.5088 MB / 0.5289 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006626/0.4183, allocations: 2.053 MB / 0.5309 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.4213, allocations: 1.079 MB / 0.5319 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.4316, allocations: 8.342 MB / 0.5401 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008397/0.44, allocations: 7.039 MB / 0.547 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.4429, allocations: 1.57 MB / 0.5485 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.447, allocations: 2.688 MB / 0.5511 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009694/0.448, allocations: 200 kB / 0.5513 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.4514, allocations: 1.429 MB / 0.5527 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002782/0.4542, allocations: 2.313 MB / 0.555 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004153/0.4584, allocations: 2.604 MB / 0.5575 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007889/0.4663, allocations: 7.677 MB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4663, allocations: 0 / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4663, allocations: 0 / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.4666, allocations: 4 kB / 0.565 GB, free: 15.09 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.01247/0.4791, allocations: 5.349 MB / 0.5702 GB, free: 9.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4792, allocations: 12.88 kB / 0.5702 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.4977, allocations: 2.777 MB / 0.573 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008654/0.5064, allocations: 3.575 MB / 0.5765 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000431/0.5069, allocations: 352.1 kB / 0.5768 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.5089, allocations: 426.8 kB / 0.5772 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/0.537, allocations: 13.9 MB / 0.5908 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002434/0.5372, allocations: 51.52 kB / 0.5908 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.5386, allocations: 203.8 kB / 0.591 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003939/0.5425, allocations: 2.411 MB / 0.5934 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.5674, allocations: 11.8 MB / 0.6049 GB, free: 5.578 MB / 446.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.06532/0.6328, allocations: 51.79 MB / 0.6555 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.6456, allocations: 4.754 MB / 0.6601 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004109/0.6498, allocations: 2.956 MB / 0.663 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01875/0.6686, allocations: 12.94 MB / 0.6756 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.6686, allocations: 59.81 kB / 0.6757 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 5.029e-06/0.6687, allocations: 0 / 0.6757 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.3881/1.057, allocations: 43.11 MB / 0.7178 GB, free: 194.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.057, allocations: 233.7 kB / 0.718 GB, free: 194.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/1.068, allocations: 4.774 MB / 0.7227 GB, free: 193.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006426/1.069, allocations: 65.67 kB / 0.7227 GB, free: 193.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003092/1.072, allocations: 3.831 MB / 0.7265 GB, free: 191.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.074, allocations: 0.9419 MB / 0.7274 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/1.075, allocations: 0.6332 MB / 0.728 GB, free: 190.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/1.075, allocations: 301.8 kB / 0.7283 GB, free: 190.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00682/1.082, allocations: 3.452 MB / 0.7317 GB, free: 188.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008978/1.091, allocations: 7.713 MB / 0.7392 GB, free: 182 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.104, allocations: 11.87 MB / 0.7508 GB, free: 172.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001766/1.104, allocations: 39.56 kB / 0.7508 GB, free: 172.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02787/1.132, allocations: 14.48 MB / 0.765 GB, free: 167.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/1.132, allocations: 76.06 kB / 0.765 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/1.133, allocations: 151.5 kB / 0.7652 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/1.144, allocations: 4.025 MB / 0.7691 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/1.15, allocations: 1.634 MB / 0.7707 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/1.173, allocations: 18.68 MB / 0.789 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/1.18, allocations: 464.4 kB / 0.7894 GB, free: 143.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/1.181, allocations: 436.6 kB / 0.7898 GB, free: 143.5 MB / 0.545 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.004882/1.186, allocations: 2.65 MB / 0.7924 GB, free: 140.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009488/1.187, allocations: 426.5 kB / 0.7928 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.204, allocations: 8.649 MB / 0.8013 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.273e-05/1.204, allocations: 30.56 kB / 0.8013 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/1.204, allocations: 12 kB / 0.8013 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/1.204, allocations: 11.95 kB / 0.8013 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02959/1.234, allocations: 17.91 MB / 0.8188 GB, free: 113.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/1.234, allocations: 0 / 0.8188 GB, free: 113.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/1.236, allocations: 402.6 kB / 0.8192 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/1.247, allocations: 4.081 MB / 0.8232 GB, free: 109.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003945/1.248, allocations: 43.98 kB / 0.8232 GB, free: 109.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/1.268, allocations: 17.11 MB / 0.8399 GB, free: 91.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.268, allocations: 0 / 0.8399 GB, free: 91.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02143/1.289, allocations: 13.23 MB / 0.8528 GB, free: 78.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.291, allocations: 479.4 kB / 0.8533 GB, free: 78.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/1.291, allocations: 36 kB / 0.8533 GB, free: 78.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.294, allocations: 219.7 kB / 0.8535 GB, free: 77.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/1.294, allocations: 154.1 kB / 0.8537 GB, free: 77.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.294, allocations: 60.86 kB / 0.8538 GB, free: 77.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003699/1.298, allocations: 2.977 MB / 0.8567 GB, free: 74.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/1.298, allocations: 0 / 0.8567 GB, free: 74.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005638/1.304, allocations: 1.478 MB / 0.8581 GB, free: 73.33 MB / 0.545 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.0005757/1.304, allocations: 218.7 kB / 0.8583 GB, free: 73.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.315, allocations: 8.271 MB / 0.8664 GB, free: 64.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/1.315, allocations: 0.9375 kB / 0.8664 GB, free: 64.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003592/1.318, allocations: 3.108 MB / 0.8694 GB, free: 61.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.322, allocations: 0.5062 MB / 0.8699 GB, free: 61.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.342, allocations: 16.23 MB / 0.8858 GB, free: 44.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/1.345, allocations: 4.076 MB / 0.8897 GB, free: 40.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.347, allocations: 339.4 kB / 0.8901 GB, free: 40.55 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/1.347, allocations: 0 / 0.8901 GB, free: 40.55 MB / 0.545 GB Notification: Performance of Templates: time 0.3787/1.725, allocations: 99.72 MB / 0.9875 GB, free: 131.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)