Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001467/0.001467, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.322/1.322, allocations: 170.7 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001599/0.001599, allocations: 107.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1854/0.1854, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.941e-05, allocations: 6.312 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.72 MB / 398.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.5804, allocations: 103.5 MB / 0.4904 GB, free: 16.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/0.5808, allocations: 74.41 kB / 0.4905 GB, free: 16.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8682/1.449, allocations: 223.2 MB / 0.7085 GB, free: 58.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.449, allocations: 3.938 kB / 0.7085 GB, free: 58.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001229/1.45, allocations: 279.4 kB / 0.7088 GB, free: 58.03 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.07189/1.522, allocations: 13.78 MB / 0.7222 GB, free: 52.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/1.522, allocations: 11.56 kB / 0.7222 GB, free: 52.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04766/1.57, allocations: 10.87 MB / 0.7328 GB, free: 43.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04243/1.612, allocations: 15.47 MB / 0.7479 GB, free: 28.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001122/1.614, allocations: 472 kB / 0.7484 GB, free: 28.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009174/1.623, allocations: 0.8629 MB / 0.7492 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04668/1.67, allocations: 18.11 MB / 0.7669 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4447/2.114, allocations: 26.81 MB / 0.7931 GB, free: 53.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001204/2.116, allocations: 152.9 kB / 0.7932 GB, free: 53.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007141/2.123, allocations: 70.5 kB / 0.7933 GB, free: 53.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004498/2.127, allocations: 2.33 MB / 0.7956 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1774/2.305, allocations: 125 MB / 0.9177 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009815/2.315, allocations: 7.257 MB / 0.9248 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006776/2.321, allocations: 5.629 MB / 0.9302 GB, free: 33.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003737/2.325, allocations: 4.842 MB / 0.935 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/2.325, allocations: 82.47 kB / 0.9351 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=435): time 6.823e-06/2.325, allocations: 0 / 0.9351 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=569): time 0.615/2.94, allocations: 98.68 MB / 1.031 GB, free: 123 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/2.94, allocations: 342.9 kB / 1.032 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/2.956, allocations: 7.497 MB / 1.039 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002104/2.959, allocations: 28.64 kB / 1.039 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006587/2.965, allocations: 8.925 MB / 1.048 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003967/2.969, allocations: 2.134 MB / 1.05 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/2.971, allocations: 0 / 1.05 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009984/2.972, allocations: 1.006 MB / 1.051 GB, free: 115 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01342/2.986, allocations: 8.951 MB / 1.06 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02095/3.007, allocations: 18.34 MB / 1.078 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01871/3.025, allocations: 12.49 MB / 1.09 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005348/3.026, allocations: 95.84 kB / 1.09 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2145) (initialization): time 0.08317/3.109, allocations: 33.99 MB / 1.123 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002985/3.11, allocations: 148.6 kB / 1.123 GB, free: 74.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04764/3.157, allocations: 22.63 MB / 1.145 GB, free: 55.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0335/3.191, allocations: 10.52 MB / 1.156 GB, free: 45.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01465/3.205, allocations: 4.004 MB / 1.159 GB, free: 41.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3877/3.593, allocations: 45.58 MB / 1.204 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02002/3.613, allocations: 1.499 MB / 1.205 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004146/3.617, allocations: 0.9961 MB / 1.206 GB, free: 99.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1520 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1981): * Single equations (assignments): 1952 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00521/3.623, allocations: 0.9352 MB / 1.207 GB, free: 99.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00244/3.625, allocations: 0.8385 MB / 1.208 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06459/3.69, allocations: 28.38 MB / 1.236 GB, free: 92.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06003/3.75, allocations: 26.76 MB / 1.262 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.961e-05/3.75, allocations: 26.25 kB / 1.262 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001761/3.75, allocations: 31.92 kB / 1.262 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1151/3.865, allocations: 60.27 MB / 1.321 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-05/3.865, allocations: 6.625 kB / 1.321 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005233/3.87, allocations: 1.016 MB / 1.322 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04842/3.919, allocations: 15.59 MB / 1.337 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001931/3.921, allocations: 95.81 kB / 1.337 GB, free: 17.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3859/4.307, allocations: 61.49 MB / 1.397 GB, free: 93.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0286/4.335, allocations: 23.44 MB / 1.42 GB, free: 80.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07698/4.412, allocations: 40.52 MB / 1.46 GB, free: 66.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003282/4.416, allocations: 0.895 MB / 1.461 GB, free: 66.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00422/4.42, allocations: 43.22 kB / 1.461 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01101/4.431, allocations: 0.813 MB / 1.461 GB, free: 66.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003528/4.435, allocations: 452.5 kB / 1.462 GB, free: 65.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001663/4.436, allocations: 185.7 kB / 1.462 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01263/4.449, allocations: 4.986 MB / 1.467 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.82e-07/4.449, allocations: 0 / 1.467 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02394/4.473, allocations: 4.257 MB / 1.471 GB, free: 57.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET10.x[2],$STATESET10.x[1],$STATESET9.x[5],$STATESET9.x[4],$STATESET9.x[3],$STATESET9.x[2],$STATESET9.x[1],$STATESET8.x[6],$STATESET8.x[5],$STATESET8.x[4],$STATESET8.x[3],$STATESET8.x[2],$STATESET8.x[1],$STATESET7.x[3],$STATESET7.x[2],$STATESET7.x[1],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00201/4.475, allocations: 197.9 kB / 1.471 GB, free: 57.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03527/4.51, allocations: 22.24 MB / 1.493 GB, free: 37.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/4.51, allocations: 7.781 kB / 1.493 GB, free: 37.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0193/4.53, allocations: 11.35 MB / 1.504 GB, free: 27.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009493/4.539, allocations: 1.119 MB / 1.505 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3504/4.89, allocations: 31.39 MB / 1.536 GB, free: 94.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01724/4.907, allocations: 9.421 MB / 1.545 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01546/4.922, allocations: 5.11 MB / 1.55 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005371/4.928, allocations: 0.6721 MB / 1.551 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.763e-06/4.928, allocations: 0 / 1.551 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.5265/5.454, allocations: 166.3 MB / 1.713 GB, free: 112.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1)