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.001298/0.001299, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.01082/0.01082, allocations: 169 kB / 16.26 MB, free: 6.652 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.68/1.68, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.3325/0.3325, allocations: 40 MB / 310.7 MB, free: 9.41 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.0006967/0.0006972, allocations: 16 kB / 379.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1244, allocations: 57.95 MB / 437.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2911/0.4155, allocations: 51.28 MB / 488.7 MB, free: 21.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02908/0.4446, allocations: 10.23 MB / 498.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01188/0.4566, allocations: 218.7 kB / 499.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.458, allocations: 362.9 kB / 499.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.4608, allocations: 0.9519 MB / 0.4887 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4623, allocations: 0.6432 MB / 0.4893 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004701/0.467, allocations: 4.121 MB / 0.4934 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/0.4774, allocations: 7.317 MB / 0.5005 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.4799, allocations: 0.9889 MB / 0.5015 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.4832, allocations: 1.621 MB / 0.503 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008874/0.4841, allocations: 143 kB / 0.5032 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.4868, allocations: 0.7452 MB / 0.5039 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004721/0.4915, allocations: 1.532 MB / 0.5054 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005798/0.4973, allocations: 1.811 MB / 0.5072 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.5129, allocations: 6.917 MB / 0.5139 GB, free: 4.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5129, allocations: 4 kB / 0.5139 GB, free: 4.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.5129, allocations: 0 / 0.5139 GB, free: 4.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004064/0.5133, allocations: 0 / 0.5139 GB, free: 4.035 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.01305/0.5264, allocations: 3.727 MB / 0.5176 GB, free: 1.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5265, allocations: 9.438 kB / 0.5176 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.5302, allocations: 0.5308 MB / 0.5181 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005235/0.5354, allocations: 2.111 MB / 0.5202 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.5357, allocations: 265 kB / 0.5204 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.5372, allocations: 353.2 kB / 0.5208 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02257/0.5598, allocations: 9.275 MB / 0.5298 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.5601, allocations: 15.88 kB / 0.5298 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/0.5619, allocations: 159.9 kB / 0.53 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003402/0.5653, allocations: 1.55 MB / 0.5315 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/0.587, allocations: 7.251 MB / 0.5386 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05148/0.6386, allocations: 28.17 MB / 0.5661 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007636/0.6463, allocations: 2.177 MB / 0.5682 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/0.6483, allocations: 1.089 MB / 0.5693 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/0.6595, allocations: 7.028 MB / 0.5761 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.6596, allocations: 43.22 kB / 0.5762 GB, free: 7.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.615e-06/0.6596, allocations: 0 / 0.5762 GB, free: 7.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.02221/0.6818, allocations: 7.769 MB / 0.5838 GB, free: 15.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.682, allocations: 175.2 kB / 0.5839 GB, free: 15.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005826/0.6878, allocations: 2.744 MB / 0.5866 GB, free: 12.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.6882, allocations: 41.7 kB / 0.5867 GB, free: 12.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002075/0.6903, allocations: 2.505 MB / 0.5891 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006507/0.6909, allocations: 410.8 kB / 0.5895 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008467/0.6918, allocations: 378.3 kB / 0.5899 GB, free: 9.512 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6919, allocations: 305.1 kB / 0.5901 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/0.6946, allocations: 1.218 MB / 0.5913 GB, free: 7.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004363/0.699, allocations: 3.535 MB / 0.5948 GB, free: 3.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007059/0.7061, allocations: 5.066 MB / 0.5997 GB, free: 13.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-05/0.7062, allocations: 24 kB / 0.5998 GB, free: 13.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009474/0.7157, allocations: 4.688 MB / 0.6043 GB, free: 8.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/0.7158, allocations: 40 kB / 0.6044 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.716, allocations: 84 kB / 0.6044 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.7161, allocations: 108 kB / 0.6046 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/0.7193, allocations: 0.9553 MB / 0.6055 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001522/0.7195, allocations: 163.4 kB / 0.6056 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/0.7226, allocations: 211.6 kB / 0.6058 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005801/0.7232, allocations: 232 kB / 0.6061 GB, free: 6.562 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.004257/0.7275, allocations: 1.771 MB / 0.6078 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006193/0.7281, allocations: 229 kB / 0.608 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.7307, allocations: 1.335 MB / 0.6093 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.7307, allocations: 12 kB / 0.6093 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.7308, allocations: 0 / 0.6093 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.7308, allocations: 11.98 kB / 0.6093 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.7437, allocations: 6.666 MB / 0.6158 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.7438, allocations: 16 kB / 0.6159 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009332/0.7447, allocations: 247.5 kB / 0.6161 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.403e-05/0.7447, allocations: 24 kB / 0.6161 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/0.7448, allocations: 44 kB / 0.6162 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.543e-05/0.7449, allocations: 35.86 kB / 0.6162 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/0.7449, allocations: 27.88 kB / 0.6162 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.7479, allocations: 2.254 MB / 0.6184 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009537/0.7488, allocations: 345.7 kB / 0.6188 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/0.7493, allocations: 47.98 kB / 0.6188 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7503, allocations: 59.95 kB / 0.6189 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.7505, allocations: 135.8 kB / 0.619 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/0.7506, allocations: 56 kB / 0.619 GB, free: 8.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003435/0.7541, allocations: 1.809 MB / 0.6208 GB, free: 6.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7541, allocations: 4 kB / 0.6208 GB, free: 6.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003852/0.7579, allocations: 0.7187 MB / 0.6215 GB, free: 6.141 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.0004755/0.7584, allocations: 206.6 kB / 0.6217 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005065/0.7635, allocations: 2.767 MB / 0.6244 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.7635, allocations: 4 kB / 0.6244 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.7647, allocations: 0.7179 MB / 0.6251 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00822/0.773, allocations: 339.6 kB / 0.6254 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2535/1.026, allocations: 9.462 MB / 0.6347 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003727/1.03, allocations: 2.961 MB / 0.6376 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002878/1.033, allocations: 1.024 MB / 0.6386 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/1.034, allocations: 186 kB / 0.6387 GB, free: 142.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.743e-06/1.034, allocations: 1.969 kB / 0.6388 GB, free: 142.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05092/1.085, allocations: 22.07 MB / 0.6603 GB, free: 139.5 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: