Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001081/0.001081, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001307/0.001307, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 222.1 MB, free: 5.469 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.3277/0.3277, allocations: 40.01 MB / 310.4 MB, free: 10.06 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.0005646/0.000565, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 57.95 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2776/0.4076, allocations: 47.71 MB / 484.5 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02215/0.4298, allocations: 9.812 MB / 494.3 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01167/0.4415, allocations: 213.2 kB / 494.5 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008879/0.4504, allocations: 2.267 MB / 496.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.468, allocations: 6.31 MB / 0.4913 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.4711, allocations: 0.5301 MB / 0.4918 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004623/0.4757, allocations: 3.311 MB / 0.4951 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009657/0.4854, allocations: 6.456 MB / 0.5014 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.4876, allocations: 1.026 MB / 0.5024 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.4906, allocations: 1.588 MB / 0.5039 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008216/0.4915, allocations: 146.8 kB / 0.5041 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.4937, allocations: 0.5797 MB / 0.5046 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002969/0.4967, allocations: 1.489 MB / 0.5061 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.4989, allocations: 0.7821 MB / 0.5068 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007906/0.5069, allocations: 5.977 MB / 0.5127 GB, free: 5.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/0.5069, allocations: 0 / 0.5127 GB, free: 5.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5069, allocations: 0 / 0.5127 GB, free: 5.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003283/0.5073, allocations: 0 / 0.5127 GB, free: 5.082 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: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.013/0.5203, allocations: 3.774 MB / 0.5164 GB, free: 2.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5203, allocations: 9.688 kB / 0.5164 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/0.5238, allocations: 0.5303 MB / 0.5169 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006321/0.5301, allocations: 2.072 MB / 0.5189 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003528/0.5305, allocations: 268.2 kB / 0.5192 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/0.5324, allocations: 356.8 kB / 0.5195 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02291/0.5553, allocations: 9.254 MB / 0.5285 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.542e-05/0.5554, allocations: 15.88 kB / 0.5286 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008466/0.5563, allocations: 151.9 kB / 0.5287 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002544/0.5588, allocations: 1.558 MB / 0.5302 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.5757, allocations: 7.195 MB / 0.5372 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05235/0.6281, allocations: 28.16 MB / 0.5647 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00729/0.6354, allocations: 2.18 MB / 0.5669 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.6376, allocations: 1.085 MB / 0.5679 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.6486, allocations: 7.023 MB / 0.5748 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.6487, allocations: 47.22 kB / 0.5748 GB, free: 8.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.626e-06/0.6487, allocations: 0 / 0.5748 GB, free: 8.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.02259/0.6713, allocations: 7.757 MB / 0.5824 GB, free: 1.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6714, allocations: 171.2 kB / 0.5826 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/0.6755, allocations: 2.728 MB / 0.5852 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.6757, allocations: 49.75 kB / 0.5853 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.6775, allocations: 2.497 MB / 0.5877 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.678, allocations: 410.9 kB / 0.5881 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.6782, allocations: 83.94 kB / 0.5882 GB, free: 11.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003466/0.6786, allocations: 470.6 kB / 0.5886 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.6806, allocations: 1.21 MB / 0.5898 GB, free: 9.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/0.6841, allocations: 3.527 MB / 0.5933 GB, free: 4.711 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.6872, allocations: 1.958 MB / 0.5952 GB, free: 2.754 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.415e-05/0.6872, allocations: 24 kB / 0.5952 GB, free: 2.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.008311/0.6955, allocations: 4.653 MB / 0.5998 GB, free: 14.06 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.6957, allocations: 44.03 kB / 0.5998 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.364e-05/0.6958, allocations: 83.78 kB / 0.5999 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/0.6959, allocations: 120 kB / 0.6 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/0.6988, allocations: 0.9553 MB / 0.6009 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/0.699, allocations: 163.4 kB / 0.6011 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.7015, allocations: 215.5 kB / 0.6013 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.7018, allocations: 232 kB / 0.6015 GB, free: 12.27 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004262/0.7061, allocations: 1.766 MB / 0.6032 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007458/0.7068, allocations: 229 kB / 0.6034 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.7093, allocations: 1.339 MB / 0.6048 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.7094, allocations: 12 kB / 0.6048 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.7094, allocations: 0 / 0.6048 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.7094, allocations: 3.984 kB / 0.6048 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.7209, allocations: 6.643 MB / 0.6113 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.301e-05/0.721, allocations: 20 kB / 0.6113 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/0.722, allocations: 251.5 kB / 0.6115 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.657e-05/0.722, allocations: 24 kB / 0.6115 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.7221, allocations: 44 kB / 0.6116 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-05/0.7221, allocations: 35.86 kB / 0.6116 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-05/0.7222, allocations: 27.88 kB / 0.6116 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.7254, allocations: 2.242 MB / 0.6138 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.7261, allocations: 341.8 kB / 0.6142 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.7263, allocations: 43.98 kB / 0.6142 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.7273, allocations: 59.95 kB / 0.6143 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.7274, allocations: 135.9 kB / 0.6144 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.7275, allocations: 59.95 kB / 0.6144 GB, free: 14.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002871/0.7304, allocations: 1.789 MB / 0.6162 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7304, allocations: 3.938 kB / 0.6162 GB, free: 12.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004027/0.7345, allocations: 0.7188 MB / 0.6169 GB, free: 11.91 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004211/0.7349, allocations: 190.8 kB / 0.6171 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005098/0.74, allocations: 2.76 MB / 0.6198 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/0.74, allocations: 4 kB / 0.6198 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.7412, allocations: 0.7075 MB / 0.6205 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.7437, allocations: 328.2 kB / 0.6208 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2662/1.01, allocations: 9.043 MB / 0.6296 GB, free: 146.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/1.016, allocations: 2.96 MB / 0.6325 GB, free: 146 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003276/1.019, allocations: 1.02 MB / 0.6335 GB, free: 145.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/1.02, allocations: 187.5 kB / 0.6337 GB, free: 145.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/1.02, allocations: 0 / 0.6337 GB, free: 145.9 MB / 494.1 MB Notification: Performance of Templates: time 0.0535/1.073, allocations: 21.62 MB / 0.6548 GB, free: 144.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) Environment - environmentSimulation: