Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.0008629, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009305/0.0009305, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.2759/0.2759, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005569/0.0005569, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 57.53 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2238/0.3254, allocations: 34.63 MB / 468.6 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.3419, allocations: 7.816 MB / 476.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.3474, allocations: 156.7 kB / 476.6 MB, free: 31.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.3517, allocations: 1.674 MB / 478.2 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.3641, allocations: 5.053 MB / 483.3 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.3659, allocations: 479.3 kB / 483.8 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004204/0.3701, allocations: 4.287 MB / 488 MB, free: 27.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/0.3735, allocations: 3.063 MB / 491.1 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.375, allocations: 1.167 MB / 492.3 MB, free: 25.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.377, allocations: 1.867 MB / 494.1 MB, free: 25.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.3774, allocations: 149.8 kB / 494.3 MB, free: 25.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.379, allocations: 0.7684 MB / 495.1 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.3807, allocations: 1.624 MB / 496.7 MB, free: 24.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.3819, allocations: 0.8346 MB / 497.5 MB, free: 23.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007133/0.3891, allocations: 5.379 MB / 0.4911 GB, free: 22.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3891, allocations: 1.625 kB / 0.4911 GB, free: 22.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3891, allocations: 0 / 0.4911 GB, free: 22.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001932/0.3893, allocations: 0 / 0.4911 GB, free: 22.73 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.008388/0.3977, allocations: 3.85 MB / 0.4949 GB, free: 20.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3978, allocations: 9.844 kB / 0.4949 GB, free: 20.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009931/0.4077, allocations: 3.202 MB / 0.498 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004328/0.4121, allocations: 2.163 MB / 0.5001 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.4122, allocations: 221.1 kB / 0.5003 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006319/0.4129, allocations: 297.5 kB / 0.5006 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.4294, allocations: 11.3 MB / 0.5116 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-05/0.4295, allocations: 39.08 kB / 0.5117 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.4299, allocations: 139.9 kB / 0.5118 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003573/0.4335, allocations: 2.718 MB / 0.5145 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01767/0.4512, allocations: 10.43 MB / 0.5247 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05143/0.5026, allocations: 37.5 MB / 0.5613 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008279/0.511, allocations: 4.569 MB / 0.5657 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/0.5143, allocations: 2.392 MB / 0.5681 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.5155, allocations: 1.323 MB / 0.5694 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.5156, allocations: 52.56 kB / 0.5694 GB, free: 15.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 4.989e-06/0.5156, allocations: 0 / 0.5694 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.03681/0.5524, allocations: 17.57 MB / 0.5866 GB, free: 14.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.5525, allocations: 73.41 kB / 0.5866 GB, free: 14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/0.5561, allocations: 2.773 MB / 0.5894 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.5563, allocations: 61.7 kB / 0.5894 GB, free: 11.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.5581, allocations: 2.853 MB / 0.5922 GB, free: 8.258 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.5591, allocations: 0.9172 MB / 0.5931 GB, free: 7.328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.5594, allocations: 108 kB / 0.5932 GB, free: 7.223 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003592/0.5598, allocations: 0.5493 MB / 0.5937 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/0.5633, allocations: 2.31 MB / 0.596 GB, free: 4.352 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005498/0.5688, allocations: 5.284 MB / 0.6012 GB, free: 13.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00576/0.5746, allocations: 3.493 MB / 0.6046 GB, free: 10.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.023e-05/0.5746, allocations: 31.94 kB / 0.6046 GB, free: 10.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01561/0.5903, allocations: 8.344 MB / 0.6127 GB, free: 1.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.5904, allocations: 48 kB / 0.6128 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.996e-05/0.5905, allocations: 104 kB / 0.6129 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.5929, allocations: 0.953 MB / 0.6138 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/0.5967, allocations: 1.244 MB / 0.615 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.6027, allocations: 4.814 MB / 0.6197 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/0.6063, allocations: 299.8 kB / 0.62 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005317/0.6068, allocations: 315.9 kB / 0.6203 GB, free: 9.824 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (669): * Single equations (assignments): 662 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003899/0.6107, allocations: 2.21 MB / 0.6225 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.6112, allocations: 276.3 kB / 0.6227 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/0.6194, allocations: 5.122 MB / 0.6277 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.037e-05/0.6195, allocations: 43.98 kB / 0.6278 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6195, allocations: 4 kB / 0.6278 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.6196, allocations: 7.969 kB / 0.6278 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2318/0.8514, allocations: 11.94 MB / 0.6395 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.8515, allocations: 9.688 kB / 0.6395 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.8528, allocations: 393.5 kB / 0.6398 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.8547, allocations: 0.7807 MB / 0.6406 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/0.8549, allocations: 51.77 kB / 0.6407 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.8588, allocations: 4.082 MB / 0.6446 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.8588, allocations: 20.38 kB / 0.6447 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008073/0.8669, allocations: 7.602 MB / 0.6521 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.8682, allocations: 0.6866 MB / 0.6528 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.8685, allocations: 46.3 kB / 0.6528 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.8695, allocations: 144.6 kB / 0.6529 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.8697, allocations: 156.7 kB / 0.6531 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.8699, allocations: 69.91 kB / 0.6532 GB, free: 138.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002106/0.872, allocations: 1.695 MB / 0.6548 GB, free: 137.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.872, allocations: 3.344 kB / 0.6548 GB, free: 137.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003621/0.8756, allocations: 0.9959 MB / 0.6558 GB, free: 137.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003481/0.876, allocations: 189 kB / 0.656 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007646/0.8836, allocations: 5.633 MB / 0.6615 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8837, allocations: 1.188 kB / 0.6615 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.8862, allocations: 2.145 MB / 0.6636 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.8882, allocations: 383.2 kB / 0.6639 GB, free: 134.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/0.9104, allocations: 12.29 MB / 0.6759 GB, free: 128.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004428/0.9148, allocations: 3.438 MB / 0.6793 GB, free: 126.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004349/0.9192, allocations: 2.001 MB / 0.6812 GB, free: 126.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/0.9199, allocations: 219.1 kB / 0.6815 GB, free: 126.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.9199, allocations: 3.938 kB / 0.6815 GB, free: 126.6 MB / 494.1 MB Notification: Performance of Templates: time 0.04385/0.9637, allocations: 31.5 MB / 0.7122 GB, free: 101.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) Environment - environmentSimulation: