Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006249/0.006249, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001533/0.001533, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2932/0.2932, allocations: 39.95 MB / 309.8 MB, free: 9.379 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.2. 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.00155/0.00155, allocations: 67.89 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3349, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01292/0.3479, allocations: 11.81 MB / 0.4927 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3589, allocations: 4.056 MB / 0.4966 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.3625, allocations: 60.56 kB / 0.4967 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.3661, allocations: 1.184 MB / 0.4978 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006118/0.3723, allocations: 1.749 MB / 0.4995 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.3738, allocations: 0.558 MB / 0.5001 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005484/0.3793, allocations: 3.954 MB / 0.5039 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.3816, allocations: 1.788 MB / 0.5057 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.3838, allocations: 1.17 MB / 0.5068 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.3859, allocations: 1.684 MB / 0.5085 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004645/0.3864, allocations: 216.4 kB / 0.5087 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.3888, allocations: 1.292 MB / 0.5099 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.3902, allocations: 1.592 MB / 0.5115 GB, free: 164 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.3923, allocations: 1.851 MB / 0.5133 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007442/0.3997, allocations: 6.246 MB / 0.5194 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3997, allocations: 4 kB / 0.5194 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3997, allocations: 0 / 0.5194 GB, free: 9.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000111/0.3999, allocations: 0 / 0.5194 GB, free: 9.043 MB / 398.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.007444/0.4073, allocations: 4.103 MB / 0.5234 GB, free: 4.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4074, allocations: 15.89 kB / 0.5234 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/0.426, allocations: 5.673 MB / 0.529 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006742/0.4328, allocations: 2.267 MB / 0.5312 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.4331, allocations: 184.8 kB / 0.5314 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/0.4342, allocations: 311.6 kB / 0.5317 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.4505, allocations: 10.72 MB / 0.5421 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-05/0.4506, allocations: 19.81 kB / 0.5421 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.451, allocations: 115.8 kB / 0.5423 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003669/0.4546, allocations: 2.467 MB / 0.5447 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.4734, allocations: 10.16 MB / 0.5546 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05651/0.5299, allocations: 35.51 MB / 0.5893 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.5414, allocations: 5.595 MB / 0.5947 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/0.5446, allocations: 2.334 MB / 0.597 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.5463, allocations: 1.88 MB / 0.5988 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.5463, allocations: 56.5 kB / 0.5989 GB, free: 5.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 4.268e-06/0.5464, allocations: 0 / 0.5989 GB, free: 5.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.03509/0.5814, allocations: 14.97 MB / 0.6135 GB, free: 6.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001326/0.5828, allocations: 1.626 MB / 0.6151 GB, free: 4.719 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/0.5866, allocations: 2.795 MB / 0.6178 GB, free: 1.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004986/0.5871, allocations: 57.7 kB / 0.6179 GB, free: 1.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/0.5891, allocations: 2.677 MB / 0.6205 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.5904, allocations: 0.8519 MB / 0.6213 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/0.5919, allocations: 1.111 MB / 0.6224 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.592, allocations: 305.2 kB / 0.6227 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/0.5958, allocations: 2.63 MB / 0.6253 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006017/0.6018, allocations: 5.64 MB / 0.6308 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.277/0.8788, allocations: 8.947 MB / 0.6395 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.616e-05/0.8789, allocations: 33.09 kB / 0.6396 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.08204/0.961, allocations: 19.03 MB / 0.6581 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.97e-05/0.9611, allocations: 50.81 kB / 0.6582 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04393/1.005, allocations: 12.01 MB / 0.6699 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0459/1.051, allocations: 10.28 MB / 0.68 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/1.056, allocations: 1.322 MB / 0.6813 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/1.082, allocations: 18.22 MB / 0.699 GB, free: 81.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/1.087, allocations: 439.3 kB / 0.6995 GB, free: 81.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/1.088, allocations: 316 kB / 0.6998 GB, free: 81 MB / 0.4981 GB 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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003691/1.092, allocations: 2.028 MB / 0.7017 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/1.092, allocations: 268 kB / 0.702 GB, free: 78.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/1.1, allocations: 5.112 MB / 0.707 GB, free: 73.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006168/1.106, allocations: 4.405 MB / 0.7113 GB, free: 69.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.106, allocations: 4 kB / 0.7113 GB, free: 69.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/1.106, allocations: 10.7 kB / 0.7113 GB, free: 69.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.125, allocations: 12.91 MB / 0.7239 GB, free: 56.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.125, allocations: 8 kB / 0.7239 GB, free: 56.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.127, allocations: 451.3 kB / 0.7244 GB, free: 55.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/1.13, allocations: 0.9468 MB / 0.7253 GB, free: 54.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/1.13, allocations: 51.97 kB / 0.7253 GB, free: 54.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/1.136, allocations: 5.825 MB / 0.731 GB, free: 48.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000833/1.137, allocations: 1.551 MB / 0.7325 GB, free: 47.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009935/1.147, allocations: 7.734 MB / 0.7401 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009073/1.147, allocations: 325.8 kB / 0.7404 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/1.148, allocations: 54.89 kB / 0.7404 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.149, allocations: 191.7 kB / 0.7406 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/1.15, allocations: 150.5 kB / 0.7408 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.15, allocations: 63.98 kB / 0.7408 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002261/1.152, allocations: 1.733 MB / 0.7425 GB, free: 36.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.152, allocations: 4 kB / 0.7425 GB, free: 36.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004461/1.157, allocations: 1.111 MB / 0.7436 GB, free: 35.72 MB / 0.4981 GB 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006242/1.157, allocations: 176.4 kB / 0.7438 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.168, allocations: 6.675 MB / 0.7503 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.168, allocations: 4.25 kB / 0.7503 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003063/1.171, allocations: 2.528 MB / 0.7528 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/1.173, allocations: 379.2 kB / 0.7531 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.187, allocations: 9.85 MB / 0.7628 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/1.19, allocations: 3.167 MB / 0.7659 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003968/1.194, allocations: 2.06 MB / 0.7679 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/1.194, allocations: 211.4 kB / 0.7681 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.194, allocations: 0 / 0.7681 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.07969/1.274, allocations: 43.9 MB / 0.8109 GB, free: 14.62 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)