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.007718/0.007718, allocations: 100.3 kB / 15.73 MB, free: 6.469 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.001212/0.001212, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.737/1.737, allocations: 205.1 MB / 222.5 MB, free: 4.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.3725/0.3725, allocations: 38 MB / 307.9 MB, free: 9.961 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.001556/0.001557, allocations: 79.81 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4197, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01442/0.4342, allocations: 13.31 MB / 0.491 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.4478, allocations: 4.849 MB / 0.4957 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.4523, allocations: 84.75 kB / 0.4958 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009071/0.4615, allocations: 3.987 MB / 0.4997 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.4726, allocations: 2.199 MB / 0.5018 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.4768, allocations: 1.183 MB / 0.503 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0141/0.491, allocations: 5.572 MB / 0.5084 GB, free: 200 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.5018, allocations: 5.183 MB / 0.5135 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007567/0.5094, allocations: 2.192 MB / 0.5156 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008237/0.5177, allocations: 2.971 MB / 0.5185 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00265/0.5204, allocations: 0.5039 MB / 0.519 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005906/0.5263, allocations: 1.646 MB / 0.5206 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005149/0.5315, allocations: 2.693 MB / 0.5233 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007874/0.5394, allocations: 3.03 MB / 0.5262 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01702/0.5565, allocations: 9.944 MB / 0.5359 GB, free: 8.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5565, allocations: 3.938 kB / 0.536 GB, free: 8.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5565, allocations: 0 / 0.536 GB, free: 8.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000512/0.5571, allocations: 0 / 0.536 GB, free: 8.016 MB / 414.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.02334/0.5804, allocations: 6.53 MB / 0.5423 GB, free: 1.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.5805, allocations: 11.89 kB / 0.5423 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/0.6008, allocations: 2.719 MB / 0.545 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.613, allocations: 3.79 MB / 0.5487 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005203/0.6135, allocations: 354.2 kB / 0.549 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.616, allocations: 431.7 kB / 0.5494 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03609/0.6521, allocations: 13.85 MB / 0.563 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003673/0.6525, allocations: 55.53 kB / 0.563 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00219/0.6547, allocations: 199.8 kB / 0.5632 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004322/0.6591, allocations: 2.41 MB / 0.5656 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03025/0.6894, allocations: 11.75 MB / 0.577 GB, free: 12.9 MB / 462.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.08756/0.777, allocations: 51.55 MB / 0.6274 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/0.7917, allocations: 4.742 MB / 0.632 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005328/0.7971, allocations: 2.956 MB / 0.6349 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3609/1.158, allocations: 12.85 MB / 0.6474 GB, free: 119 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/1.158, allocations: 65.73 kB / 0.6475 GB, free: 119 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 4.689e-06/1.158, allocations: 0 / 0.6475 GB, free: 119 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1493/1.307, allocations: 43.45 MB / 0.6899 GB, free: 98.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/1.308, allocations: 239.7 kB / 0.6902 GB, free: 98.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006409/1.314, allocations: 4.79 MB / 0.6948 GB, free: 93.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007036/1.315, allocations: 65.7 kB / 0.6949 GB, free: 93.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.316, allocations: 3.833 MB / 0.6987 GB, free: 89.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.318, allocations: 0.9354 MB / 0.6996 GB, free: 88.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00186/1.319, allocations: 1.507 MB / 0.701 GB, free: 87.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/1.32, allocations: 301.1 kB / 0.7013 GB, free: 86.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/1.324, allocations: 3.45 MB / 0.7047 GB, free: 83.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005799/1.329, allocations: 7.705 MB / 0.7122 GB, free: 73.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/1.341, allocations: 11.87 MB / 0.7238 GB, free: 59.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.341, allocations: 40 kB / 0.7238 GB, free: 59.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02828/1.369, allocations: 14.49 MB / 0.738 GB, free: 45.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/1.369, allocations: 68 kB / 0.7381 GB, free: 45.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/1.369, allocations: 155.9 kB / 0.7382 GB, free: 45.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/1.381, allocations: 4.021 MB / 0.7421 GB, free: 41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005771/1.387, allocations: 1.63 MB / 0.7437 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02578/1.413, allocations: 19.85 MB / 0.7631 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007391/1.42, allocations: 451.4 kB / 0.7635 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/1.422, allocations: 443 kB / 0.764 GB, free: 18.51 MB / 0.4981 GB 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.005494/1.427, allocations: 2.661 MB / 0.7666 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.428, allocations: 426.5 kB / 0.767 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.446, allocations: 8.652 MB / 0.7754 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/1.446, allocations: 28 kB / 0.7754 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.446, allocations: 12 kB / 0.7755 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.616e-05/1.446, allocations: 7.969 kB / 0.7755 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/1.483, allocations: 17.84 MB / 0.7929 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/1.483, allocations: 0 / 0.7929 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/1.485, allocations: 399.3 kB / 0.7933 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01296/1.498, allocations: 4.073 MB / 0.7972 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007643/1.499, allocations: 43.94 kB / 0.7973 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02603/1.525, allocations: 18.22 MB / 0.8151 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.525, allocations: 0 / 0.8151 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/1.551, allocations: 13.23 MB / 0.828 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003336/1.554, allocations: 0.9562 MB / 0.8289 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/1.555, allocations: 43.94 kB / 0.829 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/1.557, allocations: 211.7 kB / 0.8292 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000695/1.558, allocations: 150.2 kB / 0.8293 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.558, allocations: 67.98 kB / 0.8294 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005179/1.563, allocations: 2.997 MB / 0.8323 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/1.563, allocations: 0 / 0.8323 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006797/1.57, allocations: 1.488 MB / 0.8338 GB, free: 10.79 MB / 0.5606 GB 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.0006537/1.571, allocations: 233.5 kB / 0.834 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.584, allocations: 8.278 MB / 0.8421 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.584, allocations: 0.8438 kB / 0.8421 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.588, allocations: 3.112 MB / 0.8451 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.592, allocations: 0.5232 MB / 0.8456 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3295/1.921, allocations: 12.88 MB / 0.8582 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/1.931, allocations: 4.116 MB / 0.8622 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008031/1.939, allocations: 2.193 MB / 0.8644 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/1.941, allocations: 283 kB / 0.8646 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/1.941, allocations: 0 / 0.8646 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1042/2.045, allocations: 61.55 MB / 0.9247 GB, free: 147.1 MB / 0.5762 GB 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)