Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, 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.001606/0.001606, allocations: 201 kB / 16.26 MB, free: 6.617 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.506/1.506, allocations: 205.1 MB / 222.1 MB, free: 4.617 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.3392/0.3392, allocations: 39.94 MB / 309.4 MB, free: 9.359 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.003069/0.003069, allocations: 63.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1424, allocations: 56.88 MB / 434 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.3158/0.4583, allocations: 63.96 MB / 497.9 MB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03766/0.496, allocations: 12.7 MB / 0.4987 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01916/0.5153, allocations: 275.5 kB / 0.4989 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006343/0.5217, allocations: 2.928 MB / 0.5018 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008961/0.5307, allocations: 2.454 MB / 0.5042 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.5338, allocations: 0.9596 MB / 0.5051 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.5476, allocations: 7.488 MB / 0.5124 GB, free: 140 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/0.5581, allocations: 4.441 MB / 0.5168 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008609/0.5667, allocations: 2.324 MB / 0.5191 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008303/0.5751, allocations: 3.604 MB / 0.5226 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002256/0.5774, allocations: 461.3 kB / 0.523 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.5818, allocations: 1.308 MB / 0.5243 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004504/0.5863, allocations: 2.915 MB / 0.5271 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005732/0.5921, allocations: 3.281 MB / 0.5303 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.6051, allocations: 9.824 MB / 0.5399 GB, free: 12.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.6051, allocations: 0 / 0.5399 GB, free: 12.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6051, allocations: 7.781 kB / 0.5399 GB, free: 12.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003392/0.6055, allocations: 0 / 0.5399 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02322/0.6287, allocations: 7.312 MB / 0.5471 GB, free: 4.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/0.6288, allocations: 11.89 kB / 0.5471 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.6464, allocations: 3.841 MB / 0.5508 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.6575, allocations: 4.264 MB / 0.555 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004741/0.6581, allocations: 324.6 kB / 0.5553 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002664/0.6608, allocations: 443.9 kB / 0.5557 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0348/0.6956, allocations: 15.8 MB / 0.5712 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000288/0.6959, allocations: 51.5 kB / 0.5712 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/0.6971, allocations: 207.8 kB / 0.5714 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00667/0.7038, allocations: 3.474 MB / 0.5748 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0318/0.7357, allocations: 14.92 MB / 0.5894 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4333/1.169, allocations: 56.11 MB / 0.6442 GB, free: 113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.189, allocations: 8.205 MB / 0.6522 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007599/1.197, allocations: 4.842 MB / 0.6569 GB, free: 110 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/1.199, allocations: 2.206 MB / 0.6591 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.199, allocations: 66.61 kB / 0.6591 GB, free: 107.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 8.456e-06/1.199, allocations: 0 / 0.6591 GB, free: 107.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1381/1.337, allocations: 40.27 MB / 0.6985 GB, free: 96.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.337, allocations: 116.2 kB / 0.6986 GB, free: 96.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008693/1.346, allocations: 4.367 MB / 0.7028 GB, free: 95.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001869/1.348, allocations: 83.7 kB / 0.7029 GB, free: 94.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004546/1.353, allocations: 3.873 MB / 0.7067 GB, free: 92.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00455/1.357, allocations: 1.487 MB / 0.7081 GB, free: 90.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004668/1.362, allocations: 1.581 MB / 0.7097 GB, free: 89.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.815e-05/1.362, allocations: 305.1 kB / 0.71 GB, free: 89.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008499/1.371, allocations: 4.094 MB / 0.714 GB, free: 85.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01295/1.384, allocations: 7.908 MB / 0.7217 GB, free: 75.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/1.402, allocations: 12.97 MB / 0.7344 GB, free: 61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002153/1.402, allocations: 36 kB / 0.7344 GB, free: 60.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.03543/1.438, allocations: 14.8 MB / 0.7489 GB, free: 46.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/1.438, allocations: 60 kB / 0.7489 GB, free: 46.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003189/1.438, allocations: 139.9 kB / 0.749 GB, free: 45.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009257/1.448, allocations: 2.929 MB / 0.7519 GB, free: 42.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007421/1.455, allocations: 1.825 MB / 0.7537 GB, free: 41.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/1.476, allocations: 15.96 MB / 0.7693 GB, free: 24.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00873/1.485, allocations: 0.5073 MB / 0.7698 GB, free: 24.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/1.487, allocations: 443.5 kB / 0.7702 GB, free: 23.99 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0108/1.498, allocations: 2.907 MB / 0.773 GB, free: 21.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003401/1.501, allocations: 462.1 kB / 0.7735 GB, free: 20.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/1.521, allocations: 10.93 MB / 0.7842 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/1.521, allocations: 63.98 kB / 0.7842 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/1.521, allocations: 8 kB / 0.7842 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.007e-05/1.521, allocations: 15.94 kB / 0.7842 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04424/1.566, allocations: 21.79 MB / 0.8055 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/1.566, allocations: 12 kB / 0.8055 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/1.569, allocations: 0.6826 MB / 0.8062 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008046/1.577, allocations: 2.744 MB / 0.8089 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001265/1.579, allocations: 80.64 kB / 0.8089 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/1.599, allocations: 14.56 MB / 0.8232 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/1.599, allocations: 19.88 kB / 0.8232 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4608/2.06, allocations: 15.56 MB / 0.8384 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003737/2.064, allocations: 1.178 MB / 0.8395 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/2.065, allocations: 81.72 kB / 0.8396 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/2.068, allocations: 314.8 kB / 0.8399 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008904/2.069, allocations: 262 kB / 0.8402 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003256/2.07, allocations: 109.3 kB / 0.8403 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00461/2.074, allocations: 2.741 MB / 0.8429 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/2.074, allocations: 0 / 0.8429 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008533/2.083, allocations: 1.698 MB / 0.8446 GB, free: 156.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009609/2.084, allocations: 235.4 kB / 0.8448 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.04234/2.126, allocations: 20 MB / 0.8644 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.418e-05/2.126, allocations: 3.969 kB / 0.8644 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007123/2.133, allocations: 4.369 MB / 0.8686 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006414/2.14, allocations: 0.7048 MB / 0.8693 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04205/2.182, allocations: 19.21 MB / 0.8881 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007996/2.19, allocations: 4.616 MB / 0.8926 GB, free: 133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007429/2.198, allocations: 2.737 MB / 0.8953 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/2.199, allocations: 352 kB / 0.8956 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/2.199, allocations: 0 / 0.8956 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1351/2.334, allocations: 72.61 MB / 0.9665 GB, free: 63.32 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)