Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001364/0.001364, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.508/1.508, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 117.6 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2441/0.2441, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.883e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09782, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3716/0.4695, allocations: 91.36 MB / 0.5269 GB, free: 8.254 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.4697, allocations: 75.36 kB / 0.527 GB, free: 8.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08181/0.5516, allocations: 33.88 MB / 0.5601 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5516, allocations: 0 / 0.5601 GB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.379e-05/0.5517, allocations: 39.98 kB / 0.5601 GB, free: 11.69 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.005328/0.557, allocations: 2.189 MB / 0.5622 GB, free: 9.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5571, allocations: 8.031 kB / 0.5623 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.5591, allocations: 388.6 kB / 0.5626 GB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.5616, allocations: 1.125 MB / 0.5637 GB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.5616, allocations: 64 kB / 0.5638 GB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.562, allocations: 108 kB / 0.5639 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004328/0.5663, allocations: 2.742 MB / 0.5666 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006474/0.5729, allocations: 3.774 MB / 0.5702 GB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.204e-05/0.5729, allocations: 11.88 kB / 0.5703 GB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/0.5732, allocations: 15.94 kB / 0.5703 GB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00112/0.5744, allocations: 0.5158 MB / 0.5708 GB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.597, allocations: 15.53 MB / 0.5859 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.5984, allocations: 0.8371 MB / 0.5868 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007915/0.5992, allocations: 0.6637 MB / 0.5874 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00495/0.6041, allocations: 3.497 MB / 0.5908 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.6042, allocations: 46.45 kB / 0.5909 GB, free: 14.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/0.6042, allocations: 0 / 0.5909 GB, free: 14.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.003475/0.6077, allocations: 1.051 MB / 0.5919 GB, free: 13.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.6078, allocations: 114.9 kB / 0.592 GB, free: 13.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.6095, allocations: 1.262 MB / 0.5932 GB, free: 12.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.6096, allocations: 29.7 kB / 0.5933 GB, free: 12.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009438/0.6105, allocations: 1.467 MB / 0.5947 GB, free: 10.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6107, allocations: 138.6 kB / 0.5948 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.6107, allocations: 0 / 0.5948 GB, free: 10.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.611, allocations: 439.6 kB / 0.5952 GB, free: 10 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/0.6117, allocations: 476.7 kB / 0.5957 GB, free: 9.535 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.6135, allocations: 2.061 MB / 0.5977 GB, free: 6.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.6147, allocations: 0.9284 MB / 0.5986 GB, free: 5.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.06e-05/0.6147, allocations: 20 kB / 0.5986 GB, free: 5.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.003392/0.6181, allocations: 2.146 MB / 0.6007 GB, free: 3.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.6182, allocations: 31.94 kB / 0.6008 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.268e-05/0.6182, allocations: 60 kB / 0.6008 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.652e-05/0.6184, allocations: 87.95 kB / 0.6009 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.6199, allocations: 0.5698 MB / 0.6015 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-05/0.62, allocations: 115.6 kB / 0.6016 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.6216, allocations: 280.6 kB / 0.6018 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.6218, allocations: 152 kB / 0.602 GB, free: 2.262 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.6221, allocations: 254.7 kB / 0.6022 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.6223, allocations: 122.4 kB / 0.6023 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.6225, allocations: 135.5 kB / 0.6025 GB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6225, allocations: 4 kB / 0.6025 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6226, allocations: 7.953 kB / 0.6025 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.6226, allocations: 7.922 kB / 0.6025 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.6263, allocations: 2.509 MB / 0.6049 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.6264, allocations: 8 kB / 0.605 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.6266, allocations: 75.83 kB / 0.605 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.6267, allocations: 19.98 kB / 0.605 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.6267, allocations: 12 kB / 0.6051 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.6267, allocations: 8 kB / 0.6051 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.6267, allocations: 19.94 kB / 0.6051 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.6277, allocations: 1.187 MB / 0.6062 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.628, allocations: 211.4 kB / 0.6064 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6282, allocations: 12 kB / 0.6065 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.6286, allocations: 15.98 kB / 0.6065 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.6287, allocations: 55.8 kB / 0.6065 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.6287, allocations: 16 kB / 0.6065 GB, free: 12.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.6298, allocations: 0.8276 MB / 0.6073 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6298, allocations: 3.938 kB / 0.6073 GB, free: 12.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002152/0.632, allocations: 445.8 kB / 0.6078 GB, free: 11.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/0.6322, allocations: 123 kB / 0.6079 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.6341, allocations: 1.121 MB / 0.609 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6341, allocations: 0 / 0.609 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.6343, allocations: 176 kB / 0.6092 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.6348, allocations: 123.3 kB / 0.6093 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.6395, allocations: 2.65 MB / 0.6119 GB, free: 7.391 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.6412, allocations: 1.728 MB / 0.6135 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001751/0.643, allocations: 0.6208 MB / 0.6142 GB, free: 5.004 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.6432, allocations: 83.44 kB / 0.6142 GB, free: 4.922 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6432, allocations: 0 / 0.6142 GB, free: 4.922 MB / 426.7 MB Notification: Performance of Templates: time 0.01703/0.6602, allocations: 7.701 MB / 0.6218 GB, free: 13.23 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)