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.001028/0.001028, allocations: 86.09 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.001085/0.001085, 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.882/1.882, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4436/0.4436, allocations: 40 MB / 310.4 MB, free: 9.934 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.0006382/0.0006383, allocations: 20 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1654, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3567/0.5222, allocations: 43.69 MB / 480.5 MB, free: 27.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02931/0.5516, allocations: 10.13 MB / 490.6 MB, free: 20.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01248/0.5641, allocations: 206.8 kB / 490.8 MB, free: 20.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008341/0.5725, allocations: 2.229 MB / 493 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02163/0.5941, allocations: 6.797 MB / 499.8 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.5988, allocations: 0.9793 MB / 0.4891 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03625/0.6351, allocations: 20.48 MB / 0.5091 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.6463, allocations: 6.294 MB / 0.5152 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.6508, allocations: 1.701 MB / 0.5169 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.6546, allocations: 2.683 MB / 0.5195 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007126/0.6554, allocations: 204 kB / 0.5197 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.6579, allocations: 1.198 MB / 0.5209 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002217/0.6601, allocations: 2.283 MB / 0.5231 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.662, allocations: 1.084 MB / 0.5242 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.6746, allocations: 7.719 MB / 0.5317 GB, free: 6.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.6747, allocations: 4 kB / 0.5317 GB, free: 6.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6747, allocations: 0 / 0.5317 GB, free: 6.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004175/0.6751, allocations: 0 / 0.5317 GB, free: 6.871 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02172/0.6969, allocations: 5.462 MB / 0.537 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.291e-05/0.697, allocations: 16.03 kB / 0.5371 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02683/0.7238, allocations: 2.773 MB / 0.5398 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/0.7387, allocations: 3.659 MB / 0.5433 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/0.7394, allocations: 349.8 kB / 0.5437 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/0.7426, allocations: 431.7 kB / 0.5441 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04618/0.7888, allocations: 13.86 MB / 0.5576 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002581/0.7891, allocations: 47.53 kB / 0.5577 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.7902, allocations: 207.8 kB / 0.5579 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005541/0.7958, allocations: 2.414 MB / 0.5602 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03632/0.8321, allocations: 11.75 MB / 0.5717 GB, free: 12.91 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.09036/0.9225, allocations: 51.8 MB / 0.6223 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.9356, allocations: 4.719 MB / 0.6269 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3236/1.259, allocations: 2.956 MB / 0.6298 GB, free: 140.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02005/1.279, allocations: 12.85 MB / 0.6423 GB, free: 136.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/1.279, allocations: 60.38 kB / 0.6424 GB, free: 136.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 8.195e-06/1.279, allocations: 0 / 0.6424 GB, free: 136.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1621/1.441, allocations: 43.34 MB / 0.6847 GB, free: 124.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/1.442, allocations: 238.2 kB / 0.6849 GB, free: 124.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.453, allocations: 4.765 MB / 0.6896 GB, free: 122.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.454, allocations: 65.33 kB / 0.6896 GB, free: 122.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003822/1.458, allocations: 3.833 MB / 0.6934 GB, free: 119.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002345/1.46, allocations: 0.941 MB / 0.6943 GB, free: 118.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008669/1.461, allocations: 146.9 kB / 0.6944 GB, free: 118.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005041/1.461, allocations: 0.6203 MB / 0.6951 GB, free: 117.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0076/1.469, allocations: 3.411 MB / 0.6984 GB, free: 114.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/1.48, allocations: 7.68 MB / 0.7059 GB, free: 104.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.491, allocations: 4.951 MB / 0.7107 GB, free: 99.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002616/1.491, allocations: 44 kB / 0.7108 GB, free: 99.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.04798/1.539, allocations: 14.41 MB / 0.7248 GB, free: 85.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000391/1.54, allocations: 80.19 kB / 0.7249 GB, free: 85.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004328/1.54, allocations: 148 kB / 0.725 GB, free: 85.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01713/1.557, allocations: 4.044 MB / 0.729 GB, free: 80.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008715/1.566, allocations: 1.638 MB / 0.7306 GB, free: 79.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03923/1.605, allocations: 18.66 MB / 0.7488 GB, free: 60.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/1.616, allocations: 459.4 kB / 0.7493 GB, free: 60.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/1.619, allocations: 443.2 kB / 0.7497 GB, free: 59.68 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00868/1.627, allocations: 2.654 MB / 0.7523 GB, free: 57.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/1.629, allocations: 430.5 kB / 0.7527 GB, free: 56.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/1.649, allocations: 8.629 MB / 0.7611 GB, free: 47.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-05/1.649, allocations: 28 kB / 0.7611 GB, free: 47.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.953e-05/1.649, allocations: 12 kB / 0.7611 GB, free: 47.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.968e-05/1.649, allocations: 11.95 kB / 0.7612 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03595/1.685, allocations: 17.9 MB / 0.7786 GB, free: 29.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/1.685, allocations: 4 kB / 0.7786 GB, free: 29.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.687, allocations: 395.4 kB / 0.779 GB, free: 29.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01059/1.698, allocations: 4.073 MB / 0.783 GB, free: 25.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006217/1.698, allocations: 43.98 kB / 0.783 GB, free: 25.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/1.72, allocations: 17.09 MB / 0.7997 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.72, allocations: 4.031 kB / 0.7997 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3248/2.045, allocations: 13.2 MB / 0.8126 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/2.049, allocations: 0.9634 MB / 0.8136 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/2.05, allocations: 46 kB / 0.8136 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/2.053, allocations: 212.3 kB / 0.8138 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006443/2.053, allocations: 145 kB / 0.8139 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/2.053, allocations: 71.2 kB / 0.814 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004849/2.058, allocations: 2.969 MB / 0.8169 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.4e-07/2.058, allocations: 0 / 0.8169 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007666/2.066, allocations: 1.493 MB / 0.8184 GB, free: 141.2 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000737/2.067, allocations: 204.9 kB / 0.8186 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01246/2.079, allocations: 8.22 MB / 0.8266 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.079, allocations: 0 / 0.8266 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004511/2.084, allocations: 3.105 MB / 0.8296 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/2.088, allocations: 0.5099 MB / 0.8301 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/2.115, allocations: 15.12 MB / 0.8449 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006137/2.121, allocations: 4.101 MB / 0.8489 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006011/2.127, allocations: 2.199 MB / 0.8511 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/2.128, allocations: 286.1 kB / 0.8513 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/2.128, allocations: 0 / 0.8513 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1015/2.23, allocations: 59.92 MB / 0.9098 GB, free: 91.85 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: