Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009635/0.0009633, allocations: 90.75 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.0009454/0.0009453, 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.639/1.639, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.3655/0.3655, allocations: 40 MB / 310.4 MB, free: 10.13 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.0006354/0.0006355, allocations: 19.98 kB / 378.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1638, allocations: 57.95 MB / 436.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2615/0.4254, allocations: 34.63 MB / 471.4 MB, free: 33.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.4436, allocations: 7.817 MB / 479.2 MB, free: 29.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007962/0.4516, allocations: 158.2 kB / 479.4 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006573/0.4582, allocations: 1.678 MB / 481.1 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01724/0.4755, allocations: 5.039 MB / 486.1 MB, free: 26.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.4782, allocations: 482.8 kB / 486.6 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006055/0.4843, allocations: 4.295 MB / 490.9 MB, free: 25.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00474/0.4891, allocations: 3.057 MB / 493.9 MB, free: 23.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.4921, allocations: 1.162 MB / 495.1 MB, free: 23.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.496, allocations: 1.873 MB / 497 MB, free: 22.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008003/0.4968, allocations: 153.8 kB / 497.1 MB, free: 22.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.4992, allocations: 0.7654 MB / 497.9 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.5014, allocations: 1.627 MB / 499.5 MB, free: 22.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.5027, allocations: 0.8379 MB / 0.4886 GB, free: 21.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009001/0.5117, allocations: 5.367 MB / 0.4939 GB, free: 20.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.5117, allocations: 0 / 0.4939 GB, free: 20.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.5117, allocations: 1.062 kB / 0.4939 GB, free: 20.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002658/0.512, allocations: 0 / 0.4939 GB, free: 20.35 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.009753/0.5218, allocations: 3.847 MB / 0.4976 GB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5218, allocations: 12.5 kB / 0.4976 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.533, allocations: 3.207 MB / 0.5008 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007224/0.5403, allocations: 2.163 MB / 0.5029 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.5406, allocations: 224.8 kB / 0.5031 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002394/0.543, allocations: 297.8 kB / 0.5034 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/0.5662, allocations: 11.31 MB / 0.5144 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.5665, allocations: 27.88 kB / 0.5145 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005405/0.567, allocations: 135.9 kB / 0.5146 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004091/0.5711, allocations: 2.72 MB / 0.5172 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.5934, allocations: 10.43 MB / 0.5274 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06482/0.6583, allocations: 37.5 MB / 0.564 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009429/0.6678, allocations: 4.567 MB / 0.5685 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/0.6715, allocations: 2.392 MB / 0.5708 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.6728, allocations: 1.319 MB / 0.5721 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6729, allocations: 48.56 kB / 0.5722 GB, free: 11.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.821e-06/0.6729, allocations: 0 / 0.5722 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04564/0.7186, allocations: 17.59 MB / 0.5893 GB, free: 9.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.7187, allocations: 73.41 kB / 0.5894 GB, free: 9.906 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006081/0.7248, allocations: 2.773 MB / 0.5921 GB, free: 7.121 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005543/0.7254, allocations: 53.7 kB / 0.5922 GB, free: 7.062 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00237/0.7278, allocations: 2.857 MB / 0.595 GB, free: 4.164 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.7291, allocations: 0.9134 MB / 0.5959 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.7294, allocations: 108 kB / 0.596 GB, free: 3.133 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003956/0.7298, allocations: 0.5454 MB / 0.5965 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003727/0.7335, allocations: 2.318 MB / 0.5988 GB, free: 264 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/0.7393, allocations: 5.288 MB / 0.6039 GB, free: 9.516 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005463/0.7448, allocations: 3.486 MB / 0.6073 GB, free: 6.023 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.056e-05/0.7449, allocations: 28 kB / 0.6074 GB, free: 5.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0164/0.7613, allocations: 8.352 MB / 0.6155 GB, free: 13.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.7614, allocations: 48 kB / 0.6156 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.7616, allocations: 108 kB / 0.6157 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.7645, allocations: 0.9514 MB / 0.6166 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/0.7694, allocations: 1.252 MB / 0.6178 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007536/0.7769, allocations: 4.813 MB / 0.6225 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.7819, allocations: 299.8 kB / 0.6228 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/0.7834, allocations: 320 kB / 0.6231 GB, free: 5.727 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.008441/0.7919, allocations: 2.193 MB / 0.6252 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009246/0.7928, allocations: 284.3 kB / 0.6255 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.252/1.045, allocations: 5.119 MB / 0.6305 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.787e-05/1.045, allocations: 43.72 kB / 0.6306 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.045, allocations: 2.844 kB / 0.6306 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-05/1.045, allocations: 16.34 kB / 0.6306 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/1.063, allocations: 11.94 MB / 0.6422 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.063, allocations: 9.125 kB / 0.6422 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/1.065, allocations: 393.2 kB / 0.6426 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/1.067, allocations: 0.7813 MB / 0.6434 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/1.067, allocations: 52.62 kB / 0.6434 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004371/1.071, allocations: 4.079 MB / 0.6474 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.071, allocations: 18.88 kB / 0.6474 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.082, allocations: 7.596 MB / 0.6548 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.084, allocations: 0.6907 MB / 0.6555 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/1.084, allocations: 46.72 kB / 0.6556 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.085, allocations: 145 kB / 0.6557 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.086, allocations: 157.5 kB / 0.6559 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.086, allocations: 75.89 kB / 0.6559 GB, free: 135.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003288/1.089, allocations: 1.691 MB / 0.6576 GB, free: 134.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.089, allocations: 0 / 0.6576 GB, free: 134.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00618/1.095, allocations: 1.007 MB / 0.6586 GB, free: 134.6 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.0005919/1.096, allocations: 190.6 kB / 0.6587 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009168/1.105, allocations: 5.624 MB / 0.6642 GB, free: 132.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.105, allocations: 0.8438 kB / 0.6642 GB, free: 132.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.108, allocations: 2.14 MB / 0.6663 GB, free: 131.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/1.111, allocations: 375.4 kB / 0.6667 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.129, allocations: 12.31 MB / 0.6787 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004532/1.134, allocations: 3.441 MB / 0.6821 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00437/1.138, allocations: 1.999 MB / 0.684 GB, free: 123.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/1.139, allocations: 219.3 kB / 0.6842 GB, free: 123.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.392e-06/1.139, allocations: 0 / 0.6842 GB, free: 123.8 MB / 494.1 MB Notification: Performance of Templates: time 0.05536/1.194, allocations: 31.5 MB / 0.715 GB, free: 94.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) Environment - environmentSimulation: