Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0069/0.0069, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001671/0.001671, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3929/0.3929, allocations: 38 MB / 307.9 MB, free: 10.2 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.001699/0.001699, allocations: 79.81 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4459, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01631/0.4623, allocations: 14.25 MB / 0.4919 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.4752, allocations: 3.852 MB / 0.4957 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004967/0.4802, allocations: 74.56 kB / 0.4958 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00879/0.4891, allocations: 3.944 MB / 0.4996 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.4947, allocations: 1.064 MB / 0.5006 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.4985, allocations: 0.7195 MB / 0.5013 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006835/0.5054, allocations: 2.533 MB / 0.5038 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007356/0.5128, allocations: 5.053 MB / 0.5088 GB, free: 32 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005216/0.518, allocations: 1.588 MB / 0.5103 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005229/0.5233, allocations: 2.03 MB / 0.5123 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.5256, allocations: 465.9 kB / 0.5127 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.5299, allocations: 0.9995 MB / 0.5137 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004407/0.5343, allocations: 1.931 MB / 0.5156 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007114/0.5415, allocations: 2.238 MB / 0.5178 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.5528, allocations: 7.466 MB / 0.5251 GB, free: 3.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.5528, allocations: 11.98 kB / 0.5251 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5528, allocations: 0 / 0.5251 GB, free: 3.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000257/0.5531, allocations: 0 / 0.5251 GB, free: 3.16 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: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01357/0.5667, allocations: 4.537 MB / 0.5295 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.5668, allocations: 11.89 kB / 0.5295 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.5689, allocations: 0.5378 MB / 0.5301 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004515/0.5735, allocations: 2.142 MB / 0.5321 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.5737, allocations: 267.3 kB / 0.5324 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000671/0.5744, allocations: 351.8 kB / 0.5327 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.5934, allocations: 9.262 MB / 0.5418 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.168e-05/0.5935, allocations: 15.81 kB / 0.5418 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.594, allocations: 159.9 kB / 0.5419 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/0.5965, allocations: 1.554 MB / 0.5435 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.6144, allocations: 7.224 MB / 0.5505 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05497/0.6694, allocations: 28 MB / 0.5779 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/0.6774, allocations: 2.173 MB / 0.58 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.6795, allocations: 1.101 MB / 0.5811 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/0.6918, allocations: 7.015 MB / 0.5879 GB, free: 1.074 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.6919, allocations: 43.22 kB / 0.588 GB, free: 1.023 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 4.849e-06/0.6919, allocations: 7.984 kB / 0.588 GB, free: 1.016 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02267/0.7146, allocations: 7.764 MB / 0.5955 GB, free: 9.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.7148, allocations: 175.2 kB / 0.5957 GB, free: 8.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/0.7202, allocations: 2.736 MB / 0.5984 GB, free: 6.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.7203, allocations: 45.7 kB / 0.5984 GB, free: 6.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002498/0.7228, allocations: 2.501 MB / 0.6009 GB, free: 3.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/0.7233, allocations: 414.9 kB / 0.6013 GB, free: 3.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.7247, allocations: 0.8249 MB / 0.6021 GB, free: 2.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7248, allocations: 305.1 kB / 0.6024 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.7269, allocations: 1.226 MB / 0.6036 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004122/0.731, allocations: 3.535 MB / 0.607 GB, free: 12.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007119/0.7382, allocations: 5.062 MB / 0.612 GB, free: 5.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.152e-05/0.7383, allocations: 24 kB / 0.612 GB, free: 5.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.008929/0.7472, allocations: 4.696 MB / 0.6166 GB, free: 1.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.7473, allocations: 40 kB / 0.6166 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.7475, allocations: 80.84 kB / 0.6167 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.7476, allocations: 108 kB / 0.6168 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/0.7507, allocations: 0.9592 MB / 0.6177 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001849/0.7509, allocations: 159.5 kB / 0.6179 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.7537, allocations: 219.4 kB / 0.6181 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004376/0.7542, allocations: 236 kB / 0.6183 GB, free: 15.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (514): * Single equations (assignments): 513 * Array equations: 1 * 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.003797/0.758, allocations: 1.75 MB / 0.62 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007974/0.7588, allocations: 244.8 kB / 0.6202 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.7613, allocations: 1.335 MB / 0.6215 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.7613, allocations: 12 kB / 0.6216 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.7614, allocations: 4 kB / 0.6216 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7614, allocations: 3.984 kB / 0.6216 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.7755, allocations: 6.638 MB / 0.6281 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/0.7756, allocations: 16 kB / 0.6281 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.7766, allocations: 252.4 kB / 0.6283 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-05/0.7766, allocations: 24 kB / 0.6283 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.7767, allocations: 48 kB / 0.6284 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.613e-05/0.7768, allocations: 31.86 kB / 0.6284 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.371e-05/0.7768, allocations: 31.97 kB / 0.6284 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/0.7803, allocations: 2.258 MB / 0.6306 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.7815, allocations: 333.8 kB / 0.631 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008086/0.7823, allocations: 51.98 kB / 0.631 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.784, allocations: 59.95 kB / 0.6311 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.7842, allocations: 127.9 kB / 0.6312 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.7843, allocations: 59.94 kB / 0.6312 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3817/1.166, allocations: 1.813 MB / 0.633 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.683e-06/1.166, allocations: 0.875 kB / 0.633 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006401/1.173, allocations: 0.716 MB / 0.6337 GB, free: 123.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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.0007278/1.173, allocations: 210.2 kB / 0.6339 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006909/1.18, allocations: 2.811 MB / 0.6367 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.611e-05/1.18, allocations: 2.562 kB / 0.6367 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.182, allocations: 0.715 MB / 0.6374 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.184, allocations: 342.5 kB / 0.6377 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.201, allocations: 7.536 MB / 0.645 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005436/1.207, allocations: 2.959 MB / 0.6479 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003923/1.211, allocations: 1.02 MB / 0.6489 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/1.212, allocations: 187.2 kB / 0.6491 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.133e-06/1.212, allocations: 0 / 0.6491 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.05674/1.268, allocations: 20.74 MB / 0.6694 GB, free: 110.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)