Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.009452/0.009453, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.899/1.899, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.4466/0.4466, allocations: 40 MB / 310.7 MB, free: 9.566 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.0005498/0.0005497, allocations: 12.66 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 57.97 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3076/0.4648, allocations: 46.25 MB / 483.7 MB, free: 24.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0274/0.4923, allocations: 9.257 MB / 492.9 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01508/0.5074, allocations: 191.2 kB / 493.1 MB, free: 19.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.5091, allocations: 334.9 kB / 493.4 MB, free: 18.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.5126, allocations: 0.8882 MB / 494.3 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.5145, allocations: 0.5955 MB / 494.9 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.5189, allocations: 3.753 MB / 498.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007888/0.5268, allocations: 5.963 MB / 0.4928 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.5291, allocations: 0.9106 MB / 0.4937 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.5323, allocations: 1.454 MB / 0.4951 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009718/0.5333, allocations: 127.5 kB / 0.4952 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.5359, allocations: 0.7383 MB / 0.496 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.5387, allocations: 1.391 MB / 0.4973 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004093/0.5428, allocations: 1.646 MB / 0.4989 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.5554, allocations: 5.796 MB / 0.5046 GB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5555, allocations: 0 / 0.5046 GB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5555, allocations: 0.875 kB / 0.5046 GB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004095/0.5559, allocations: 0 / 0.5046 GB, free: 10.2 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.0155/0.5715, allocations: 3.42 MB / 0.5079 GB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.101e-05/0.5715, allocations: 18.02 kB / 0.5079 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/0.5755, allocations: 0.4934 MB / 0.5084 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/0.5809, allocations: 1.74 MB / 0.5101 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.5812, allocations: 240.7 kB / 0.5104 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.5824, allocations: 314.9 kB / 0.5107 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.6031, allocations: 8.702 MB / 0.5192 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.167e-05/0.6032, allocations: 16.97 kB / 0.5192 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/0.6035, allocations: 136.7 kB / 0.5193 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002587/0.6061, allocations: 1.558 MB / 0.5208 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.623, allocations: 6.736 MB / 0.5274 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/0.6688, allocations: 26.76 MB / 0.5535 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007013/0.6759, allocations: 2.079 MB / 0.5556 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.6777, allocations: 1.021 MB / 0.5566 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009612/0.6873, allocations: 6.679 MB / 0.5631 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.6874, allocations: 55.09 kB / 0.5631 GB, free: 5.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.777e-06/0.6874, allocations: 0 / 0.5631 GB, free: 5.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01898/0.7064, allocations: 6.737 MB / 0.5697 GB, free: 14.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.7066, allocations: 149.5 kB / 0.5699 GB, free: 14.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/0.7107, allocations: 2.552 MB / 0.5724 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.711, allocations: 49.77 kB / 0.5724 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001766/0.7128, allocations: 2.36 MB / 0.5747 GB, free: 9.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/0.7133, allocations: 403 kB / 0.5751 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/0.7137, allocations: 346 kB / 0.5754 GB, free: 8.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7138, allocations: 309.1 kB / 0.5757 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.7159, allocations: 1.132 MB / 0.5768 GB, free: 6.832 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00367/0.7196, allocations: 3.402 MB / 0.5801 GB, free: 2.312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.7261, allocations: 4.847 MB / 0.5849 GB, free: 12.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.742e-05/0.7262, allocations: 27.94 kB / 0.5849 GB, free: 12.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.008764/0.735, allocations: 4.464 MB / 0.5893 GB, free: 7.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.7351, allocations: 40 kB / 0.5893 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.53e-05/0.7352, allocations: 80 kB / 0.5894 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.7353, allocations: 108 kB / 0.5895 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.7383, allocations: 0.9241 MB / 0.5904 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001318/0.7384, allocations: 163.4 kB / 0.5905 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.7413, allocations: 183.9 kB / 0.5907 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/0.7417, allocations: 232 kB / 0.5909 GB, free: 6.129 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (495): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003458/0.7451, allocations: 1.585 MB / 0.5925 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006045/0.7458, allocations: 221.1 kB / 0.5927 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.7485, allocations: 1.275 MB / 0.5939 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.7485, allocations: 12 kB / 0.5939 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.7485, allocations: 0 / 0.5939 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.7485, allocations: 3.984 kB / 0.594 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.7589, allocations: 6.089 MB / 0.5999 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.759, allocations: 16 kB / 0.5999 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009358/0.7599, allocations: 255.6 kB / 0.6002 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.452e-05/0.7599, allocations: 27.94 kB / 0.6002 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.76, allocations: 43.98 kB / 0.6002 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-05/0.76, allocations: 31.88 kB / 0.6003 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.64e-05/0.7601, allocations: 27.86 kB / 0.6003 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.7632, allocations: 2.092 MB / 0.6023 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007746/0.764, allocations: 330 kB / 0.6026 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.7643, allocations: 39.98 kB / 0.6027 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/0.7652, allocations: 55.97 kB / 0.6027 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.7654, allocations: 135.9 kB / 0.6029 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/0.7655, allocations: 59.98 kB / 0.6029 GB, free: 9.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002977/0.7685, allocations: 1.663 MB / 0.6045 GB, free: 7.578 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7685, allocations: 3.938 kB / 0.6045 GB, free: 7.574 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004268/0.7728, allocations: 0.6757 MB / 0.6052 GB, free: 6.898 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 0 () * 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 (124): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005216/0.7733, allocations: 214.7 kB / 0.6054 GB, free: 6.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.7783, allocations: 2.623 MB / 0.608 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.7783, allocations: 256 / 0.608 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.7795, allocations: 0.6807 MB / 0.6086 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007345/0.7868, allocations: 322 kB / 0.6089 GB, free: 3.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.8048, allocations: 8.747 MB / 0.6175 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003877/0.8088, allocations: 2.742 MB / 0.6202 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003205/0.812, allocations: 1.025 MB / 0.6212 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.8125, allocations: 175.4 kB / 0.6213 GB, free: 6.105 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.8125, allocations: 3.938 kB / 0.6213 GB, free: 6.102 MB / 494.1 MB Notification: Performance of Templates: time 0.3031/1.116, allocations: 20.58 MB / 0.6414 GB, free: 143.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) Environment - environmentSimulation: