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.00133/0.00133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.793/1.793, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.4177/0.4177, allocations: 39.94 MB / 309.7 MB, free: 9.324 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.001515/0.001515, allocations: 66.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1646, allocations: 56.87 MB / 434.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01611/0.1807, allocations: 13.32 MB / 447.8 MB, free: 6.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1935, allocations: 4.845 MB / 452.6 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.1975, allocations: 79.81 kB / 452.7 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3445/0.542, allocations: 3.974 MB / 456.7 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.5537, allocations: 2.206 MB / 458.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005642/0.5594, allocations: 1.177 MB / 460.1 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.5747, allocations: 5.579 MB / 465.7 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/0.5879, allocations: 5.182 MB / 470.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.5944, allocations: 2.188 MB / 473 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008176/0.6027, allocations: 2.965 MB / 476 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003413/0.6061, allocations: 0.4996 MB / 476.5 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008287/0.6145, allocations: 1.649 MB / 478.1 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007075/0.6217, allocations: 2.672 MB / 480.8 MB, free: 31.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008909/0.6306, allocations: 3.023 MB / 483.8 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0257/0.6564, allocations: 9.675 MB / 493.5 MB, free: 26.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.6564, allocations: 1.219 kB / 493.5 MB, free: 26.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.6564, allocations: 0 / 493.5 MB, free: 26.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006554/0.6571, allocations: 2.344 kB / 493.5 MB, free: 26.24 MB / 382.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.02977/0.6869, allocations: 6.535 MB / 0.4883 GB, free: 22.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.687, allocations: 13.39 kB / 0.4883 GB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02087/0.7079, allocations: 2.711 MB / 0.491 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.7206, allocations: 3.734 MB / 0.4946 GB, free: 19.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/0.7213, allocations: 350.6 kB / 0.495 GB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003709/0.725, allocations: 433.6 kB / 0.4954 GB, free: 19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03273/0.7577, allocations: 13.85 MB / 0.5089 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.758, allocations: 47.53 kB / 0.509 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008157/0.7588, allocations: 204.3 kB / 0.5092 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00335/0.7621, allocations: 2.41 MB / 0.5115 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02645/0.7886, allocations: 11.76 MB / 0.523 GB, free: 10.53 MB / 398.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.07951/0.8682, allocations: 51.79 MB / 0.5736 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/0.8819, allocations: 4.739 MB / 0.5782 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004686/0.8866, allocations: 2.953 MB / 0.5811 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02188/0.9085, allocations: 12.87 MB / 0.5937 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.9087, allocations: 59.86 kB / 0.5937 GB, free: 304 kB / 462.1 MB Notification: Performance of pre-optimization done (n=197): time 7.344e-06/0.9087, allocations: 0 / 0.5937 GB, free: 304 kB / 462.1 MB Notification: Performance of matching and sorting (n=248): time 0.5191/1.428, allocations: 43.44 MB / 0.6361 GB, free: 144.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/1.428, allocations: 230.8 kB / 0.6364 GB, free: 144.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007749/1.436, allocations: 4.796 MB / 0.641 GB, free: 142.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008421/1.437, allocations: 65.27 kB / 0.6411 GB, free: 142.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002596/1.439, allocations: 3.838 MB / 0.6448 GB, free: 139.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001529/1.441, allocations: 0.9406 MB / 0.6458 GB, free: 139 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002498/1.443, allocations: 1.512 MB / 0.6472 GB, free: 138.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/1.443, allocations: 301.1 kB / 0.6475 GB, free: 138 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005333/1.449, allocations: 3.446 MB / 0.6509 GB, free: 136.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008169/1.457, allocations: 7.701 MB / 0.6584 GB, free: 129.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/1.474, allocations: 11.87 MB / 0.67 GB, free: 120.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002275/1.474, allocations: 42.03 kB / 0.67 GB, free: 120.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03781/1.512, allocations: 14.48 MB / 0.6842 GB, free: 115.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002809/1.512, allocations: 73.31 kB / 0.6843 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000381/1.513, allocations: 147.5 kB / 0.6844 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0128/1.525, allocations: 4.029 MB / 0.6883 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006433/1.532, allocations: 1.63 MB / 0.6899 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02811/1.56, allocations: 19.86 MB / 0.7093 GB, free: 96.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009698/1.57, allocations: 459.4 kB / 0.7098 GB, free: 96.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002785/1.572, allocations: 433.4 kB / 0.7102 GB, free: 95.74 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 (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.01118/1.584, allocations: 2.663 MB / 0.7128 GB, free: 93.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002401/1.586, allocations: 434.3 kB / 0.7132 GB, free: 92.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.606, allocations: 8.644 MB / 0.7216 GB, free: 83.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/1.606, allocations: 25.22 kB / 0.7216 GB, free: 83.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-05/1.606, allocations: 12 kB / 0.7217 GB, free: 83.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.531e-05/1.607, allocations: 15.91 kB / 0.7217 GB, free: 83.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04427/1.651, allocations: 17.9 MB / 0.7392 GB, free: 66.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.498e-05/1.651, allocations: 0 / 0.7392 GB, free: 66.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.653, allocations: 399.4 kB / 0.7395 GB, free: 65.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/1.665, allocations: 4.088 MB / 0.7435 GB, free: 61.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009143/1.666, allocations: 36 kB / 0.7436 GB, free: 61.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02313/1.69, allocations: 18.22 MB / 0.7614 GB, free: 43.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.69, allocations: 4.062 kB / 0.7614 GB, free: 43.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02582/1.715, allocations: 13.22 MB / 0.7743 GB, free: 29.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/1.72, allocations: 0.9678 MB / 0.7752 GB, free: 28.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002652/1.723, allocations: 43.69 kB / 0.7753 GB, free: 28.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004441/1.727, allocations: 217.7 kB / 0.7755 GB, free: 28.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/1.728, allocations: 146.2 kB / 0.7756 GB, free: 28.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000619/1.729, allocations: 60 kB / 0.7757 GB, free: 28.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007915/1.737, allocations: 3.001 MB / 0.7786 GB, free: 25.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.737, allocations: 4 kB / 0.7786 GB, free: 25.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01365/1.751, allocations: 1.485 MB / 0.78 GB, free: 24 MB / 494.1 MB 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.001985/1.753, allocations: 230.4 kB / 0.7803 GB, free: 23.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01769/1.77, allocations: 10.02 MB / 0.7901 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.77, allocations: 4.062 kB / 0.7901 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004844/1.775, allocations: 3.112 MB / 0.7931 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00613/1.781, allocations: 0.5265 MB / 0.7936 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/1.809, allocations: 13.03 MB / 0.8063 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3115/2.12, allocations: 4.108 MB / 0.8103 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007939/2.128, allocations: 2.196 MB / 0.8125 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/2.129, allocations: 281.5 kB / 0.8128 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.934e-06/2.129, allocations: 3.531 kB / 0.8128 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1325/2.262, allocations: 64.76 MB / 0.876 GB, free: 119.2 MB / 0.4981 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)