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.0009354/0.0009355, allocations: 99.86 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.0009893/0.0009894, 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.459/1.459, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.2895/0.2895, allocations: 40 MB / 310.4 MB, free: 10.03 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.0005306/0.0005307, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01401/0.1228, allocations: 15.42 MB / 452.2 MB, free: 3.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.192/0.3149, allocations: 4.106 MB / 456.3 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.3174, allocations: 71.19 kB / 456.4 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3187, allocations: 0.7116 MB / 457.1 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.3234, allocations: 2.168 MB / 459.2 MB, free: 33.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.3241, allocations: 218.1 kB / 459.5 MB, free: 33.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.3247, allocations: 493.5 kB / 459.9 MB, free: 33.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.3261, allocations: 1.055 MB / 461 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.3264, allocations: 243.8 kB / 461.2 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.3269, allocations: 498.9 kB / 461.7 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.244e-05/0.327, allocations: 57.34 kB / 461.8 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.3275, allocations: 392.1 kB / 462.2 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.3278, allocations: 414.4 kB / 462.6 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.328, allocations: 218 kB / 462.8 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.3288, allocations: 1.331 MB / 464.1 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3289, allocations: 3.188 kB / 464.1 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3289, allocations: 3 kB / 464.1 MB, free: 33.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3289, allocations: 4 kB / 464.1 MB, free: 33.33 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.002298/0.3312, allocations: 1.447 MB / 465.6 MB, free: 32.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3312, allocations: 9.562 kB / 465.6 MB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.3319, allocations: 177.3 kB / 465.7 MB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.3328, allocations: 0.6093 MB / 466.4 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.3328, allocations: 61.77 kB / 466.4 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.333, allocations: 82.38 kB / 466.5 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004424/0.3375, allocations: 2.713 MB / 469.2 MB, free: 31.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.3375, allocations: 12.59 kB / 469.2 MB, free: 31.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.3376, allocations: 34.95 kB / 469.3 MB, free: 31.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004001/0.338, allocations: 390.8 kB / 469.6 MB, free: 31.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004562/0.3426, allocations: 2.403 MB / 472 MB, free: 31.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006881/0.3495, allocations: 8.288 MB / 480.3 MB, free: 27.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.3529, allocations: 0.99 MB / 481.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.354, allocations: 1.733 MB / 483.1 MB, free: 26.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3541, allocations: 35.08 kB / 483.1 MB, free: 25.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.3541, allocations: 2.406 kB / 483.1 MB, free: 25.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01041/0.3645, allocations: 3.006 MB / 486.1 MB, free: 25.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3645, allocations: 57.88 kB / 486.2 MB, free: 25.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.3655, allocations: 0.8944 MB / 487 MB, free: 25.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3655, allocations: 37.38 kB / 487.1 MB, free: 25.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.3658, allocations: 0.6666 MB / 487.8 MB, free: 25.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.366, allocations: 206 kB / 488 MB, free: 24.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.366, allocations: 26.59 kB / 488 MB, free: 24.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3661, allocations: 403 kB / 488.4 MB, free: 24.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.3666, allocations: 366.6 kB / 488.7 MB, free: 24.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.3672, allocations: 0.9886 MB / 489.7 MB, free: 23.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/0.3679, allocations: 0.5704 MB / 490.3 MB, free: 23.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.3679, allocations: 6.469 kB / 490.3 MB, free: 23.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001812/0.3697, allocations: 1.393 MB / 491.7 MB, free: 23.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3698, allocations: 15.5 kB / 491.7 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.3698, allocations: 21.75 kB / 491.7 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/0.3699, allocations: 32.88 kB / 491.8 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.371, allocations: 321.7 kB / 492.1 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006685/0.3717, allocations: 1.361 MB / 493.4 MB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.3723, allocations: 59.59 kB / 493.5 MB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/0.3724, allocations: 65.19 kB / 493.6 MB, free: 22.2 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.0007724/0.3732, allocations: 0.5013 MB / 494.1 MB, free: 22.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3733, allocations: 86 kB / 494.1 MB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.3735, allocations: 114.3 kB / 494.3 MB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3736, allocations: 10 kB / 494.3 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3736, allocations: 1.531 kB / 494.3 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3736, allocations: 6.75 kB / 494.3 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00363/0.3772, allocations: 2.167 MB / 496.4 MB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3773, allocations: 6.203 kB / 496.4 MB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.3777, allocations: 125.8 kB / 496.6 MB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.3778, allocations: 13.47 kB / 496.6 MB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.3778, allocations: 18.95 kB / 496.6 MB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005825/0.3784, allocations: 1.334 MB / 497.9 MB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.3784, allocations: 21.27 kB / 498 MB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3796, allocations: 1.124 MB / 499.1 MB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.38, allocations: 205.2 kB / 499.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.3801, allocations: 19.66 kB / 499.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.3804, allocations: 17.45 kB / 499.3 MB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3805, allocations: 50.44 kB / 499.4 MB, free: 18.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.3806, allocations: 22.44 kB / 499.4 MB, free: 18.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008977/0.3815, allocations: 0.5953 MB / 500 MB, free: 18.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3815, allocations: 4 kB / 500 MB, free: 18.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001131/0.3826, allocations: 216.5 kB / 0.4885 GB, free: 18.36 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.0001547/0.3828, allocations: 122.3 kB / 0.4886 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.3841, allocations: 0.8606 MB / 0.4894 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3841, allocations: 3.281 kB / 0.4894 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.3845, allocations: 282.5 kB / 0.4897 GB, free: 17.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.3851, allocations: 108.9 kB / 0.4898 GB, free: 17.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.3881, allocations: 2.504 MB / 0.4922 GB, free: 16.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/0.389, allocations: 1.25 MB / 0.4935 GB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009343/0.3899, allocations: 346.2 kB / 0.4938 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3901, allocations: 69.08 kB / 0.4939 GB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3901, allocations: 0 / 0.4939 GB, free: 15.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01391/0.404, allocations: 7.375 MB / 0.5011 GB, free: 13.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: