Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00887/0.00887, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001668/0.001668, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.589/1.589, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3453/0.3453, allocations: 39.94 MB / 309.8 MB, free: 9.402 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.2. 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.001513/0.001513, allocations: 71.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3286, allocations: 56.88 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01296/0.3416, allocations: 12.63 MB / 0.4935 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009534/0.3512, allocations: 3.721 MB / 0.4971 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.3538, allocations: 64.84 kB / 0.4972 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005784/0.3596, allocations: 3.309 MB / 0.5004 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.3622, allocations: 0.9368 MB / 0.5013 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.3641, allocations: 0.8201 MB / 0.5021 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004202/0.3683, allocations: 2.404 MB / 0.5044 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004366/0.3727, allocations: 4.143 MB / 0.5085 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.3752, allocations: 1.398 MB / 0.5099 GB, free: 200 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.3785, allocations: 1.81 MB / 0.5116 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008949/0.3794, allocations: 373.9 kB / 0.512 GB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.3817, allocations: 1.009 MB / 0.513 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.3836, allocations: 1.681 MB / 0.5146 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.3861, allocations: 1.975 MB / 0.5165 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007192/0.3933, allocations: 6.401 MB / 0.5228 GB, free: 5.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3933, allocations: 0 / 0.5228 GB, free: 5.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3933, allocations: 0 / 0.5228 GB, free: 5.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001953/0.3935, allocations: 3.938 kB / 0.5228 GB, free: 5.551 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01107/0.4046, allocations: 4.282 MB / 0.527 GB, free: 1.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4047, allocations: 11.89 kB / 0.527 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.4068, allocations: 0.4992 MB / 0.5275 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004406/0.4112, allocations: 1.829 MB / 0.5293 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.4114, allocations: 238.1 kB / 0.5295 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008833/0.4123, allocations: 311.9 kB / 0.5298 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/0.4299, allocations: 9.22 MB / 0.5388 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-05/0.43, allocations: 15.81 kB / 0.5388 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.4303, allocations: 143.9 kB / 0.5389 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/0.4329, allocations: 1.588 MB / 0.5405 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.4496, allocations: 7.479 MB / 0.5478 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04363/0.4933, allocations: 28.17 MB / 0.5753 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008459/0.5018, allocations: 2.459 MB / 0.5777 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.5038, allocations: 1.287 MB / 0.579 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.5163, allocations: 7.973 MB / 0.5867 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.5164, allocations: 43.22 kB / 0.5868 GB, free: 2.156 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 4.749e-06/0.5164, allocations: 0 / 0.5868 GB, free: 2.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=101): time 0.02276/0.5392, allocations: 7.683 MB / 0.5943 GB, free: 10.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.5393, allocations: 145.5 kB / 0.5944 GB, free: 10.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/0.544, allocations: 2.706 MB / 0.5971 GB, free: 7.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003159/0.5443, allocations: 41.7 kB / 0.5971 GB, free: 7.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/0.547, allocations: 2.384 MB / 0.5994 GB, free: 5.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/0.5477, allocations: 414.9 kB / 0.5998 GB, free: 4.652 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.5489, allocations: 0.8131 MB / 0.6006 GB, free: 3.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.549, allocations: 309.2 kB / 0.6009 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.5511, allocations: 1.261 MB / 0.6022 GB, free: 2.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.5554, allocations: 3.619 MB / 0.6057 GB, free: 13.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/0.5619, allocations: 5.222 MB / 0.6108 GB, free: 7.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.495e-05/0.562, allocations: 24 kB / 0.6108 GB, free: 7.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.007801/0.5698, allocations: 4.804 MB / 0.6155 GB, free: 2.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.5699, allocations: 44 kB / 0.6155 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.631e-05/0.57, allocations: 80 kB / 0.6156 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.5701, allocations: 112.7 kB / 0.6157 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/0.5731, allocations: 0.9865 MB / 0.6167 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001258/0.5732, allocations: 167.3 kB / 0.6169 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.5756, allocations: 211.8 kB / 0.6171 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/0.5759, allocations: 240 kB / 0.6173 GB, free: 396 kB / 494.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.002557/0.5785, allocations: 1.589 MB / 0.6188 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004742/0.579, allocations: 233 kB / 0.6191 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.5814, allocations: 1.521 MB / 0.6205 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5814, allocations: 12 kB / 0.6206 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5814, allocations: 7.922 kB / 0.6206 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5814, allocations: 7.984 kB / 0.6206 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009117/0.5906, allocations: 6.145 MB / 0.6266 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.5906, allocations: 12.22 kB / 0.6266 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5916, allocations: 255.5 kB / 0.6268 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-05/0.5917, allocations: 20 kB / 0.6268 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.971e-05/0.5918, allocations: 43.98 kB / 0.6269 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-05/0.5918, allocations: 31.92 kB / 0.6269 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.749e-05/0.5918, allocations: 23.88 kB / 0.6269 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.5946, allocations: 2.143 MB / 0.629 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.5953, allocations: 322 kB / 0.6293 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.5955, allocations: 43.98 kB / 0.6294 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009735/0.5965, allocations: 63.95 kB / 0.6294 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.5967, allocations: 124.1 kB / 0.6296 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/0.5968, allocations: 55.98 kB / 0.6296 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002344/0.5991, allocations: 1.724 MB / 0.6313 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5991, allocations: 0 / 0.6313 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003281/0.6024, allocations: 0.7031 MB / 0.632 GB, free: 0.7695 MB / 0.4981 GB 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.0004963/0.6029, allocations: 222.6 kB / 0.6322 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2633/0.8662, allocations: 2.883 MB / 0.635 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.289e-05/0.8663, allocations: 2.5 kB / 0.635 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.8678, allocations: 0.7287 MB / 0.6357 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.8702, allocations: 322.6 kB / 0.636 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.884, allocations: 6.929 MB / 0.6428 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003603/0.8876, allocations: 2.742 MB / 0.6455 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003335/0.891, allocations: 1.065 MB / 0.6465 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000701/0.8917, allocations: 186 kB / 0.6467 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.8917, allocations: 0 / 0.6467 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.05231/0.944, allocations: 21.1 MB / 0.6673 GB, free: 115.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)