Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical") translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009729/0.0009729, allocations: 180.6 kB / 7.65 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.686/1.686, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001605/0.001605, allocations: 114.8 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.1953/0.1953, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.373e-05/1.364e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.5272, allocations: 114.5 MB / 0.5495 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.5274, allocations: 80.58 kB / 0.5495 GB, free: 1.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8876/1.415, allocations: 223.6 MB / 0.7679 GB, free: 73.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.734e-06/1.415, allocations: 0 / 0.7679 GB, free: 73.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001054/1.416, allocations: 280.2 kB / 0.7681 GB, free: 73.76 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.06058/1.477, allocations: 14.5 MB / 0.7823 GB, free: 60.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/1.477, allocations: 8.031 kB / 0.7823 GB, free: 60.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04269/1.52, allocations: 10.51 MB / 0.7926 GB, free: 50.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03662/1.556, allocations: 13.99 MB / 0.8062 GB, free: 36.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007928/1.557, allocations: 476 kB / 0.8067 GB, free: 35.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007318/1.564, allocations: 0.8513 MB / 0.8075 GB, free: 34.92 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0396/1.604, allocations: 19.36 MB / 0.8264 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07413/1.678, allocations: 27.87 MB / 0.8536 GB, free: 1.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009522/1.679, allocations: 142.7 kB / 0.8538 GB, free: 1.359 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007536/1.687, allocations: 68 kB / 0.8538 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3392/2.026, allocations: 2.534 MB / 0.8563 GB, free: 78.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1618/2.188, allocations: 126.4 MB / 0.9797 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/2.198, allocations: 8.521 MB / 0.988 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0142/2.213, allocations: 7.119 MB / 0.995 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05734/2.27, allocations: 30.85 MB / 1.025 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/2.27, allocations: 84.59 kB / 1.025 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=424): time 1.214e-05/2.27, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=554): time 0.5554/2.826, allocations: 95.25 MB / 1.118 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/2.826, allocations: 337.4 kB / 1.119 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/2.836, allocations: 7.402 MB / 1.126 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/2.838, allocations: 28.7 kB / 1.126 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004312/2.842, allocations: 9.013 MB / 1.135 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002362/2.844, allocations: 2.079 MB / 1.137 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008896/2.845, allocations: 5.531 kB / 1.137 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006534/2.846, allocations: 1.001 MB / 1.138 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01066/2.857, allocations: 8.982 MB / 1.146 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/2.871, allocations: 18.41 MB / 1.164 GB, free: 91.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01768/2.888, allocations: 12.54 MB / 1.177 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003446/2.889, allocations: 96.31 kB / 1.177 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.06862/2.958, allocations: 33.01 MB / 1.209 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007195/2.958, allocations: 150.8 kB / 1.209 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04363/3.002, allocations: 21.57 MB / 1.23 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04229/3.044, allocations: 9.263 MB / 1.239 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02112/3.065, allocations: 4.012 MB / 1.243 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4164/3.482, allocations: 43.17 MB / 1.285 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/3.501, allocations: 1.394 MB / 1.287 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004133/3.505, allocations: 1.015 MB / 1.288 GB, free: 95.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1530 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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],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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (2001): * Single equations (assignments): 1974 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003863/3.509, allocations: 0.9334 MB / 1.289 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002314/3.511, allocations: 0.8232 MB / 1.289 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06044/3.571, allocations: 26.97 MB / 1.316 GB, free: 91.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05634/3.628, allocations: 25.29 MB / 1.34 GB, free: 84.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.595e-05/3.628, allocations: 23.42 kB / 1.34 GB, free: 84.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001942/3.628, allocations: 25.08 kB / 1.34 GB, free: 84.42 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1102/3.738, allocations: 55.52 MB / 1.395 GB, free: 46.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.354e-05/3.738, allocations: 7.062 kB / 1.395 GB, free: 46.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005839/3.744, allocations: 1.078 MB / 1.396 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04511/3.789, allocations: 13.93 MB / 1.409 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001756/3.791, allocations: 87.81 kB / 1.409 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4141/4.205, allocations: 56.1 MB / 1.464 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02803/4.233, allocations: 21.77 MB / 1.485 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07024/4.304, allocations: 38.67 MB / 1.523 GB, free: 96.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008296/4.312, allocations: 2.421 MB / 1.526 GB, free: 95.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002823/4.315, allocations: 48.8 kB / 1.526 GB, free: 95.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008758/4.324, allocations: 0.7685 MB / 1.526 GB, free: 95.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001858/4.326, allocations: 410.5 kB / 1.527 GB, free: 95.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006811/4.326, allocations: 177 kB / 1.527 GB, free: 95.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008934/4.335, allocations: 4.914 MB / 1.532 GB, free: 94.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.81e-07/4.335, allocations: 3.812 kB / 1.532 GB, free: 94.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02068/4.356, allocations: 4.109 MB / 1.536 GB, free: 94.08 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.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],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 (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/4.357, allocations: 206.8 kB / 1.536 GB, free: 93.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03109/4.388, allocations: 22.43 MB / 1.558 GB, free: 84.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/4.388, allocations: 2.734 kB / 1.558 GB, free: 84.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01592/4.404, allocations: 10.87 MB / 1.568 GB, free: 75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007274/4.412, allocations: 1.056 MB / 1.569 GB, free: 74.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05587/4.468, allocations: 30.82 MB / 1.6 GB, free: 47.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/4.481, allocations: 9.469 MB / 1.609 GB, free: 40.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01284/4.494, allocations: 5.133 MB / 1.614 GB, free: 37.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002923/4.497, allocations: 0.6805 MB / 1.614 GB, free: 36.47 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/4.497, allocations: 0 / 1.614 GB, free: 36.47 MB / 0.5417 GB Notification: Performance of Templates: time 0.6218/5.119, allocations: 152.5 MB / 1.763 GB, free: 65.54 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)