Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008958/0.0008958, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.000902/0.0009021, allocations: 168.7 kB / 15.95 MB, free: 204 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.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.292/0.292, allocations: 38.04 MB / 308.4 MB, free: 10.56 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.000512/0.000512, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.09928, allocations: 57.51 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01469/0.114, allocations: 16.27 MB / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008186/0.1222, allocations: 3.987 MB / 454.2 MB, free: 1.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.1247, allocations: 71.81 kB / 454.3 MB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.1267, allocations: 0.6453 MB / 454.9 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1877/0.3144, allocations: 1.819 MB / 456.7 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.3152, allocations: 244.5 kB / 457 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008862/0.3161, allocations: 0.9192 MB / 457.9 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.3174, allocations: 1.065 MB / 459 MB, free: 33.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.3178, allocations: 296.5 kB / 459.3 MB, free: 33.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.3184, allocations: 0.612 MB / 459.9 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-05/0.3186, allocations: 59.5 kB / 459.9 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.3191, allocations: 407.4 kB / 460.3 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.3194, allocations: 442 kB / 460.8 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3196, allocations: 214.2 kB / 461 MB, free: 33.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000805/0.3204, allocations: 1.334 MB / 462.3 MB, free: 33.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3204, allocations: 4 kB / 462.3 MB, free: 33.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3204, allocations: 0 / 462.3 MB, free: 33.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.3204, allocations: 0 / 462.3 MB, free: 33.21 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.002402/0.3228, allocations: 1.456 MB / 463.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.3229, allocations: 9.969 kB / 463.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006964/0.3236, allocations: 169.3 kB / 463.9 MB, free: 32.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.3246, allocations: 0.6117 MB / 464.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.3246, allocations: 59.7 kB / 464.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.3248, allocations: 83.17 kB / 464.7 MB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004578/0.3294, allocations: 2.674 MB / 467.4 MB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.3295, allocations: 7.781 kB / 467.4 MB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.3296, allocations: 41.19 kB / 467.4 MB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004455/0.3301, allocations: 383.6 kB / 467.8 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00458/0.3346, allocations: 2.365 MB / 470.2 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006453/0.3411, allocations: 8.265 MB / 478.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.344, allocations: 0.9852 MB / 479.4 MB, free: 27.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.3443, allocations: 262.5 kB / 479.7 MB, free: 27.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009404/0.3453, allocations: 1.728 MB / 481.4 MB, free: 25.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.3453, allocations: 40.25 kB / 481.4 MB, free: 25.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.3453, allocations: 0 / 481.4 MB, free: 25.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.008932/0.3543, allocations: 2.971 MB / 484.4 MB, free: 25.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.3543, allocations: 59.22 kB / 484.5 MB, free: 25.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/0.3552, allocations: 0.8995 MB / 485.4 MB, free: 25.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3553, allocations: 37.02 kB / 485.4 MB, free: 25.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3556, allocations: 0.6584 MB / 486 MB, free: 24.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.3557, allocations: 213.6 kB / 486.3 MB, free: 24.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.3558, allocations: 26.94 kB / 486.3 MB, free: 24.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3559, allocations: 400.3 kB / 486.7 MB, free: 24.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.3563, allocations: 364.7 kB / 487 MB, free: 24.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.3569, allocations: 0.9924 MB / 488 MB, free: 23.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.3575, allocations: 0.5727 MB / 488.6 MB, free: 23.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.3575, allocations: 9.188 kB / 488.6 MB, free: 23.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001552/0.3591, allocations: 1.386 MB / 490 MB, free: 23.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3591, allocations: 17 kB / 490 MB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3592, allocations: 25.31 kB / 490 MB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.3592, allocations: 35.56 kB / 490.1 MB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.3603, allocations: 315.3 kB / 490.4 MB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006259/0.3609, allocations: 1.362 MB / 491.7 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.3615, allocations: 55.16 kB / 491.8 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.3616, allocations: 66.78 kB / 491.9 MB, free: 22.12 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005882/0.3622, allocations: 0.5039 MB / 492.4 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.3623, allocations: 90.55 kB / 492.4 MB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.3625, allocations: 116.1 kB / 492.6 MB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3625, allocations: 9.781 kB / 492.6 MB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3625, allocations: 0 / 492.6 MB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3625, allocations: 3.281 kB / 492.6 MB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.3656, allocations: 2.176 MB / 494.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3656, allocations: 6.156 kB / 494.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.3661, allocations: 127.8 kB / 494.9 MB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.3661, allocations: 11.27 kB / 494.9 MB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.3661, allocations: 17.69 kB / 494.9 MB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005152/0.3667, allocations: 1.32 MB / 496.2 MB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.3667, allocations: 16.33 kB / 496.2 MB, free: 19.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.3676, allocations: 0.8236 MB / 497.1 MB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.3679, allocations: 207 kB / 497.3 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.368, allocations: 20.52 kB / 497.3 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.3684, allocations: 15.75 kB / 497.3 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.3685, allocations: 58.42 kB / 497.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3685, allocations: 21.31 kB / 497.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008444/0.3694, allocations: 0.5913 MB / 498 MB, free: 19.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3694, allocations: 0 / 498 MB, free: 19.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3705, allocations: 219 kB / 498.2 MB, free: 19.27 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.3706, allocations: 122 kB / 498.3 MB, free: 19.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3719, allocations: 0.8671 MB / 499.2 MB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3719, allocations: 1.094 kB / 499.2 MB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.3723, allocations: 279.4 kB / 499.5 MB, free: 18.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.373, allocations: 116.4 kB / 499.6 MB, free: 18.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.3757, allocations: 2.521 MB / 0.4903 GB, free: 17.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.3765, allocations: 1.223 MB / 0.4915 GB, free: 16.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008196/0.3773, allocations: 344.2 kB / 0.4918 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.3775, allocations: 64.81 kB / 0.4919 GB, free: 16.51 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3775, allocations: 1 kB / 0.4919 GB, free: 16.51 MB / 382.1 MB Notification: Performance of Templates: time 0.0168/0.3943, allocations: 7.39 MB / 0.4991 GB, free: 15.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) Environment - environmentSimulation: