Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002145, allocations: 195 kB / 16.53 MB, free: 6.664 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.866/1.866, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3435/0.3435, allocations: 37.99 MB / 307.8 MB, free: 10.04 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.0028/0.002801, allocations: 80.73 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1559, allocations: 56.46 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01403/0.17, allocations: 12.63 MB / 444.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008586/0.1786, allocations: 3.724 MB / 448.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.1809, allocations: 59.94 kB / 448.1 MB, free: 6.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005964/0.1869, allocations: 3.31 MB / 451.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.1898, allocations: 0.9366 MB / 452.4 MB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.1921, allocations: 0.8265 MB / 453.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2244/0.4165, allocations: 2.398 MB / 455.6 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.4204, allocations: 4.142 MB / 459.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.4223, allocations: 1.4 MB / 461.1 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.4242, allocations: 1.806 MB / 462.9 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000546/0.4247, allocations: 368.7 kB / 463.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.4263, allocations: 1.01 MB / 464.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.4275, allocations: 1.679 MB / 466 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.4293, allocations: 1.976 MB / 468 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.4339, allocations: 6.229 MB / 474.2 MB, free: 31.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4339, allocations: 0 / 474.2 MB, free: 31.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4339, allocations: 4 kB / 474.2 MB, free: 31.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001257/0.434, allocations: 0 / 474.2 MB, free: 31.66 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.009559/0.4436, allocations: 4.284 MB / 478.5 MB, free: 29.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.52e-05/0.4437, allocations: 20.92 kB / 478.5 MB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.4468, allocations: 0.4977 MB / 479 MB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.4517, allocations: 1.796 MB / 480.8 MB, free: 28.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.452, allocations: 239.1 kB / 481 MB, free: 28.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008154/0.4528, allocations: 315.6 kB / 481.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03004/0.4829, allocations: 9.225 MB / 490.6 MB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.4831, allocations: 17.14 kB / 490.6 MB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001144/0.4842, allocations: 144.7 kB / 490.7 MB, free: 24.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005241/0.4895, allocations: 1.59 MB / 492.3 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/0.5209, allocations: 7.471 MB / 499.8 MB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06337/0.5843, allocations: 28.35 MB / 0.5158 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.5973, allocations: 2.473 MB / 0.5182 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/0.601, allocations: 1.283 MB / 0.5194 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/0.6188, allocations: 7.971 MB / 0.5272 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.6189, allocations: 47.22 kB / 0.5273 GB, free: 5.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 3.106e-06/0.6189, allocations: 0 / 0.5273 GB, free: 5.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=101): time 0.02154/0.6404, allocations: 7.676 MB / 0.5348 GB, free: 14.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.6405, allocations: 141.5 kB / 0.5349 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.6445, allocations: 2.702 MB / 0.5375 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.6447, allocations: 41.7 kB / 0.5376 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.6464, allocations: 2.391 MB / 0.5399 GB, free: 8.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.6469, allocations: 420.2 kB / 0.5403 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.648, allocations: 0.8015 MB / 0.5411 GB, free: 7.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6481, allocations: 313 kB / 0.5414 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.6501, allocations: 1.265 MB / 0.5426 GB, free: 5.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/0.6539, allocations: 3.623 MB / 0.5462 GB, free: 1.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0058/0.6597, allocations: 5.202 MB / 0.5512 GB, free: 11.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.812e-05/0.6598, allocations: 28 kB / 0.5513 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.009536/0.6694, allocations: 4.797 MB / 0.5559 GB, free: 6.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.6695, allocations: 44.25 kB / 0.556 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/0.6697, allocations: 84 kB / 0.5561 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.6699, allocations: 112 kB / 0.5562 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.6731, allocations: 0.9903 MB / 0.5571 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001647/0.6733, allocations: 159.4 kB / 0.5573 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.6762, allocations: 215.8 kB / 0.5575 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004668/0.6767, allocations: 244 kB / 0.5577 GB, free: 4.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 380 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (511): * Single equations (assignments): 511 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002697/0.6794, allocations: 1.589 MB / 0.5593 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/0.6799, allocations: 229 kB / 0.5595 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.6827, allocations: 1.525 MB / 0.561 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.6828, allocations: 12 kB / 0.561 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.6828, allocations: 4 kB / 0.561 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.6828, allocations: 15.84 kB / 0.561 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.6944, allocations: 6.147 MB / 0.567 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.6945, allocations: 16 kB / 0.567 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6955, allocations: 248.5 kB / 0.5673 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.573e-05/0.6956, allocations: 20 kB / 0.5673 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.96e-05/0.6957, allocations: 51.98 kB / 0.5673 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/0.6957, allocations: 31.86 kB / 0.5674 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-05/0.6957, allocations: 23.88 kB / 0.5674 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.6986, allocations: 2.144 MB / 0.5695 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.6993, allocations: 322 kB / 0.5698 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.6998, allocations: 39.98 kB / 0.5698 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.701, allocations: 63.95 kB / 0.5699 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.7012, allocations: 132 kB / 0.57 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.7014, allocations: 55.98 kB / 0.5701 GB, free: 7.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002755/0.7041, allocations: 1.728 MB / 0.5718 GB, free: 5.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7041, allocations: 0 / 0.5718 GB, free: 5.664 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003353/0.7075, allocations: 0.7031 MB / 0.5725 GB, free: 4.961 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 0 () * 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 (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004308/0.7079, allocations: 214.5 kB / 0.5727 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005114/0.713, allocations: 3.107 MB / 0.5757 GB, free: 1.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.7131, allocations: 5.875 kB / 0.5757 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.7141, allocations: 0.7247 MB / 0.5764 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.716, allocations: 339.2 kB / 0.5767 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.7284, allocations: 7.03 MB / 0.5836 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003883/0.7323, allocations: 2.743 MB / 0.5863 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003117/0.7355, allocations: 1.057 MB / 0.5873 GB, free: 5.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.7361, allocations: 187.3 kB / 0.5875 GB, free: 5.336 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7361, allocations: 0 / 0.5875 GB, free: 5.336 MB / 462.1 MB Notification: Performance of Templates: time 0.04961/0.7857, allocations: 23.52 MB / 0.6105 GB, free: 13.92 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)