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.000882/0.0008822, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009417/0.0009419, allocations: 172.7 kB / 15.95 MB, free: 208 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.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.2974/0.2974, allocations: 38.03 MB / 308.4 MB, free: 10.33 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.0005674/0.0005677, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1132, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2569/0.3701, allocations: 43.69 MB / 477.6 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.3929, allocations: 10.13 MB / 487.8 MB, free: 23.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009284/0.4022, allocations: 211.8 kB / 488 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006685/0.409, allocations: 2.235 MB / 490.2 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01696/0.4259, allocations: 6.793 MB / 497 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.43, allocations: 0.9719 MB / 498 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02989/0.4599, allocations: 20.48 MB / 0.5063 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009698/0.4696, allocations: 6.295 MB / 0.5125 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.473, allocations: 1.702 MB / 0.5141 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.477, allocations: 2.684 MB / 0.5167 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007593/0.4778, allocations: 200 kB / 0.5169 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.48, allocations: 1.202 MB / 0.5181 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.4817, allocations: 2.287 MB / 0.5203 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.4828, allocations: 1.088 MB / 0.5214 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.4902, allocations: 7.719 MB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4903, allocations: 3.938 kB / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4903, allocations: 0 / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003714/0.4907, allocations: 0 / 0.5289 GB, free: 11.14 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.01199/0.5027, allocations: 5.459 MB / 0.5343 GB, free: 5.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.5027, allocations: 8.031 kB / 0.5343 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.517, allocations: 2.773 MB / 0.537 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008157/0.5251, allocations: 3.669 MB / 0.5406 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/0.5255, allocations: 344.6 kB / 0.5409 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.5268, allocations: 435.7 kB / 0.5413 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02589/0.5527, allocations: 13.85 MB / 0.5548 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.553, allocations: 51.53 kB / 0.5549 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00056/0.5535, allocations: 199.8 kB / 0.5551 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/0.5568, allocations: 2.41 MB / 0.5574 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.5794, allocations: 11.75 MB / 0.5689 GB, free: 1.191 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.05985/0.6393, allocations: 51.8 MB / 0.6195 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.6505, allocations: 4.73 MB / 0.6241 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003736/0.6542, allocations: 2.948 MB / 0.627 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.244/0.8982, allocations: 12.85 MB / 0.6395 GB, free: 141.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.8983, allocations: 54.16 kB / 0.6396 GB, free: 141.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 4.648e-06/0.8983, allocations: 0 / 0.6396 GB, free: 141.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1289/1.027, allocations: 43.33 MB / 0.6819 GB, free: 130.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/1.027, allocations: 237.3 kB / 0.6821 GB, free: 130 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005443/1.033, allocations: 4.764 MB / 0.6868 GB, free: 128.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004282/1.033, allocations: 61.42 kB / 0.6869 GB, free: 128.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/1.035, allocations: 3.844 MB / 0.6906 GB, free: 125.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008074/1.036, allocations: 0.9304 MB / 0.6915 GB, free: 124.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/1.036, allocations: 146.9 kB / 0.6917 GB, free: 124.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002716/1.036, allocations: 0.6241 MB / 0.6923 GB, free: 123.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/1.04, allocations: 3.412 MB / 0.6956 GB, free: 121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/1.046, allocations: 7.682 MB / 0.7031 GB, free: 111.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005395/1.051, allocations: 4.95 MB / 0.7079 GB, free: 106.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-05/1.051, allocations: 40 kB / 0.708 GB, free: 106.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02374/1.075, allocations: 14.42 MB / 0.7221 GB, free: 91.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/1.075, allocations: 68 kB / 0.7221 GB, free: 91.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.075, allocations: 148 kB / 0.7223 GB, free: 91.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009765/1.085, allocations: 4.046 MB / 0.7262 GB, free: 87.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/1.09, allocations: 1.63 MB / 0.7278 GB, free: 85.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/1.111, allocations: 18.68 MB / 0.746 GB, free: 67.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.117, allocations: 463.3 kB / 0.7465 GB, free: 66.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008587/1.118, allocations: 432 kB / 0.7469 GB, free: 66.25 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.004115/1.122, allocations: 2.662 MB / 0.7495 GB, free: 63.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.123, allocations: 430.4 kB / 0.7499 GB, free: 63.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/1.138, allocations: 8.629 MB / 0.7583 GB, free: 54.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.627e-05/1.138, allocations: 24 kB / 0.7584 GB, free: 54.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.138, allocations: 12 kB / 0.7584 GB, free: 54.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/1.138, allocations: 11.97 kB / 0.7584 GB, free: 54.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/1.165, allocations: 17.9 MB / 0.7759 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.165, allocations: 0 / 0.7759 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/1.167, allocations: 403.4 kB / 0.7762 GB, free: 36.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/1.178, allocations: 4.073 MB / 0.7802 GB, free: 32.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005069/1.178, allocations: 36 kB / 0.7803 GB, free: 32.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/1.198, allocations: 17.1 MB / 0.797 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.198, allocations: 3.984 kB / 0.797 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.217, allocations: 13.2 MB / 0.8099 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/1.22, allocations: 0.9678 MB / 0.8108 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/1.22, allocations: 43.23 kB / 0.8108 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.222, allocations: 219.7 kB / 0.811 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/1.223, allocations: 150.2 kB / 0.8112 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.223, allocations: 63.94 kB / 0.8113 GB, free: 100 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2204/1.443, allocations: 2.969 MB / 0.8142 GB, free: 129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.272e-06/1.443, allocations: 0 / 0.8142 GB, free: 129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007518/1.451, allocations: 1.489 MB / 0.8156 GB, free: 129 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 (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.0005791/1.451, allocations: 203.9 kB / 0.8158 GB, free: 128.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01148/1.463, allocations: 8.223 MB / 0.8238 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.463, allocations: 0 / 0.8238 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003946/1.467, allocations: 3.102 MB / 0.8269 GB, free: 126.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.47, allocations: 0.4958 MB / 0.8273 GB, free: 126.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/1.493, allocations: 15.12 MB / 0.8421 GB, free: 119.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004897/1.498, allocations: 4.108 MB / 0.8461 GB, free: 117.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005684/1.504, allocations: 2.201 MB / 0.8483 GB, free: 117.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.505, allocations: 280.5 kB / 0.8485 GB, free: 117.7 MB / 494.1 MB Notification: Performance of SimCode: time 2.054e-06/1.505, allocations: 4 kB / 0.8485 GB, free: 117.7 MB / 494.1 MB Notification: Performance of Templates: time 0.09181/1.597, allocations: 59.93 MB / 0.9071 GB, free: 80.18 MB / 494.1 MB 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: