Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001888/0.001888, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.667/1.667, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3555/0.3555, allocations: 39.93 MB / 309.4 MB, free: 9.613 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.001637/0.001638, allocations: 74.39 kB / 377.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 56.88 MB / 434 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2817/0.4095, allocations: 52.64 MB / 486.6 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02659/0.4361, allocations: 10.38 MB / 497 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01354/0.4497, allocations: 211.6 kB / 497.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006776/0.4566, allocations: 3.803 MB / 0.4893 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.4606, allocations: 0.9143 MB / 0.4902 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.463, allocations: 0.8194 MB / 0.491 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004793/0.4678, allocations: 2.648 MB / 0.4936 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006934/0.4748, allocations: 5.379 MB / 0.4988 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.4782, allocations: 1.614 MB / 0.5004 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004877/0.4831, allocations: 2.249 MB / 0.5026 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.4855, allocations: 489.8 kB / 0.503 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.4896, allocations: 1.152 MB / 0.5042 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003687/0.4933, allocations: 1.969 MB / 0.5061 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007087/0.5004, allocations: 2.3 MB / 0.5083 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.5135, allocations: 7.574 MB / 0.5157 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.5136, allocations: 0 / 0.5157 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5136, allocations: 0 / 0.5157 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002831/0.5139, allocations: 0 / 0.5157 GB, free: 1.5 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01701/0.5309, allocations: 4.71 MB / 0.5203 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.531, allocations: 13.67 kB / 0.5204 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.5348, allocations: 0.5607 MB / 0.5209 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.5406, allocations: 2.192 MB / 0.523 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.5409, allocations: 268.1 kB / 0.5233 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.5424, allocations: 351.3 kB / 0.5236 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02523/0.5676, allocations: 10.48 MB / 0.5339 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-05/0.5678, allocations: 19.86 kB / 0.5339 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005781/0.5684, allocations: 155.9 kB / 0.534 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003185/0.5715, allocations: 1.643 MB / 0.5356 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/0.5949, allocations: 9.154 MB / 0.5446 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05787/0.6528, allocations: 31.09 MB / 0.5749 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.663, allocations: 3.081 MB / 0.5779 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.666, allocations: 1.77 MB / 0.5797 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.6839, allocations: 9.742 MB / 0.5892 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.6841, allocations: 39.56 kB / 0.5892 GB, free: 8.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 4.409e-06/0.6841, allocations: 0 / 0.5892 GB, free: 8.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.03183/0.7159, allocations: 9.328 MB / 0.5983 GB, free: 15.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.716, allocations: 123.8 kB / 0.5985 GB, free: 14.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/0.7208, allocations: 2.874 MB / 0.6013 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003435/0.7212, allocations: 41.7 kB / 0.6013 GB, free: 11.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.7231, allocations: 2.482 MB / 0.6037 GB, free: 9.457 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007068/0.7238, allocations: 442.5 kB / 0.6041 GB, free: 9.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/0.7256, allocations: 0.8644 MB / 0.605 GB, free: 8.141 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.7258, allocations: 305.1 kB / 0.6053 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/0.7284, allocations: 1.562 MB / 0.6068 GB, free: 6.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/0.7325, allocations: 3.878 MB / 0.6106 GB, free: 1.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008729/0.7413, allocations: 5.705 MB / 0.6162 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/0.7414, allocations: 24 kB / 0.6162 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01219/0.7536, allocations: 5.421 MB / 0.6215 GB, free: 4.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/0.7538, allocations: 43.94 kB / 0.6215 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/0.7539, allocations: 80.88 kB / 0.6216 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.7541, allocations: 112 kB / 0.6217 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/0.7583, allocations: 0.9982 MB / 0.6227 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001721/0.7585, allocations: 159.4 kB / 0.6228 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.7623, allocations: 231.5 kB / 0.6231 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007404/0.7631, allocations: 240 kB / 0.6233 GB, free: 3.086 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 370 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (531): * Single equations (assignments): 529 * Array equations: 2 * 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.005225/0.7683, allocations: 1.754 MB / 0.625 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008981/0.7692, allocations: 236.9 kB / 0.6252 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2428/1.012, allocations: 2.216 MB / 0.6274 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.012, allocations: 11.47 kB / 0.6274 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.012, allocations: 0 / 0.6274 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/1.012, allocations: 9.5 kB / 0.6274 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/1.024, allocations: 7.638 MB / 0.6349 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.024, allocations: 15.06 kB / 0.6349 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009956/1.025, allocations: 260.7 kB / 0.6351 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.857e-05/1.025, allocations: 20.88 kB / 0.6351 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/1.025, allocations: 38.06 kB / 0.6352 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/1.025, allocations: 29.81 kB / 0.6352 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/1.025, allocations: 28.97 kB / 0.6352 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/1.028, allocations: 2.371 MB / 0.6376 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/1.028, allocations: 334.1 kB / 0.6379 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.029, allocations: 48.7 kB / 0.6379 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.03, allocations: 63.67 kB / 0.638 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/1.03, allocations: 136.4 kB / 0.6381 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/1.03, allocations: 50.56 kB / 0.6382 GB, free: 144.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002504/1.032, allocations: 1.826 MB / 0.6399 GB, free: 143.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.032, allocations: 3.062 kB / 0.6399 GB, free: 143.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00356/1.036, allocations: 0.763 MB / 0.6407 GB, free: 143.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (137): * Single equations (assignments): 137 * 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.0005019/1.037, allocations: 214.5 kB / 0.6409 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005583/1.042, allocations: 3.764 MB / 0.6446 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.042, allocations: 4.562 kB / 0.6446 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009557/1.043, allocations: 0.8816 MB / 0.6454 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.045, allocations: 333.4 kB / 0.6458 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.062, allocations: 9.632 MB / 0.6552 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005957/1.068, allocations: 2.949 MB / 0.658 GB, free: 134.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004342/1.072, allocations: 1.024 MB / 0.659 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.074, allocations: 187.3 kB / 0.6592 GB, free: 134.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.834e-06/1.074, allocations: 1.406 kB / 0.6592 GB, free: 134.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05816/1.132, allocations: 26.57 MB / 0.6852 GB, free: 125.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)