Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3896/0.3896, allocations: 38.03 MB / 308.4 MB, free: 10.41 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006673/0.0006674, allocations: 24 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1411, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.3249/0.466, allocations: 21.94 MB / 455.9 MB, free: 33.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.4829, allocations: 6.136 MB / 462 MB, free: 33.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005227/0.4882, allocations: 107.4 kB / 462.1 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.4916, allocations: 1.121 MB / 463.2 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.5034, allocations: 3.472 MB / 466.7 MB, free: 32.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.5054, allocations: 450 kB / 467.1 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.5094, allocations: 2.113 MB / 469.3 MB, free: 32.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.5124, allocations: 2.135 MB / 471.4 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.514, allocations: 0.851 MB / 472.2 MB, free: 32.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.5155, allocations: 1.188 MB / 473.4 MB, free: 31.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004685/0.516, allocations: 128.2 kB / 473.6 MB, free: 31.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.5184, allocations: 1.024 MB / 474.6 MB, free: 31.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.5198, allocations: 1.377 MB / 476 MB, free: 31.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008188/0.5206, allocations: 0.7354 MB / 476.7 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.5267, allocations: 4.719 MB / 481.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5268, allocations: 0 / 481.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5268, allocations: 0 / 481.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002104/0.527, allocations: 0 / 481.4 MB, free: 31.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.008919/0.5359, allocations: 3.475 MB / 484.9 MB, free: 29.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.536, allocations: 8.688 kB / 484.9 MB, free: 29.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0235/0.5595, allocations: 6.413 MB / 491.3 MB, free: 29.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008529/0.5681, allocations: 2.508 MB / 493.8 MB, free: 28.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.5683, allocations: 182.9 kB / 494 MB, free: 28.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.5698, allocations: 311.7 kB / 494.3 MB, free: 28.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/0.5939, allocations: 10.79 MB / 0.4933 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.985e-05/0.5941, allocations: 31.33 kB / 0.4933 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004182/0.5945, allocations: 111 kB / 0.4934 GB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004628/0.5991, allocations: 2.461 MB / 0.4958 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/0.6236, allocations: 10.23 MB / 0.5058 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05373/0.6774, allocations: 35.83 MB / 0.5408 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.6887, allocations: 5.601 MB / 0.5462 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/0.6907, allocations: 1.882 MB / 0.5481 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.6907, allocations: 49.22 kB / 0.5481 GB, free: 3.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 5.511e-06/0.6908, allocations: 0 / 0.5481 GB, free: 3.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.04626/0.737, allocations: 15.54 MB / 0.5633 GB, free: 4.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001995/0.7391, allocations: 1.531 MB / 0.5648 GB, free: 2.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00664/0.7457, allocations: 3.027 MB / 0.5678 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001113/0.7469, allocations: 53.7 kB / 0.5678 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003151/0.75, allocations: 2.693 MB / 0.5704 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/0.752, allocations: 0.8429 MB / 0.5713 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.7525, allocations: 106.7 kB / 0.5714 GB, free: 11.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005252/0.753, allocations: 0.5453 MB / 0.5719 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006322/0.7594, allocations: 2.607 MB / 0.5744 GB, free: 8.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/0.7699, allocations: 5.592 MB / 0.5799 GB, free: 1.449 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009232/0.7792, allocations: 3.803 MB / 0.5836 GB, free: 13.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.126e-05/0.7793, allocations: 31.95 kB / 0.5837 GB, free: 13.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.1002/0.8795, allocations: 18.97 MB / 0.6022 GB, free: 10.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.8797, allocations: 51.95 kB / 0.6022 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06804/0.9478, allocations: 12.01 MB / 0.614 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07341/1.021, allocations: 10.29 MB / 0.624 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00824/1.03, allocations: 1.306 MB / 0.6253 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3673/1.397, allocations: 17.27 MB / 0.6421 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/1.403, allocations: 437.5 kB / 0.6426 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009058/1.404, allocations: 325.3 kB / 0.6429 GB, free: 141.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.00453/1.408, allocations: 2.025 MB / 0.6448 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006826/1.409, allocations: 271.8 kB / 0.6451 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008847/1.418, allocations: 5.101 MB / 0.6501 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009068/1.427, allocations: 4.396 MB / 0.6544 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.427, allocations: 3.281 kB / 0.6544 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.427, allocations: 11.06 kB / 0.6544 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/1.454, allocations: 12.92 MB / 0.667 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/1.454, allocations: 7.125 kB / 0.667 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.456, allocations: 463.3 kB / 0.6675 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/1.46, allocations: 0.9373 MB / 0.6684 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/1.46, allocations: 52.78 kB / 0.6684 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007472/1.467, allocations: 5.582 MB / 0.6739 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009813/1.468, allocations: 1.474 MB / 0.6753 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.481, allocations: 8.352 MB / 0.6835 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.482, allocations: 342.7 kB / 0.6838 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/1.483, allocations: 46.72 kB / 0.6838 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.484, allocations: 199 kB / 0.684 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/1.485, allocations: 138 kB / 0.6842 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.485, allocations: 69.02 kB / 0.6842 GB, free: 124.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003489/1.489, allocations: 1.888 MB / 0.6861 GB, free: 123.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.489, allocations: 3.719 kB / 0.6861 GB, free: 123.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005945/1.495, allocations: 1.122 MB / 0.6872 GB, free: 123.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006344/1.495, allocations: 198.2 kB / 0.6874 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01094/1.506, allocations: 6.564 MB / 0.6938 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.506, allocations: 0 / 0.6938 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003633/1.51, allocations: 2.525 MB / 0.6962 GB, free: 115.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.512, allocations: 349.8 kB / 0.6966 GB, free: 114.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.53, allocations: 11.57 MB / 0.7079 GB, free: 103.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.534, allocations: 3.252 MB / 0.7111 GB, free: 99.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004788/1.538, allocations: 2.066 MB / 0.7131 GB, free: 97.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/1.539, allocations: 211.4 kB / 0.7133 GB, free: 97.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.464e-06/1.539, allocations: 4 kB / 0.7133 GB, free: 97.59 MB / 494.1 MB Notification: Performance of Templates: time 0.06962/1.609, allocations: 43.92 MB / 0.7562 GB, free: 53.68 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) Environment - environmentSimulation: