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.001333/0.001334, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001643/0.001643, allocations: 193.7 kB / 16.25 MB, free: 6.637 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.791/1.791, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.339/0.339, allocations: 37.98 MB / 307.4 MB, free: 9.984 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.001431/0.001431, allocations: 70.47 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1412, allocations: 56.48 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3008/0.442, allocations: 48.22 MB / 479.4 MB, free: 27.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.026/0.4681, allocations: 10.6 MB / 490 MB, free: 20.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01602/0.4841, allocations: 210.2 kB / 490.2 MB, free: 20.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007047/0.4914, allocations: 3.852 MB / 494.1 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00674/0.4982, allocations: 2.05 MB / 496.1 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.5011, allocations: 1.108 MB / 497.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008971/0.5101, allocations: 5.693 MB / 0.4911 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.5212, allocations: 5.465 MB / 0.4965 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/0.5277, allocations: 2.226 MB / 0.4987 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007384/0.5351, allocations: 3.277 MB / 0.5019 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003239/0.5384, allocations: 0.504 MB / 0.5024 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007042/0.5455, allocations: 1.663 MB / 0.504 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006951/0.5525, allocations: 2.706 MB / 0.5066 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01167/0.5642, allocations: 3.05 MB / 0.5096 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.5826, allocations: 9.743 MB / 0.5191 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5827, allocations: 0 / 0.5191 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5827, allocations: 0 / 0.5191 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005448/0.5833, allocations: 2.438 kB / 0.5191 GB, free: 1.695 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.02551/0.6088, allocations: 6.532 MB / 0.5255 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6089, allocations: 11.89 kB / 0.5255 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01992/0.6288, allocations: 2.723 MB / 0.5282 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.6417, allocations: 3.72 MB / 0.5318 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005217/0.6423, allocations: 354.4 kB / 0.5321 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/0.6454, allocations: 439.6 kB / 0.5326 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03646/0.6819, allocations: 13.84 MB / 0.5461 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004428/0.6824, allocations: 59.47 kB / 0.5461 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002214/0.6846, allocations: 195.8 kB / 0.5463 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004003/0.6887, allocations: 2.406 MB / 0.5487 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02649/0.7152, allocations: 11.76 MB / 0.5601 GB, free: 8.074 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.07558/0.7908, allocations: 51.79 MB / 0.6107 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.8041, allocations: 4.732 MB / 0.6154 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004706/0.8089, allocations: 2.956 MB / 0.6182 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3088/1.118, allocations: 12.85 MB / 0.6308 GB, free: 144.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/1.118, allocations: 56.94 kB / 0.6308 GB, free: 144.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 4.879e-06/1.118, allocations: 0 / 0.6308 GB, free: 144.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1847/1.302, allocations: 43.45 MB / 0.6733 GB, free: 133.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.303, allocations: 238.7 kB / 0.6735 GB, free: 133.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008515/1.311, allocations: 4.798 MB / 0.6782 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009347/1.312, allocations: 61.52 kB / 0.6783 GB, free: 131.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002694/1.315, allocations: 3.841 MB / 0.682 GB, free: 128.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001713/1.317, allocations: 0.9315 MB / 0.6829 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002499/1.319, allocations: 1.513 MB / 0.6844 GB, free: 127.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/1.319, allocations: 301.1 kB / 0.6847 GB, free: 127.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004388/1.324, allocations: 3.451 MB / 0.688 GB, free: 125.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006735/1.33, allocations: 7.707 MB / 0.6956 GB, free: 118.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.343, allocations: 11.87 MB / 0.7072 GB, free: 105.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/1.343, allocations: 44 kB / 0.7072 GB, free: 105 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02996/1.373, allocations: 14.47 MB / 0.7213 GB, free: 90.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.373, allocations: 69.25 kB / 0.7214 GB, free: 90.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/1.374, allocations: 155.9 kB / 0.7216 GB, free: 90.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/1.385, allocations: 4.025 MB / 0.7255 GB, free: 86.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005402/1.39, allocations: 1.63 MB / 0.7271 GB, free: 84.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/1.413, allocations: 19.86 MB / 0.7465 GB, free: 64.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007347/1.421, allocations: 459.4 kB / 0.7469 GB, free: 64.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/1.422, allocations: 440.6 kB / 0.7473 GB, free: 63.79 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.006046/1.428, allocations: 2.659 MB / 0.7499 GB, free: 61.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.43, allocations: 431.9 kB / 0.7503 GB, free: 60.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/1.445, allocations: 8.64 MB / 0.7588 GB, free: 52.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/1.446, allocations: 24 kB / 0.7588 GB, free: 52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/1.446, allocations: 12 kB / 0.7588 GB, free: 51.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.354e-05/1.446, allocations: 15.95 kB / 0.7588 GB, free: 51.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03112/1.477, allocations: 17.91 MB / 0.7763 GB, free: 34.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-05/1.477, allocations: 0 / 0.7763 GB, free: 34.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.479, allocations: 399.4 kB / 0.7767 GB, free: 33.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/1.49, allocations: 4.08 MB / 0.7807 GB, free: 29.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000661/1.491, allocations: 47.27 kB / 0.7807 GB, free: 29.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02121/1.512, allocations: 18.21 MB / 0.7985 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.512, allocations: 4.031 kB / 0.7985 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2993/1.811, allocations: 13.22 MB / 0.8114 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004771/1.816, allocations: 0.9642 MB / 0.8124 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/1.818, allocations: 37.47 kB / 0.8124 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/1.822, allocations: 216.3 kB / 0.8126 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007461/1.822, allocations: 148.1 kB / 0.8127 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/1.823, allocations: 65.05 kB / 0.8128 GB, free: 131.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00477/1.827, allocations: 2.998 MB / 0.8157 GB, free: 131.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.828, allocations: 0 / 0.8157 GB, free: 131.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009868/1.837, allocations: 1.49 MB / 0.8172 GB, free: 131.1 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.001017/1.838, allocations: 231.7 kB / 0.8174 GB, free: 131 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01822/1.857, allocations: 10.02 MB / 0.8272 GB, free: 128 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.857, allocations: 0 / 0.8272 GB, free: 128 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004982/1.862, allocations: 3.12 MB / 0.8302 GB, free: 126.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/1.866, allocations: 0.5184 MB / 0.8308 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/1.896, allocations: 15.66 MB / 0.846 GB, free: 118.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00746/1.903, allocations: 4.106 MB / 0.8501 GB, free: 117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007552/1.911, allocations: 2.199 MB / 0.8522 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.912, allocations: 277.8 kB / 0.8525 GB, free: 116.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/1.912, allocations: 0 / 0.8525 GB, free: 116.9 MB / 494.1 MB Notification: Performance of Templates: time 0.1157/2.028, allocations: 64.75 MB / 0.9157 GB, free: 71.89 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (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)