Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical") translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001318/0.001319, 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.444/1.444, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001557/0.001557, allocations: 107.5 kB / 218 MB, free: 8.402 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.2094/0.2094, allocations: 37.97 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.062e-05, allocations: 3.75 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.537, allocations: 107.6 MB / 0.4945 GB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5373, allocations: 74.16 kB / 0.4945 GB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8136/1.351, allocations: 223.3 MB / 0.7126 GB, free: 54.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.587e-06/1.351, allocations: 0 / 0.7126 GB, free: 54.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009208/1.352, allocations: 277.6 kB / 0.7128 GB, free: 54.75 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: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.06346/1.415, allocations: 14.49 MB / 0.727 GB, free: 48.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.416, allocations: 8.781 kB / 0.727 GB, free: 48.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04687/1.462, allocations: 10.46 MB / 0.7372 GB, free: 39.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03805/1.501, allocations: 13.96 MB / 0.7509 GB, free: 25.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009204/1.501, allocations: 472 kB / 0.7513 GB, free: 24.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01082/1.512, allocations: 0.8512 MB / 0.7521 GB, free: 24.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04445/1.557, allocations: 19.36 MB / 0.771 GB, free: 4.656 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4157/1.973, allocations: 27.86 MB / 0.7982 GB, free: 50.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001064/1.974, allocations: 142.3 kB / 0.7984 GB, free: 50.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006811/1.981, allocations: 65.56 kB / 0.7984 GB, free: 50.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005186/1.986, allocations: 2.543 MB / 0.8009 GB, free: 50.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1842/2.17, allocations: 126.4 MB / 0.9243 GB, free: 23.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/2.182, allocations: 8.515 MB / 0.9326 GB, free: 18.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008827/2.191, allocations: 6.655 MB / 0.9391 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3864/2.577, allocations: 30.92 MB / 0.9693 GB, free: 115.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/2.577, allocations: 78.78 kB / 0.9694 GB, free: 115.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=424): time 8.296e-06/2.577, allocations: 1.75 kB / 0.9694 GB, free: 115.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=554): time 0.2265/2.804, allocations: 95.24 MB / 1.062 GB, free: 97.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/2.804, allocations: 340.4 kB / 1.063 GB, free: 97.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/2.818, allocations: 7.399 MB / 1.07 GB, free: 91.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001647/2.82, allocations: 25.7 kB / 1.07 GB, free: 91.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005836/2.826, allocations: 9.012 MB / 1.079 GB, free: 83.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003369/2.829, allocations: 2.081 MB / 1.081 GB, free: 81.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/2.831, allocations: 0 / 1.081 GB, free: 81.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007771/2.832, allocations: 1.004 MB / 1.082 GB, free: 80.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01169/2.843, allocations: 8.967 MB / 1.091 GB, free: 72.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02103/2.864, allocations: 18.4 MB / 1.109 GB, free: 50.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02009/2.885, allocations: 12.54 MB / 1.121 GB, free: 40.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005363/2.885, allocations: 96 kB / 1.121 GB, free: 39.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.3886/3.274, allocations: 32.7 MB / 1.153 GB, free: 88.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000297/3.274, allocations: 153.9 kB / 1.153 GB, free: 88.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0447/3.319, allocations: 21.32 MB / 1.174 GB, free: 88.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02887/3.348, allocations: 9.013 MB / 1.183 GB, free: 88.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01479/3.363, allocations: 4.066 MB / 1.187 GB, free: 88.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03941/3.402, allocations: 41.9 MB / 1.227 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01815/3.42, allocations: 1.385 MB / 1.229 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003811/3.424, allocations: 1.005 MB / 1.23 GB, free: 66.93 MB / 490.7 MB 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 (2010): * Single equations (assignments): 1983 * 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,1,1,1} * 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.004738/3.429, allocations: 0.9401 MB / 1.231 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/3.431, allocations: 0.8248 MB / 1.232 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06257/3.493, allocations: 26.97 MB / 1.258 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05492/3.548, allocations: 25.28 MB / 1.283 GB, free: 32.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.383e-05/3.548, allocations: 20 kB / 1.283 GB, free: 32.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002793/3.549, allocations: 31.83 kB / 1.283 GB, free: 32.81 MB / 490.7 MB 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.4447/3.993, allocations: 55.51 MB / 1.337 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-05/3.994, allocations: 3.797 kB / 1.337 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005617/3.999, allocations: 1.08 MB / 1.338 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04287/4.042, allocations: 13.93 MB / 1.351 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001578/4.044, allocations: 91.92 kB / 1.352 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05995/4.104, allocations: 56.09 MB / 1.406 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02649/4.13, allocations: 21.78 MB / 1.428 GB, free: 72.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06738/4.198, allocations: 38.68 MB / 1.465 GB, free: 41.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006241/4.204, allocations: 2.416 MB / 1.468 GB, free: 39.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/4.206, allocations: 39.97 kB / 1.468 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008483/4.215, allocations: 0.77 MB / 1.469 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002181/4.217, allocations: 414.4 kB / 1.469 GB, free: 38.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009466/4.218, allocations: 175.8 kB / 1.469 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009856/4.228, allocations: 4.911 MB / 1.474 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.242e-06/4.228, allocations: 2.438 kB / 1.474 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02024/4.248, allocations: 4.103 MB / 1.478 GB, free: 29.21 MB / 0.4948 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.001401/4.25, allocations: 193.8 kB / 1.478 GB, free: 29.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3094/4.559, allocations: 22.04 MB / 1.5 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/4.559, allocations: 5.75 kB / 1.5 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01879/4.578, allocations: 10.86 MB / 1.51 GB, free: 99.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01081/4.589, allocations: 1.052 MB / 1.511 GB, free: 99.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06459/4.654, allocations: 30.82 MB / 1.541 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01982/4.673, allocations: 9.45 MB / 1.551 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01722/4.691, allocations: 5.149 MB / 1.556 GB, free: 92.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004702/4.695, allocations: 0.6862 MB / 1.556 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.273e-06/4.695, allocations: 0 / 1.556 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.5504/5.246, allocations: 150.4 MB / 1.703 GB, free: 99.24 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)