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.007442/0.007442, allocations: 102 kB / 15.73 MB, free: 6.051 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.0014/0.0014, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2068/0.2068, allocations: 38.02 MB / 307.9 MB, free: 5.965 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.001586/0.001586, allocations: 67.91 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1523, allocations: 56.48 MB / 489.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01477/0.1672, allocations: 11.79 MB / 0.4895 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1775, allocations: 4.062 MB / 0.4935 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.18, allocations: 59.88 kB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003318/0.1834, allocations: 1.175 MB / 0.4947 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.1887, allocations: 1.791 MB / 0.4964 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1904, allocations: 0.5613 MB / 0.497 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006275/0.1967, allocations: 3.969 MB / 0.5009 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003633/0.2004, allocations: 1.783 MB / 0.5026 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.2032, allocations: 1.171 MB / 0.5038 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.2066, allocations: 1.686 MB / 0.5054 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.2077, allocations: 216 kB / 0.5056 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.2117, allocations: 1.291 MB / 0.5069 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003147/0.2148, allocations: 1.589 MB / 0.5084 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004675/0.2195, allocations: 1.859 MB / 0.5102 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4001/0.6197, allocations: 6.232 MB / 0.5163 GB, free: 11.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6197, allocations: 0 / 0.5163 GB, free: 11.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6197, allocations: 0.8125 kB / 0.5163 GB, free: 11.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002384/0.62, allocations: 0 / 0.5163 GB, free: 11.91 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.01243/0.6324, allocations: 4.115 MB / 0.5203 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.696e-05/0.6325, allocations: 14.3 kB / 0.5204 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02145/0.654, allocations: 5.673 MB / 0.5259 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007787/0.6618, allocations: 2.269 MB / 0.5281 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.6621, allocations: 176.3 kB / 0.5283 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/0.6642, allocations: 315 kB / 0.5286 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02808/0.6923, allocations: 10.72 MB / 0.539 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002324/0.6926, allocations: 27.34 kB / 0.5391 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002503/0.6951, allocations: 117.4 kB / 0.5392 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004621/0.6998, allocations: 2.457 MB / 0.5416 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/0.7219, allocations: 10.17 MB / 0.5515 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06627/0.7882, allocations: 35.5 MB / 0.5862 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.801, allocations: 5.596 MB / 0.5916 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/0.805, allocations: 2.338 MB / 0.5939 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/0.8069, allocations: 1.875 MB / 0.5958 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.807, allocations: 56.55 kB / 0.5958 GB, free: 0.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 6.072e-06/0.807, allocations: 5.125 kB / 0.5958 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03911/0.8461, allocations: 14.96 MB / 0.6104 GB, free: 1.789 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001536/0.8477, allocations: 1.611 MB / 0.612 GB, free: 24 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/0.8536, allocations: 2.814 MB / 0.6147 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006911/0.8543, allocations: 52.52 kB / 0.6148 GB, free: 13.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002981/0.8573, allocations: 2.681 MB / 0.6174 GB, free: 10.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001891/0.8592, allocations: 0.8468 MB / 0.6182 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004571/0.8638, allocations: 1.116 MB / 0.6193 GB, free: 8.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.864, allocations: 301.1 kB / 0.6196 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005125/0.8691, allocations: 2.631 MB / 0.6222 GB, free: 5.574 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008335/0.8775, allocations: 5.645 MB / 0.6277 GB, free: 14.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/0.8914, allocations: 8.936 MB / 0.6364 GB, free: 4.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/0.8916, allocations: 33.64 kB / 0.6365 GB, free: 4.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06428/0.9559, allocations: 19.04 MB / 0.6551 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.9561, allocations: 56.25 kB / 0.6551 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04213/0.9982, allocations: 12.01 MB / 0.6668 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04298/1.041, allocations: 10.29 MB / 0.6769 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005262/1.047, allocations: 1.31 MB / 0.6782 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03124/1.078, allocations: 18.22 MB / 0.696 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005837/1.084, allocations: 431.5 kB / 0.6964 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.085, allocations: 326.8 kB / 0.6967 GB, free: 6.859 MB / 0.545 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.006716/1.092, allocations: 2.033 MB / 0.6987 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.093, allocations: 268.4 kB / 0.6989 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.103, allocations: 5.11 MB / 0.7039 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007651/1.111, allocations: 4.404 MB / 0.7082 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.111, allocations: 7.938 kB / 0.7082 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/1.111, allocations: 11.91 kB / 0.7082 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/1.138, allocations: 12.9 MB / 0.7208 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-05/1.138, allocations: 8.156 kB / 0.7208 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.14, allocations: 463.5 kB / 0.7213 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00299/1.143, allocations: 0.9464 MB / 0.7222 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005002/1.143, allocations: 50.47 kB / 0.7223 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008074/1.152, allocations: 5.826 MB / 0.7279 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001366/1.153, allocations: 1.55 MB / 0.7295 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3448/1.498, allocations: 7.726 MB / 0.737 GB, free: 206 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009877/1.499, allocations: 335.9 kB / 0.7373 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/1.499, allocations: 45.47 kB / 0.7374 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.501, allocations: 194.6 kB / 0.7376 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/1.501, allocations: 146.8 kB / 0.7377 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.501, allocations: 68.23 kB / 0.7378 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002832/1.504, allocations: 1.731 MB / 0.7394 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.504, allocations: 0 / 0.7394 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005345/1.51, allocations: 1.106 MB / 0.7405 GB, free: 205.5 MB / 0.5762 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.0005301/1.51, allocations: 183.1 kB / 0.7407 GB, free: 205.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.523, allocations: 6.675 MB / 0.7472 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.998e-05/1.523, allocations: 1.094 kB / 0.7472 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004276/1.527, allocations: 2.523 MB / 0.7497 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/1.531, allocations: 378.4 kB / 0.75 GB, free: 201.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/1.551, allocations: 9.85 MB / 0.7597 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005126/1.556, allocations: 3.163 MB / 0.7628 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004845/1.561, allocations: 2.065 MB / 0.7648 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.562, allocations: 211.3 kB / 0.765 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/1.562, allocations: 0 / 0.765 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.0684/1.631, allocations: 43.9 MB / 0.8078 GB, free: 155 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile (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)