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.001275/0.001276, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00182/0.00182, allocations: 177.3 kB / 15.94 MB, free: 228 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.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.3445/0.3445, allocations: 38.03 MB / 308.4 MB, free: 10.58 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.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1244, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2168/0.3413, allocations: 32.75 MB / 466.7 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.359, allocations: 8.119 MB / 474.8 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006039/0.3651, allocations: 156.1 kB / 474.9 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.3688, allocations: 1.654 MB / 476.6 MB, free: 30.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.3809, allocations: 4.882 MB / 481.5 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3824, allocations: 463.7 kB / 481.9 MB, free: 29.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003228/0.3857, allocations: 2.161 MB / 484.1 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/0.3894, allocations: 3.042 MB / 487.1 MB, free: 27.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.3909, allocations: 0.979 MB / 488.1 MB, free: 27.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.3925, allocations: 1.351 MB / 489.5 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005721/0.3931, allocations: 151.7 kB / 489.6 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.3947, allocations: 0.7517 MB / 490.4 MB, free: 26.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.396, allocations: 1.506 MB / 491.9 MB, free: 26.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009569/0.3969, allocations: 0.8351 MB / 492.7 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008079/0.405, allocations: 5.384 MB / 498.1 MB, free: 24.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4051, allocations: 0 / 498.1 MB, free: 24.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4051, allocations: 0 / 498.1 MB, free: 24.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003139/0.4054, allocations: 0 / 498.1 MB, free: 24.41 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.01402/0.4195, allocations: 3.92 MB / 0.4902 GB, free: 22.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4195, allocations: 8.656 kB / 0.4903 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/0.4334, allocations: 3.767 MB / 0.4939 GB, free: 21.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.4403, allocations: 2.367 MB / 0.4962 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.4406, allocations: 221.3 kB / 0.4965 GB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.4422, allocations: 293.7 kB / 0.4967 GB, free: 19.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/0.4657, allocations: 11.39 MB / 0.5079 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/0.4659, allocations: 27.56 kB / 0.5079 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001857/0.4678, allocations: 139.4 kB / 0.508 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005809/0.4736, allocations: 2.718 MB / 0.5107 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.4924, allocations: 10.54 MB / 0.521 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05469/0.5471, allocations: 37.61 MB / 0.5577 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008434/0.5556, allocations: 4.572 MB / 0.5622 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.5568, allocations: 1.311 MB / 0.5634 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.5569, allocations: 52.56 kB / 0.5635 GB, free: 5.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 5.39e-06/0.5569, allocations: 0 / 0.5635 GB, free: 5.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.04121/0.5981, allocations: 18.16 MB / 0.5812 GB, free: 3.066 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.5983, allocations: 73.41 kB / 0.5813 GB, free: 2.984 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/0.603, allocations: 2.899 MB / 0.5841 GB, free: 76 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007377/0.6038, allocations: 61.69 kB / 0.5842 GB, free: 8 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/0.606, allocations: 2.853 MB / 0.587 GB, free: 13.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/0.6074, allocations: 0.9173 MB / 0.5879 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.6077, allocations: 108 kB / 0.588 GB, free: 12.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003668/0.6081, allocations: 0.5415 MB / 0.5885 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/0.6114, allocations: 2.302 MB / 0.5907 GB, free: 9.223 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00496/0.6164, allocations: 5.256 MB / 0.5959 GB, free: 2.508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/0.6209, allocations: 3.482 MB / 0.5993 GB, free: 15.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.424e-05/0.6209, allocations: 32 kB / 0.5993 GB, free: 14.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01276/0.6337, allocations: 8.324 MB / 0.6074 GB, free: 6.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.6338, allocations: 49 kB / 0.6075 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.6339, allocations: 104 kB / 0.6076 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.6366, allocations: 0.9506 MB / 0.6085 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/0.6408, allocations: 1.24 MB / 0.6097 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006376/0.6472, allocations: 4.925 MB / 0.6145 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/0.6519, allocations: 323.6 kB / 0.6148 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009586/0.6529, allocations: 312 kB / 0.6151 GB, free: 14.63 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 (665): * Single equations (assignments): 658 * 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.00505/0.658, allocations: 2.179 MB / 0.6173 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/0.6585, allocations: 284.3 kB / 0.6175 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008555/0.6671, allocations: 5.126 MB / 0.6225 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.23e-05/0.6672, allocations: 47.95 kB / 0.6226 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6672, allocations: 7.984 kB / 0.6226 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.6672, allocations: 7.969 kB / 0.6226 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2564/0.9236, allocations: 11.96 MB / 0.6343 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.9237, allocations: 9.75 kB / 0.6343 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.9254, allocations: 400.3 kB / 0.6347 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/0.9277, allocations: 0.7717 MB / 0.6354 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003553/0.9281, allocations: 53.59 kB / 0.6355 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/0.933, allocations: 4.208 MB / 0.6396 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.9331, allocations: 13.75 kB / 0.6396 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.9442, allocations: 8.45 MB / 0.6478 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/0.9467, allocations: 0.6951 MB / 0.6485 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006395/0.9474, allocations: 51.08 kB / 0.6486 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.9487, allocations: 147.6 kB / 0.6487 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/0.9491, allocations: 152 kB / 0.6489 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.9493, allocations: 71.03 kB / 0.6489 GB, free: 138.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003068/0.9523, allocations: 1.796 MB / 0.6507 GB, free: 138.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.9524, allocations: 0 / 0.6507 GB, free: 138.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005582/0.9579, allocations: 1.019 MB / 0.6517 GB, free: 138.1 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.0006358/0.9586, allocations: 196.6 kB / 0.6519 GB, free: 137.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01002/0.9686, allocations: 5.615 MB / 0.6573 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/0.9687, allocations: 2.188 kB / 0.6574 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/0.972, allocations: 2.145 MB / 0.6594 GB, free: 135.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.9744, allocations: 350.8 kB / 0.6598 GB, free: 135.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.9936, allocations: 12.26 MB / 0.6718 GB, free: 128.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005263/0.9989, allocations: 3.525 MB / 0.6752 GB, free: 127.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004731/1.004, allocations: 2.008 MB / 0.6772 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008686/1.005, allocations: 213.8 kB / 0.6774 GB, free: 127.3 MB / 494.1 MB Notification: Performance of SimCode: time 3.617e-06/1.005, allocations: 0 / 0.6774 GB, free: 127.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05326/1.058, allocations: 32.09 MB / 0.7087 GB, free: 102.7 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: