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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00188/0.00188, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.72/1.72, allocations: 205.1 MB / 222 MB, free: 4.766 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.4032/0.4032, allocations: 39.94 MB / 309.3 MB, free: 9.648 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.001374/0.001374, allocations: 58.42 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1461, allocations: 56.89 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.283/0.4292, allocations: 47.56 MB / 481.4 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.456, allocations: 9.472 MB / 490.8 MB, free: 19.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01249/0.4685, allocations: 195.2 kB / 491 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0057/0.4743, allocations: 3.321 MB / 494.4 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.4774, allocations: 0.8784 MB / 495.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.4793, allocations: 0.7461 MB / 496 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003621/0.4829, allocations: 3.827 MB / 499.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/0.4876, allocations: 4.082 MB / 0.4921 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.4898, allocations: 1.252 MB / 0.4933 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003899/0.4937, allocations: 1.876 MB / 0.4951 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.4949, allocations: 262.7 kB / 0.4954 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.4983, allocations: 0.9751 MB / 0.4963 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002709/0.501, allocations: 1.608 MB / 0.4979 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004425/0.5055, allocations: 1.871 MB / 0.4997 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.5169, allocations: 6.144 MB / 0.5057 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.517, allocations: 1.125 kB / 0.5057 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.517, allocations: 0 / 0.5057 GB, free: 8.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.5173, allocations: 3.938 kB / 0.5057 GB, free: 8.648 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.01622/0.5335, allocations: 4.29 MB / 0.5099 GB, free: 5.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.5336, allocations: 9.094 kB / 0.5099 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.5364, allocations: 0.5013 MB / 0.5104 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.5408, allocations: 1.809 MB / 0.5122 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.5411, allocations: 238.9 kB / 0.5124 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/0.5417, allocations: 311.1 kB / 0.5127 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.5613, allocations: 9.223 MB / 0.5217 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.573e-05/0.5615, allocations: 15.81 kB / 0.5217 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.5618, allocations: 143.9 kB / 0.5219 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002776/0.5646, allocations: 1.588 MB / 0.5234 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.5827, allocations: 7.478 MB / 0.5307 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05164/0.6344, allocations: 28.34 MB / 0.5584 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008219/0.6427, allocations: 2.463 MB / 0.5608 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.6445, allocations: 1.287 MB / 0.5621 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.656, allocations: 7.977 MB / 0.5699 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.6561, allocations: 47.2 kB / 0.5699 GB, free: 11.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.357e-06/0.6561, allocations: 0 / 0.5699 GB, free: 11.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=101): time 0.02347/0.6796, allocations: 7.679 MB / 0.5774 GB, free: 4.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.6798, allocations: 137.5 kB / 0.5775 GB, free: 4.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005153/0.6849, allocations: 2.71 MB / 0.5802 GB, free: 1.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002792/0.6852, allocations: 41.7 kB / 0.5802 GB, free: 1.312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/0.6872, allocations: 2.392 MB / 0.5825 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006319/0.6878, allocations: 410.9 kB / 0.5829 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/0.6894, allocations: 0.8093 MB / 0.5837 GB, free: 13.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6896, allocations: 309.2 kB / 0.584 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.6922, allocations: 1.265 MB / 0.5853 GB, free: 12.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/0.6971, allocations: 3.623 MB / 0.5888 GB, free: 7.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007242/0.7044, allocations: 5.215 MB / 0.5939 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.775e-05/0.7045, allocations: 24 kB / 0.5939 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.008507/0.713, allocations: 4.797 MB / 0.5986 GB, free: 12.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.7131, allocations: 43.94 kB / 0.5986 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.7132, allocations: 87.94 kB / 0.5987 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.7133, allocations: 112.8 kB / 0.5988 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.7164, allocations: 0.9826 MB / 0.5998 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001144/0.7165, allocations: 171.2 kB / 0.6 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.7189, allocations: 215.7 kB / 0.6002 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/0.7193, allocations: 240 kB / 0.6004 GB, free: 10.21 MB / 478.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.002537/0.7218, allocations: 1.589 MB / 0.6019 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.7222, allocations: 229 kB / 0.6022 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.7245, allocations: 1.529 MB / 0.6037 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7245, allocations: 8 kB / 0.6037 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.7246, allocations: 7.938 kB / 0.6037 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.7246, allocations: 8.078 kB / 0.6037 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009199/0.7338, allocations: 6.144 MB / 0.6097 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.7338, allocations: 12 kB / 0.6097 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/0.7348, allocations: 251.5 kB / 0.6099 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.7349, allocations: 20 kB / 0.6099 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.735, allocations: 43.98 kB / 0.61 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.58e-05/0.735, allocations: 35.92 kB / 0.61 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/0.735, allocations: 23.88 kB / 0.61 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.738, allocations: 2.142 MB / 0.6121 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/0.7386, allocations: 322 kB / 0.6124 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.7389, allocations: 43.98 kB / 0.6125 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.7399, allocations: 63.95 kB / 0.6125 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.7401, allocations: 128 kB / 0.6127 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-05/0.7402, allocations: 55.98 kB / 0.6127 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00268/0.7429, allocations: 1.728 MB / 0.6144 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7429, allocations: 0 / 0.6144 GB, free: 11.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003893/0.7468, allocations: 0.6992 MB / 0.6151 GB, free: 10.59 MB / 494.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.0004544/0.7472, allocations: 218.7 kB / 0.6153 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005424/0.7527, allocations: 2.862 MB / 0.6181 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.7527, allocations: 0 / 0.6181 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.7538, allocations: 0.7239 MB / 0.6188 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.7558, allocations: 309.1 kB / 0.6191 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2155/0.9713, allocations: 8.712 MB / 0.6276 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003319/0.9747, allocations: 2.738 MB / 0.6303 GB, free: 146 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003267/0.978, allocations: 1.064 MB / 0.6313 GB, free: 146 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.9786, allocations: 182.6 kB / 0.6315 GB, free: 146 MB / 494.1 MB Notification: Performance of SimCode: time 1.823e-06/0.9786, allocations: 3.938 kB / 0.6315 GB, free: 146 MB / 494.1 MB Notification: Performance of Templates: time 0.04641/1.025, allocations: 22.68 MB / 0.6537 GB, free: 143.4 MB / 494.1 MB 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)