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.001238/0.001238, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001599/0.001599, allocations: 177.3 kB / 15.94 MB, free: 228 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.912/1.912, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.4391/0.4391, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.000668/0.0006684, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1639, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3038/0.4678, allocations: 41.26 MB / 475.2 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.4919, allocations: 10.53 MB / 485.7 MB, free: 24.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01063/0.5026, allocations: 206.1 kB / 485.9 MB, free: 24.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009661/0.5123, allocations: 2.012 MB / 487.9 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02646/0.5388, allocations: 5.906 MB / 493.8 MB, free: 21.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.5429, allocations: 0.9577 MB / 494.8 MB, free: 21.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02391/0.5668, allocations: 14.84 MB / 0.4977 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.578, allocations: 6.255 MB / 0.5038 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.5821, allocations: 1.391 MB / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.5857, allocations: 1.897 MB / 0.507 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.5867, allocations: 199.2 kB / 0.5072 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.5905, allocations: 1.172 MB / 0.5083 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004286/0.5948, allocations: 2.125 MB / 0.5104 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002887/0.5977, allocations: 1.094 MB / 0.5115 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.6099, allocations: 7.892 MB / 0.5192 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.61, allocations: 0 / 0.5192 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.61, allocations: 3.938 kB / 0.5192 GB, free: 4.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000431/0.6104, allocations: 0 / 0.5192 GB, free: 4.715 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.01541/0.6258, allocations: 5.756 MB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.6259, allocations: 11.97 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08865/0.7146, allocations: 8.653 MB / 0.5333 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.727, allocations: 4.127 MB / 0.5373 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.7276, allocations: 348.6 kB / 0.5376 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003161/0.7307, allocations: 427.7 kB / 0.5381 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04007/0.7709, allocations: 13.97 MB / 0.5517 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000517/0.7715, allocations: 51.53 kB / 0.5517 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003537/0.775, allocations: 199.8 kB / 0.5519 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005321/0.7804, allocations: 2.414 MB / 0.5543 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02965/0.8101, allocations: 11.82 MB / 0.5658 GB, free: 3.918 MB / 430.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.08909/0.8993, allocations: 51.69 MB / 0.6163 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.9135, allocations: 4.665 MB / 0.6209 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2879/1.201, allocations: 12.49 MB / 0.6331 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/1.202, allocations: 52.22 kB / 0.6331 GB, free: 139.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 4.709e-06/1.202, allocations: 0 / 0.6331 GB, free: 139.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.161/1.363, allocations: 42.69 MB / 0.6748 GB, free: 129.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/1.363, allocations: 233.1 kB / 0.675 GB, free: 129.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007641/1.37, allocations: 5.039 MB / 0.68 GB, free: 127.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006581/1.371, allocations: 66.84 kB / 0.68 GB, free: 127.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002334/1.373, allocations: 3.906 MB / 0.6838 GB, free: 124.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.375, allocations: 0.914 MB / 0.6847 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/1.375, allocations: 139.2 kB / 0.6849 GB, free: 124 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002844/1.375, allocations: 0.6063 MB / 0.6855 GB, free: 123.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/1.379, allocations: 3.231 MB / 0.6886 GB, free: 122.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/1.385, allocations: 7.492 MB / 0.6959 GB, free: 115.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/1.391, allocations: 4.77 MB / 0.7006 GB, free: 112.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-05/1.391, allocations: 44 kB / 0.7006 GB, free: 112.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02557/1.416, allocations: 13.79 MB / 0.7141 GB, free: 98.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/1.416, allocations: 68 kB / 0.7142 GB, free: 98.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/1.417, allocations: 152 kB / 0.7143 GB, free: 98.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/1.428, allocations: 3.796 MB / 0.718 GB, free: 94.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00544/1.433, allocations: 1.599 MB / 0.7196 GB, free: 92.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/1.456, allocations: 18.6 MB / 0.7377 GB, free: 74.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006849/1.463, allocations: 447.3 kB / 0.7382 GB, free: 73.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.464, allocations: 439.8 kB / 0.7386 GB, free: 73.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (857): * Single equations (assignments): 853 * 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.004773/1.469, allocations: 2.656 MB / 0.7412 GB, free: 70.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.47, allocations: 438.3 kB / 0.7416 GB, free: 70.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/1.486, allocations: 8.126 MB / 0.7495 GB, free: 62.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.273e-05/1.486, allocations: 28 kB / 0.7496 GB, free: 62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/1.486, allocations: 15.19 kB / 0.7496 GB, free: 61.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/1.486, allocations: 11.95 kB / 0.7496 GB, free: 61.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03212/1.518, allocations: 17.51 MB / 0.7667 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/1.518, allocations: 0 / 0.7667 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/1.52, allocations: 395.4 kB / 0.7671 GB, free: 44.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/1.531, allocations: 3.827 MB / 0.7708 GB, free: 40.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005553/1.532, allocations: 39.75 kB / 0.7708 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/1.552, allocations: 17.03 MB / 0.7875 GB, free: 22.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.552, allocations: 3.953 kB / 0.7875 GB, free: 22.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/1.574, allocations: 12.63 MB / 0.7998 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003375/1.577, allocations: 0.9443 MB / 0.8007 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009164/1.578, allocations: 40 kB / 0.8008 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.58, allocations: 211.6 kB / 0.801 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/1.581, allocations: 142.2 kB / 0.8011 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.581, allocations: 60.06 kB / 0.8012 GB, free: 8.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004431/1.585, allocations: 3.183 MB / 0.8043 GB, free: 5.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.585, allocations: 0 / 0.8043 GB, free: 5.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007805/1.593, allocations: 1.471 MB / 0.8057 GB, free: 4.234 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 (167): * Single equations (assignments): 163 * 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.0007708/1.594, allocations: 218.6 kB / 0.8059 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2484/1.842, allocations: 7.845 MB / 0.8136 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.842, allocations: 0 / 0.8136 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004822/1.847, allocations: 2.97 MB / 0.8165 GB, free: 149.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.851, allocations: 496.9 kB / 0.817 GB, free: 149.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/1.877, allocations: 14.82 MB / 0.8314 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004842/1.881, allocations: 4.217 MB / 0.8355 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00585/1.887, allocations: 2.176 MB / 0.8377 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000997/1.888, allocations: 292.3 kB / 0.8379 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/1.888, allocations: 3.172 kB / 0.8379 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.107/1.995, allocations: 59.39 MB / 0.8959 GB, free: 109.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: