Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0057/0.0057, allocations: 101 kB / 15.73 MB, free: 6.438 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.0012/0.0012, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.633/1.633, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3842/0.3842, allocations: 38 MB / 307.9 MB, free: 10.18 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.1. 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.001581/0.001581, allocations: 67.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4058, allocations: 56.46 MB / 489.5 MB, free: 20.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01671/0.4226, allocations: 18.61 MB / 0.4962 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.4351, allocations: 5.352 MB / 0.5014 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005671/0.4408, allocations: 107.9 kB / 0.5015 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007682/0.4486, allocations: 3.072 MB / 0.5045 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.4587, allocations: 2.695 MB / 0.5071 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.4631, allocations: 1.028 MB / 0.5081 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0167/0.4798, allocations: 7.413 MB / 0.5154 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007315/0.4872, allocations: 4.239 MB / 0.5195 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007368/0.4946, allocations: 2.31 MB / 0.5218 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006809/0.5014, allocations: 3.279 MB / 0.525 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002243/0.5037, allocations: 456 kB / 0.5254 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.5084, allocations: 1.311 MB / 0.5267 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005069/0.5135, allocations: 2.891 MB / 0.5295 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008376/0.5219, allocations: 3.262 MB / 0.5327 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.5411, allocations: 10.15 MB / 0.5426 GB, free: 1.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.5412, allocations: 0 / 0.5426 GB, free: 1.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5412, allocations: 0 / 0.5426 GB, free: 1.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005887/0.5418, allocations: 0 / 0.5426 GB, free: 1.164 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.02479/0.5666, allocations: 7.306 MB / 0.5498 GB, free: 9.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.5667, allocations: 15.83 kB / 0.5498 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.5828, allocations: 3.833 MB / 0.5535 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.5948, allocations: 4.331 MB / 0.5577 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/0.5954, allocations: 324.5 kB / 0.5581 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002526/0.5979, allocations: 451.6 kB / 0.5585 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04078/0.6388, allocations: 15.79 MB / 0.5739 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003913/0.6392, allocations: 71.33 kB / 0.574 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/0.6416, allocations: 199.9 kB / 0.5742 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007532/0.6491, allocations: 3.47 MB / 0.5776 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03303/0.6822, allocations: 14.92 MB / 0.5921 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4325/1.115, allocations: 55.79 MB / 0.6466 GB, free: 93.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.133, allocations: 8.192 MB / 0.6546 GB, free: 92.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007597/1.141, allocations: 4.832 MB / 0.6593 GB, free: 90.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/1.143, allocations: 2.21 MB / 0.6615 GB, free: 88.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.143, allocations: 66.7 kB / 0.6615 GB, free: 88.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 8.436e-06/1.143, allocations: 0 / 0.6615 GB, free: 88.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.11/1.253, allocations: 40.27 MB / 0.7009 GB, free: 72.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/1.253, allocations: 120 kB / 0.701 GB, free: 72.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008126/1.261, allocations: 4.37 MB / 0.7052 GB, free: 67.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/1.263, allocations: 81.7 kB / 0.7053 GB, free: 67.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002139/1.265, allocations: 3.869 MB / 0.7091 GB, free: 63.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002029/1.267, allocations: 1.495 MB / 0.7106 GB, free: 62.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003337/1.27, allocations: 1.578 MB / 0.7121 GB, free: 60.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/1.27, allocations: 305.1 kB / 0.7124 GB, free: 60.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004464/1.275, allocations: 4.095 MB / 0.7164 GB, free: 56.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005912/1.281, allocations: 7.904 MB / 0.7241 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.293, allocations: 12.96 MB / 0.7368 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-05/1.293, allocations: 36 kB / 0.7368 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02801/1.321, allocations: 14.81 MB / 0.7513 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/1.322, allocations: 60 kB / 0.7513 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002392/1.322, allocations: 132 kB / 0.7515 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007598/1.33, allocations: 2.931 MB / 0.7543 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006489/1.336, allocations: 1.825 MB / 0.7561 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/1.356, allocations: 15.96 MB / 0.7717 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006916/1.362, allocations: 0.4996 MB / 0.7722 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001972/1.365, allocations: 435.9 kB / 0.7726 GB, free: 10.87 MB / 0.5137 GB 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.007814/1.372, allocations: 2.904 MB / 0.7754 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002355/1.375, allocations: 462 kB / 0.7759 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02312/1.398, allocations: 10.94 MB / 0.7865 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/1.398, allocations: 60 kB / 0.7866 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-05/1.398, allocations: 8.75 kB / 0.7866 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/1.398, allocations: 23.86 kB / 0.7866 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06729/1.465, allocations: 21.68 MB / 0.8078 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001182/1.466, allocations: 15.94 kB / 0.8078 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006742/1.472, allocations: 0.6786 MB / 0.8085 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/1.486, allocations: 2.733 MB / 0.8112 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001057/1.487, allocations: 76 kB / 0.8112 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/1.508, allocations: 14.55 MB / 0.8254 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-05/1.508, allocations: 19.92 kB / 0.8255 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0309/1.539, allocations: 15.58 MB / 0.8407 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003891/1.543, allocations: 1.178 MB / 0.8418 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/1.545, allocations: 79.75 kB / 0.8419 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003917/1.549, allocations: 307.5 kB / 0.8422 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001259/1.55, allocations: 270 kB / 0.8424 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007116/1.551, allocations: 108 kB / 0.8425 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005703/1.557, allocations: 2.745 MB / 0.8452 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.81e-07/1.557, allocations: 0 / 0.8452 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01002/1.567, allocations: 1.701 MB / 0.8469 GB, free: 13.96 MB / 0.5919 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.001417/1.568, allocations: 233 kB / 0.8471 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01795/1.586, allocations: 10.13 MB / 0.857 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.072e-05/1.586, allocations: 4 kB / 0.857 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.2954/1.882, allocations: 4.36 MB / 0.8613 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/1.887, allocations: 0.7169 MB / 0.862 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/1.918, allocations: 15.87 MB / 0.8775 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008418/1.927, allocations: 4.619 MB / 0.882 GB, free: 199.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008502/1.935, allocations: 2.733 MB / 0.8846 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/1.937, allocations: 349.8 kB / 0.885 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of SimCode: time 3.216e-06/1.937, allocations: 0 / 0.885 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1105/2.048, allocations: 69.07 MB / 0.9524 GB, free: 148.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)