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.008843/0.008843, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001379/0.001379, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.636/1.636, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1999/0.1999, allocations: 38.01 MB / 307.9 MB, free: 5.992 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.001676/0.001676, allocations: 72.56 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1249, allocations: 56.48 MB / 489.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01383/0.1388, allocations: 13.29 MB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00937/0.1482, allocations: 4.845 MB / 0.4957 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.1503, allocations: 87.75 kB / 0.4958 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006769/0.1571, allocations: 3.987 MB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.1634, allocations: 2.265 MB / 0.5019 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.1662, allocations: 1.178 MB / 0.5031 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008198/0.1744, allocations: 5.573 MB / 0.5085 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007027/0.1815, allocations: 5.182 MB / 0.5136 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2945/0.476, allocations: 2.188 MB / 0.5157 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005843/0.4819, allocations: 2.975 MB / 0.5186 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.4838, allocations: 0.5006 MB / 0.5191 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/0.488, allocations: 1.644 MB / 0.5207 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003963/0.492, allocations: 2.694 MB / 0.5233 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006211/0.4982, allocations: 3.026 MB / 0.5263 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.5143, allocations: 9.954 MB / 0.536 GB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5143, allocations: 1.031 kB / 0.536 GB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5143, allocations: 0 / 0.536 GB, free: 5.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004595/0.5148, allocations: 0 / 0.536 GB, free: 5.438 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.02616/0.541, allocations: 6.531 MB / 0.5424 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.541, allocations: 13.48 kB / 0.5424 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.5579, allocations: 2.707 MB / 0.545 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.5692, allocations: 3.805 MB / 0.5488 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/0.5697, allocations: 353.4 kB / 0.5491 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002843/0.5726, allocations: 431.3 kB / 0.5495 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03853/0.6111, allocations: 13.85 MB / 0.563 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003731/0.6115, allocations: 56.95 kB / 0.5631 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/0.6141, allocations: 200.9 kB / 0.5633 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004191/0.6184, allocations: 2.406 MB / 0.5656 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.028/0.6464, allocations: 11.76 MB / 0.5771 GB, free: 4.691 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.08936/0.7358, allocations: 51.54 MB / 0.6274 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/0.7502, allocations: 4.739 MB / 0.6321 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005699/0.756, allocations: 2.968 MB / 0.635 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02595/0.782, allocations: 12.86 MB / 0.6475 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.7821, allocations: 55.25 kB / 0.6476 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.731e-06/0.7821, allocations: 0 / 0.6476 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1601/0.9423, allocations: 43.45 MB / 0.69 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.9424, allocations: 227.6 kB / 0.6902 GB, free: 15.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/0.9538, allocations: 4.802 MB / 0.6949 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007041/0.9545, allocations: 61.7 kB / 0.695 GB, free: 10.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004188/0.9587, allocations: 3.841 MB / 0.6987 GB, free: 6.629 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002223/0.961, allocations: 0.9295 MB / 0.6996 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005397/0.9664, allocations: 1.511 MB / 0.7011 GB, free: 4.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9666, allocations: 309.1 kB / 0.7014 GB, free: 3.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006817/0.9734, allocations: 3.438 MB / 0.7048 GB, free: 452 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009568/0.983, allocations: 7.712 MB / 0.7123 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/0.9983, allocations: 11.87 MB / 0.7239 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/0.9984, allocations: 44 kB / 0.7239 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.3736/1.372, allocations: 14.47 MB / 0.738 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005109/1.373, allocations: 68.28 kB / 0.7381 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007312/1.373, allocations: 150.5 kB / 0.7383 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02543/1.399, allocations: 4.02 MB / 0.7422 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/1.411, allocations: 1.632 MB / 0.7438 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03679/1.447, allocations: 19.85 MB / 0.7632 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008402/1.456, allocations: 454.9 kB / 0.7636 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/1.458, allocations: 435.1 kB / 0.764 GB, free: 187.8 MB / 0.5762 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.007982/1.466, allocations: 2.668 MB / 0.7666 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.468, allocations: 430.4 kB / 0.767 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0185/1.486, allocations: 8.646 MB / 0.7755 GB, free: 182 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.397e-05/1.486, allocations: 24 kB / 0.7755 GB, free: 182 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.933e-05/1.486, allocations: 16 kB / 0.7755 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.856e-05/1.486, allocations: 11.95 kB / 0.7755 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03818/1.525, allocations: 17.84 MB / 0.7929 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/1.525, allocations: 4 kB / 0.7929 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.527, allocations: 399.4 kB / 0.7933 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/1.538, allocations: 4.07 MB / 0.7973 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000794/1.539, allocations: 47.16 kB / 0.7973 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/1.562, allocations: 18.21 MB / 0.8151 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.562, allocations: 2.031 kB / 0.8151 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02307/1.585, allocations: 13.22 MB / 0.828 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/1.588, allocations: 0.9666 MB / 0.829 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/1.59, allocations: 40 kB / 0.829 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.593, allocations: 217.1 kB / 0.8292 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009398/1.594, allocations: 146.2 kB / 0.8294 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004671/1.594, allocations: 63.98 kB / 0.8294 GB, free: 127 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006517/1.601, allocations: 2.993 MB / 0.8324 GB, free: 124 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/1.601, allocations: 0 / 0.8324 GB, free: 124 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01118/1.612, allocations: 1.507 MB / 0.8338 GB, free: 122.5 MB / 0.5762 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.001435/1.614, allocations: 224.6 kB / 0.834 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.628, allocations: 8.269 MB / 0.8421 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.628, allocations: 3.938 kB / 0.8421 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00485/1.633, allocations: 3.106 MB / 0.8452 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005619/1.638, allocations: 0.5247 MB / 0.8457 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/1.666, allocations: 12.9 MB / 0.8583 GB, free: 97.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0075/1.674, allocations: 4.108 MB / 0.8623 GB, free: 93.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005775/1.679, allocations: 2.196 MB / 0.8644 GB, free: 91.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.681, allocations: 287.4 kB / 0.8647 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of SimCode: time 1.713e-06/1.681, allocations: 0 / 0.8647 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.09864/1.779, allocations: 61.19 MB / 0.9245 GB, free: 29.79 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)