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.0008003/0.0008001, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.005989/0.00599, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3201/0.3201, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.0005672/0.0005671, allocations: 20 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 57.51 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2433/0.3646, allocations: 24.86 MB / 459.4 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.3784, allocations: 6.32 MB / 465.7 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004907/0.3834, allocations: 106.2 kB / 465.8 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.3845, allocations: 422.9 kB / 466.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.3883, allocations: 1.646 MB / 467.9 MB, free: 32.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3894, allocations: 0.513 MB / 468.4 MB, free: 32.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.3938, allocations: 5.419 MB / 473.8 MB, free: 31.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.3963, allocations: 2.268 MB / 476.1 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3975, allocations: 0.9444 MB / 477 MB, free: 30.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.3993, allocations: 1.698 MB / 478.7 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.3996, allocations: 123.6 kB / 478.9 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.4017, allocations: 1.3 MB / 480.2 MB, free: 30.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.4028, allocations: 1.526 MB / 481.7 MB, free: 29.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.4039, allocations: 1.774 MB / 483.5 MB, free: 28.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005188/0.4091, allocations: 5.799 MB / 489.3 MB, free: 27.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4091, allocations: 4 kB / 489.3 MB, free: 27.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4092, allocations: 0 / 489.3 MB, free: 27.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.4093, allocations: 0 / 489.3 MB, free: 27.01 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.006264/0.4156, allocations: 3.395 MB / 492.7 MB, free: 25.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4157, allocations: 9.625 kB / 492.7 MB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/0.4357, allocations: 5.773 MB / 498.4 MB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/0.4412, allocations: 2.252 MB / 0.489 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.4414, allocations: 179.9 kB / 0.4891 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.4425, allocations: 318.2 kB / 0.4894 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.4618, allocations: 10.73 MB / 0.4999 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.88e-05/0.4619, allocations: 36.14 kB / 0.5 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003502/0.4623, allocations: 111.7 kB / 0.5001 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003695/0.466, allocations: 2.457 MB / 0.5025 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.4828, allocations: 10.18 MB / 0.5124 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05535/0.5382, allocations: 35.69 MB / 0.5473 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.5494, allocations: 5.594 MB / 0.5527 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.5525, allocations: 2.327 MB / 0.555 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.5541, allocations: 1.879 MB / 0.5568 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.5542, allocations: 60.44 kB / 0.5569 GB, free: 8.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 6.763e-06/0.5542, allocations: 0 / 0.5569 GB, free: 8.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.03573/0.59, allocations: 14.97 MB / 0.5715 GB, free: 9.824 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001433/0.5914, allocations: 1.52 MB / 0.573 GB, free: 8.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004588/0.596, allocations: 2.81 MB / 0.5757 GB, free: 5.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004787/0.5965, allocations: 61.22 kB / 0.5758 GB, free: 5.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.5983, allocations: 2.676 MB / 0.5784 GB, free: 2.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.5993, allocations: 0.8546 MB / 0.5792 GB, free: 1.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006054/0.5999, allocations: 486.3 kB / 0.5797 GB, free: 1.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.6, allocations: 301.1 kB / 0.58 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/0.6036, allocations: 2.631 MB / 0.5826 GB, free: 14.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/0.6089, allocations: 5.644 MB / 0.5881 GB, free: 7.199 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009984/0.6189, allocations: 8.937 MB / 0.5968 GB, free: 12.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.925e-05/0.619, allocations: 32 kB / 0.5968 GB, free: 12.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06509/0.6841, allocations: 19.04 MB / 0.6154 GB, free: 9.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.6843, allocations: 52 kB / 0.6155 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2732/0.9575, allocations: 12.02 MB / 0.6272 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04735/1.005, allocations: 10.28 MB / 0.6373 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/1.011, allocations: 1.313 MB / 0.6385 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02725/1.038, allocations: 16.03 MB / 0.6542 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/1.043, allocations: 433.3 kB / 0.6546 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009728/1.044, allocations: 325.4 kB / 0.6549 GB, free: 139.5 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 (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.003969/1.048, allocations: 2.022 MB / 0.6569 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/1.049, allocations: 274 kB / 0.6572 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008572/1.058, allocations: 5.115 MB / 0.6622 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007359/1.065, allocations: 4.407 MB / 0.6665 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.065, allocations: 2.969 kB / 0.6665 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.065, allocations: 11.95 kB / 0.6665 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.085, allocations: 12.94 MB / 0.6791 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.085, allocations: 7.938 kB / 0.6791 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/1.087, allocations: 459.7 kB / 0.6795 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/1.09, allocations: 0.9441 MB / 0.6805 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/1.09, allocations: 47.16 kB / 0.6805 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/1.096, allocations: 5.465 MB / 0.6859 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007266/1.096, allocations: 1.464 MB / 0.6873 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.107, allocations: 7.73 MB / 0.6948 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.108, allocations: 331.9 kB / 0.6951 GB, free: 113.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007403/1.109, allocations: 50.73 kB / 0.6952 GB, free: 113.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.111, allocations: 193.2 kB / 0.6954 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/1.111, allocations: 139 kB / 0.6955 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.111, allocations: 65.98 kB / 0.6956 GB, free: 113.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00314/1.114, allocations: 1.729 MB / 0.6973 GB, free: 111.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.114, allocations: 0 / 0.6973 GB, free: 111.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006902/1.121, allocations: 1.119 MB / 0.6984 GB, free: 110.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 (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.0006286/1.122, allocations: 183.8 kB / 0.6985 GB, free: 110.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/1.132, allocations: 6.616 MB / 0.705 GB, free: 103.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.132, allocations: 4.125 kB / 0.705 GB, free: 103.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003325/1.136, allocations: 2.533 MB / 0.7075 GB, free: 100.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/1.141, allocations: 362.1 kB / 0.7078 GB, free: 100.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.155, allocations: 12 MB / 0.7195 GB, free: 88.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/1.158, allocations: 3.16 MB / 0.7226 GB, free: 85.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004098/1.162, allocations: 2.064 MB / 0.7246 GB, free: 83.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007491/1.163, allocations: 215.4 kB / 0.7248 GB, free: 82.94 MB / 494.1 MB Notification: Performance of SimCode: time 1.021e-06/1.163, allocations: 0 / 0.7248 GB, free: 82.94 MB / 494.1 MB Notification: Performance of Templates: time 0.05841/1.221, allocations: 44.04 MB / 0.7678 GB, free: 38.91 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: