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.001319/0.001319, 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.001792/0.001792, allocations: 192.1 kB / 16.13 MB, free: 6.711 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.629/1.629, allocations: 205.1 MB / 222 MB, free: 4.781 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.3507/0.3507, allocations: 39.94 MB / 309.3 MB, free: 9.305 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.001379/0.001379, allocations: 65.94 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1241, allocations: 56.88 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2757/0.3998, allocations: 52.68 MB / 486.5 MB, free: 21.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02998/0.4298, allocations: 10.26 MB / 496.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01357/0.4434, allocations: 218 kB / 497 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0064/0.4499, allocations: 3.976 MB / 0.4892 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.4538, allocations: 0.9549 MB / 0.4901 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.4559, allocations: 0.6486 MB / 0.4908 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005294/0.4612, allocations: 4.121 MB / 0.4948 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006954/0.4681, allocations: 4.906 MB / 0.4996 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.4715, allocations: 1.377 MB / 0.5009 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.4765, allocations: 2.112 MB / 0.503 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002351/0.4789, allocations: 306.1 kB / 0.5033 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/0.4831, allocations: 0.908 MB / 0.5042 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004367/0.4875, allocations: 1.771 MB / 0.5059 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006209/0.4937, allocations: 2.088 MB / 0.5079 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.5059, allocations: 7.176 MB / 0.5149 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.506, allocations: 1.344 kB / 0.5149 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.506, allocations: 0 / 0.5149 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003077/0.5063, allocations: 4 kB / 0.5149 GB, free: 2.047 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.01471/0.521, allocations: 4.538 MB / 0.5194 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.5211, allocations: 9.938 kB / 0.5194 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.5236, allocations: 0.5291 MB / 0.5199 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/0.5281, allocations: 2.105 MB / 0.522 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.5283, allocations: 276.6 kB / 0.5222 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007785/0.5291, allocations: 356.5 kB / 0.5226 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.5488, allocations: 9.245 MB / 0.5316 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-05/0.5489, allocations: 19.81 kB / 0.5316 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00046/0.5494, allocations: 159.9 kB / 0.5318 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.552, allocations: 1.554 MB / 0.5333 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.5713, allocations: 7.231 MB / 0.5403 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04493/0.6163, allocations: 28.15 MB / 0.5678 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006756/0.6231, allocations: 2.178 MB / 0.57 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.6248, allocations: 1.089 MB / 0.571 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.6356, allocations: 7.041 MB / 0.5779 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.6357, allocations: 43.16 kB / 0.5779 GB, free: 3.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.447e-06/0.6357, allocations: 0 / 0.5779 GB, free: 3.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.01988/0.6556, allocations: 7.773 MB / 0.5855 GB, free: 11.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.6558, allocations: 163.3 kB / 0.5857 GB, free: 11.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/0.6598, allocations: 2.752 MB / 0.5884 GB, free: 8.863 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.66, allocations: 41.7 kB / 0.5884 GB, free: 8.816 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.6615, allocations: 2.497 MB / 0.5908 GB, free: 6.285 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/0.6619, allocations: 414.8 kB / 0.5912 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.663, allocations: 0.825 MB / 0.592 GB, free: 5.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6631, allocations: 305.1 kB / 0.5923 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.6649, allocations: 1.222 MB / 0.5935 GB, free: 3.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.668, allocations: 3.539 MB / 0.597 GB, free: 14.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005876/0.6739, allocations: 5.054 MB / 0.6019 GB, free: 8.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-05/0.674, allocations: 24 kB / 0.6019 GB, free: 8.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.00798/0.682, allocations: 4.707 MB / 0.6065 GB, free: 3.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.6821, allocations: 43.94 kB / 0.6066 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.198e-05/0.6822, allocations: 80 kB / 0.6067 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.6823, allocations: 112 kB / 0.6068 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/0.6851, allocations: 0.9558 MB / 0.6077 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.6852, allocations: 159.4 kB / 0.6078 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.6881, allocations: 207.6 kB / 0.608 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004807/0.6886, allocations: 240 kB / 0.6083 GB, free: 2.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003694/0.6923, allocations: 1.755 MB / 0.61 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006485/0.6929, allocations: 236.9 kB / 0.6102 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.6955, allocations: 1.343 MB / 0.6115 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.6955, allocations: 8 kB / 0.6115 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.6956, allocations: 4.234 kB / 0.6115 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.6956, allocations: 3.984 kB / 0.6115 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.7091, allocations: 6.658 MB / 0.618 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/0.7091, allocations: 16 kB / 0.6181 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.71, allocations: 252.4 kB / 0.6183 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/0.7101, allocations: 20 kB / 0.6183 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/0.7102, allocations: 51.94 kB / 0.6184 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/0.7102, allocations: 35.86 kB / 0.6184 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-05/0.7102, allocations: 23.94 kB / 0.6184 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.7131, allocations: 2.253 MB / 0.6206 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006923/0.7138, allocations: 329.8 kB / 0.6209 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.7141, allocations: 47.98 kB / 0.621 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/0.715, allocations: 59.95 kB / 0.621 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.7152, allocations: 139.8 kB / 0.6212 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/0.7153, allocations: 56 kB / 0.6212 GB, free: 4.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.7182, allocations: 1.812 MB / 0.623 GB, free: 2.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7182, allocations: 0 / 0.623 GB, free: 2.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003589/0.7218, allocations: 0.7148 MB / 0.6237 GB, free: 1.676 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 (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.0004417/0.7222, allocations: 222.6 kB / 0.6239 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2355/0.9578, allocations: 2.766 MB / 0.6266 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.839e-05/0.9579, allocations: 3 kB / 0.6266 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.9598, allocations: 0.7152 MB / 0.6273 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.9634, allocations: 330 kB / 0.6276 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.9834, allocations: 9.429 MB / 0.6368 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004511/0.988, allocations: 2.964 MB / 0.6397 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004839/0.9929, allocations: 1.023 MB / 0.6407 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/0.9936, allocations: 180.1 kB / 0.6409 GB, free: 142.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.385e-06/0.9937, allocations: 0 / 0.6409 GB, free: 142.4 MB / 494.1 MB Notification: Performance of Templates: time 0.0699/1.064, allocations: 22.28 MB / 0.6627 GB, free: 139.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile (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)