Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001246/0.001246, allocations: 194.4 kB / 16.13 MB, free: 6.699 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.652/1.652, allocations: 205.1 MB / 222 MB, free: 4.988 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.4316/0.4316, allocations: 39.94 MB / 309.3 MB, free: 9.258 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.001461/0.001461, allocations: 70.39 kB / 376.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1664, allocations: 56.88 MB / 433.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01791/0.1843, allocations: 18.11 MB / 451.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3185/0.5029, allocations: 4.24 MB / 456.1 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/0.5074, allocations: 69.56 kB / 456.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.5095, allocations: 0.8713 MB / 457.1 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009762/0.5105, allocations: 290.7 kB / 457.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.5113, allocations: 294.7 kB / 457.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.5125, allocations: 1.133 MB / 458.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009737/0.5134, allocations: 0.8154 MB / 459.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.5139, allocations: 338.1 kB / 459.9 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.5146, allocations: 0.6807 MB / 460.6 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.5148, allocations: 84.28 kB / 460.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/0.5156, allocations: 0.5439 MB / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.5161, allocations: 482.7 kB / 461.7 MB, free: 34.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.5166, allocations: 0.5458 MB / 462.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.5179, allocations: 1.724 MB / 464 MB, free: 34.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.518, allocations: 4 kB / 464 MB, free: 34.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.518, allocations: 0 / 464 MB, free: 34.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.518, allocations: 0 / 464 MB, free: 34.46 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003018/0.521, allocations: 1.628 MB / 465.6 MB, free: 33.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5211, allocations: 10.78 kB / 465.6 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/0.5218, allocations: 159.6 kB / 465.8 MB, free: 33.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.5227, allocations: 0.6374 MB / 466.4 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.5227, allocations: 55.28 kB / 466.5 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.5229, allocations: 89.81 kB / 466.6 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004264/0.5272, allocations: 2.67 MB / 469.2 MB, free: 31.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.5272, allocations: 11.56 kB / 469.2 MB, free: 31.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.5273, allocations: 35.88 kB / 469.3 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004219/0.5278, allocations: 386.2 kB / 469.7 MB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004396/0.5322, allocations: 2.356 MB / 472 MB, free: 31.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006899/0.5391, allocations: 8.281 MB / 480.3 MB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.5424, allocations: 0.9729 MB / 481.3 MB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.5428, allocations: 264.8 kB / 481.5 MB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.544, allocations: 1.734 MB / 483.3 MB, free: 23.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.544, allocations: 33.81 kB / 483.3 MB, free: 23.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.525e-06/0.544, allocations: 0 / 483.3 MB, free: 23.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01041/0.5544, allocations: 2.95 MB / 486.2 MB, free: 23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.5545, allocations: 58.03 kB / 486.3 MB, free: 22.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5556, allocations: 0.9107 MB / 487.2 MB, free: 22.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.5556, allocations: 37.2 kB / 487.2 MB, free: 22.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.5559, allocations: 0.6555 MB / 487.9 MB, free: 22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.5561, allocations: 212.7 kB / 488.1 MB, free: 21.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.5564, allocations: 248.3 kB / 488.4 MB, free: 21.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5566, allocations: 405 kB / 488.7 MB, free: 21.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.5572, allocations: 365.8 kB / 489.1 MB, free: 21.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009733/0.5582, allocations: 0.9924 MB / 490.1 MB, free: 20.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.5598, allocations: 1.493 MB / 491.6 MB, free: 19.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.5599, allocations: 6.938 kB / 491.6 MB, free: 19.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002275/0.5622, allocations: 1.398 MB / 493 MB, free: 18.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.5622, allocations: 14.44 kB / 493 MB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.5622, allocations: 22.64 kB / 493 MB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.728e-05/0.5623, allocations: 34.47 kB / 493.1 MB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.5636, allocations: 321.1 kB / 493.4 MB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009204/0.5645, allocations: 1.362 MB / 494.7 MB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/0.5653, allocations: 58.14 kB / 494.8 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/0.5654, allocations: 65.5 kB / 494.9 MB, free: 17.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009346/0.5663, allocations: 0.4895 MB / 495.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5665, allocations: 91 kB / 495.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.5668, allocations: 120.1 kB / 495.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.5669, allocations: 9.688 kB / 495.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.5669, allocations: 1.625 kB / 495.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.5669, allocations: 3.516 kB / 495.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.5719, allocations: 2.174 MB / 497.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.572, allocations: 7.578 kB / 497.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.5725, allocations: 129.5 kB / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.5725, allocations: 21.62 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.5726, allocations: 16.5 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007477/0.5733, allocations: 1.33 MB / 499.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.5733, allocations: 9.781 kB / 499.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5745, allocations: 0.8238 MB / 0.4884 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.5748, allocations: 202.5 kB / 0.4886 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.5749, allocations: 24.83 kB / 0.4886 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.5753, allocations: 16.84 kB / 0.4886 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5754, allocations: 54.62 kB / 0.4886 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.5754, allocations: 25.97 kB / 0.4887 GB, free: 13.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009983/0.5764, allocations: 0.6004 MB / 0.4893 GB, free: 13.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5764, allocations: 0 / 0.4893 GB, free: 13.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001407/0.5779, allocations: 221.7 kB / 0.4895 GB, free: 13.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002105/0.5781, allocations: 128.9 kB / 0.4896 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.5798, allocations: 0.8641 MB / 0.4904 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5798, allocations: 5.188 kB / 0.4904 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005222/0.5803, allocations: 281.6 kB / 0.4907 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.5812, allocations: 117.5 kB / 0.4908 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.5851, allocations: 2.609 MB / 0.4934 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.5862, allocations: 1.219 MB / 0.4946 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.5872, allocations: 339.8 kB / 0.4949 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.5874, allocations: 69.39 kB / 0.4949 GB, free: 10.14 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5874, allocations: 0 / 0.4949 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01876/0.6062, allocations: 7.665 MB / 0.5024 GB, free: 8.469 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)