Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001374/0.001374, 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.489/1.489, 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.001756/0.001756, allocations: 122.9 kB / 247.4 MB, free: 6.227 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.2077/0.2077, allocations: 39.95 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.527e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4086/0.5146, allocations: 96.25 MB / 0.5317 GB, free: 4.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.5148, allocations: 73.97 kB / 0.5318 GB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2292/0.7441, allocations: 92.54 MB / 0.6221 GB, free: 15.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7441, allocations: 0 / 0.6221 GB, free: 15.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001604/0.7443, allocations: 84 kB / 0.6222 GB, free: 15 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01356/0.7579, allocations: 4.235 MB / 0.6263 GB, free: 10.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7579, allocations: 8.031 kB / 0.6263 GB, free: 10.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.7742, allocations: 3.616 MB / 0.6299 GB, free: 7.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/0.787, allocations: 4.455 MB / 0.6342 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.7873, allocations: 152 kB / 0.6344 GB, free: 2.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002751/0.7901, allocations: 256 kB / 0.6346 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01504/0.8052, allocations: 8.172 MB / 0.6426 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.8287, allocations: 10.71 MB / 0.6531 GB, free: 14.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.8289, allocations: 31.75 kB / 0.6531 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006453/0.8296, allocations: 16 kB / 0.6531 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001757/0.8313, allocations: 1.337 MB / 0.6544 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3723/1.204, allocations: 38.78 MB / 0.6923 GB, free: 96.33 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006558/1.21, allocations: 5.101 MB / 0.6973 GB, free: 95.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003709/1.214, allocations: 2.921 MB / 0.7001 GB, free: 95.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.215, allocations: 1.888 MB / 0.702 GB, free: 93.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.215, allocations: 58.55 kB / 0.702 GB, free: 93.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=264): time 5.109e-06/1.215, allocations: 0 / 0.702 GB, free: 93.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=285): time 0.03272/1.248, allocations: 16.7 MB / 0.7183 GB, free: 91.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/1.248, allocations: 79.22 kB / 0.7184 GB, free: 91.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/1.252, allocations: 2.449 MB / 0.7208 GB, free: 90.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005344/1.253, allocations: 25.7 kB / 0.7208 GB, free: 90.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.254, allocations: 3.08 MB / 0.7238 GB, free: 88.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.256, allocations: 0.999 MB / 0.7248 GB, free: 87.99 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.256, allocations: 0 / 0.7248 GB, free: 87.99 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003134/1.256, allocations: 0.574 MB / 0.7254 GB, free: 87.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/1.259, allocations: 2.727 MB / 0.728 GB, free: 86.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004771/1.264, allocations: 6.101 MB / 0.734 GB, free: 81.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/1.27, allocations: 4.099 MB / 0.738 GB, free: 79.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.901e-05/1.27, allocations: 43.17 kB / 0.738 GB, free: 79.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.01736/1.288, allocations: 9.417 MB / 0.7472 GB, free: 77.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/1.288, allocations: 55.38 kB / 0.7473 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/1.288, allocations: 118.3 kB / 0.7474 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003494/1.292, allocations: 1.395 MB / 0.7487 GB, free: 77.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005641/1.297, allocations: 1.461 MB / 0.7502 GB, free: 76.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009015/1.306, allocations: 6.809 MB / 0.7568 GB, free: 73.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/1.312, allocations: 303.7 kB / 0.7571 GB, free: 73.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.314, allocations: 363.9 kB / 0.7575 GB, free: 72.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (761): * Single equations (assignments): 754 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002178/1.316, allocations: 416.2 kB / 0.7579 GB, free: 72.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.317, allocations: 292.2 kB / 0.7581 GB, free: 72.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.328, allocations: 6.415 MB / 0.7644 GB, free: 67.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.93e-05/1.328, allocations: 47.38 kB / 0.7644 GB, free: 66.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.328, allocations: 4 kB / 0.7644 GB, free: 66.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.763e-05/1.328, allocations: 14.55 kB / 0.7645 GB, free: 66.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.352, allocations: 12.81 MB / 0.777 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/1.352, allocations: 8.562 kB / 0.777 GB, free: 56.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/1.354, allocations: 458.1 kB / 0.7774 GB, free: 56.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/1.357, allocations: 1.202 MB / 0.7786 GB, free: 55.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003998/1.358, allocations: 30.38 kB / 0.7786 GB, free: 55.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00691/1.365, allocations: 6.144 MB / 0.7846 GB, free: 49.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.365, allocations: 11.94 kB / 0.7846 GB, free: 49.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/1.379, allocations: 10.28 MB / 0.7947 GB, free: 40.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.381, allocations: 0.8098 MB / 0.7955 GB, free: 39.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008962/1.382, allocations: 8 kB / 0.7955 GB, free: 39.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.384, allocations: 165.1 kB / 0.7956 GB, free: 39.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/1.385, allocations: 166.5 kB / 0.7958 GB, free: 39.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002616/1.385, allocations: 81.11 kB / 0.7959 GB, free: 39.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003107/1.388, allocations: 1.599 MB / 0.7974 GB, free: 38.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.388, allocations: 0 / 0.7974 GB, free: 38.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005917/1.394, allocations: 0.9946 MB / 0.7984 GB, free: 37.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006302/1.395, allocations: 154.8 kB / 0.7985 GB, free: 36.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009119/1.404, allocations: 6.647 MB / 0.805 GB, free: 30.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.404, allocations: 0 / 0.805 GB, free: 30.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003153/1.407, allocations: 2.682 MB / 0.8077 GB, free: 28.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.409, allocations: 233.8 kB / 0.8079 GB, free: 28.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/1.428, allocations: 9.575 MB / 0.8172 GB, free: 19.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005353/1.434, allocations: 3.686 MB / 0.8208 GB, free: 16.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006002/1.44, allocations: 2.316 MB / 0.8231 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.441, allocations: 227.4 kB / 0.8233 GB, free: 14.23 MB / 474.7 MB Notification: Performance of SimCode: time 1.303e-06/1.441, allocations: 4 kB / 0.8233 GB, free: 14.22 MB / 474.7 MB Notification: Performance of Templates: time 0.3338/1.775, allocations: 34.34 MB / 0.8568 GB, free: 116.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)