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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.155/1.155, allocations: 170.7 MB / 178.7 MB, free: 6.973 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 105.2 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1873/0.1873, allocations: 37.97 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.13e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.291, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.42, allocations: 87.84 MB / 486.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4204, allocations: 71.97 kB / 486.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4424/0.8628, allocations: 81.27 MB / 0.5546 GB, free: 98.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8628, allocations: 3.5 kB / 0.5546 GB, free: 98.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002284/0.8631, allocations: 65.47 kB / 0.5547 GB, free: 98.54 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01728/0.8804, allocations: 3.84 MB / 0.5584 GB, free: 97.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.8804, allocations: 12 kB / 0.5584 GB, free: 97.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02602/0.9065, allocations: 5.874 MB / 0.5642 GB, free: 96.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/0.9216, allocations: 5.29 MB / 0.5693 GB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.922, allocations: 121.8 kB / 0.5694 GB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002243/0.9243, allocations: 219.5 kB / 0.5696 GB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01158/0.9359, allocations: 6.891 MB / 0.5764 GB, free: 96.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.9562, allocations: 9.187 MB / 0.5853 GB, free: 94.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.9565, allocations: 26.16 kB / 0.5854 GB, free: 94.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/0.9583, allocations: 18.62 kB / 0.5854 GB, free: 94.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001795/0.9601, allocations: 1.146 MB / 0.5865 GB, free: 94.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04231/1.002, allocations: 35.03 MB / 0.6207 GB, free: 73.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/1.006, allocations: 4.079 MB / 0.6247 GB, free: 70.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/1.008, allocations: 2.263 MB / 0.6269 GB, free: 68.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/1.009, allocations: 1.884 MB / 0.6287 GB, free: 66.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.009, allocations: 56.5 kB / 0.6288 GB, free: 66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=226): time 4.919e-06/1.009, allocations: 3.938 kB / 0.6288 GB, free: 66 MB / 410.7 MB Notification: Performance of matching and sorting (n=233): time 0.02167/1.031, allocations: 11.81 MB / 0.6403 GB, free: 55.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/1.031, allocations: 69.41 kB / 0.6404 GB, free: 55.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00511/1.036, allocations: 2.391 MB / 0.6427 GB, free: 53.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003476/1.037, allocations: 25.7 kB / 0.6428 GB, free: 53.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/1.038, allocations: 2.753 MB / 0.6455 GB, free: 51.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/1.039, allocations: 0.8434 MB / 0.6463 GB, free: 50.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/1.04, allocations: 0 / 0.6463 GB, free: 50.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004084/1.04, allocations: 0.5525 MB / 0.6468 GB, free: 49.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/1.043, allocations: 2.531 MB / 0.6493 GB, free: 47.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/1.048, allocations: 5.717 MB / 0.6549 GB, free: 40.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004943/1.053, allocations: 3.822 MB / 0.6586 GB, free: 36.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-05/1.053, allocations: 32 kB / 0.6586 GB, free: 36.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.05972/1.113, allocations: 18.48 MB / 0.6767 GB, free: 17.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.113, allocations: 56 kB / 0.6767 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04311/1.156, allocations: 11.9 MB / 0.6884 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04591/1.202, allocations: 10.32 MB / 0.6984 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005183/1.208, allocations: 1.314 MB / 0.6997 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3036/1.511, allocations: 15.09 MB / 0.7145 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/1.517, allocations: 339.8 kB / 0.7148 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.518, allocations: 341 kB / 0.7151 GB, free: 99.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 21 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 682 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001158/1.519, allocations: 384.5 kB / 0.7155 GB, free: 99.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007727/1.52, allocations: 269.8 kB / 0.7157 GB, free: 99.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.531, allocations: 4.971 MB / 0.7206 GB, free: 99.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008404/1.54, allocations: 4.283 MB / 0.7248 GB, free: 99.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/1.54, allocations: 8.172 kB / 0.7248 GB, free: 99.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.54, allocations: 7.688 kB / 0.7248 GB, free: 99.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.566, allocations: 11.95 MB / 0.7364 GB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/1.566, allocations: 9.266 kB / 0.7365 GB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/1.568, allocations: 410.6 kB / 0.7368 GB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/1.57, allocations: 0.9335 MB / 0.7378 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004581/1.571, allocations: 26.19 kB / 0.7378 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/1.577, allocations: 5.279 MB / 0.7429 GB, free: 95.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008507/1.578, allocations: 1.402 MB / 0.7443 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/1.59, allocations: 8.259 MB / 0.7524 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.591, allocations: 334.5 kB / 0.7527 GB, free: 90.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000856/1.592, allocations: 18.27 kB / 0.7527 GB, free: 90.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.594, allocations: 170.3 kB / 0.7529 GB, free: 90.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/1.595, allocations: 144.9 kB / 0.753 GB, free: 90.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002763/1.595, allocations: 69.23 kB / 0.7531 GB, free: 90.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004232/1.599, allocations: 1.568 MB / 0.7546 GB, free: 89.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.599, allocations: 0.8438 kB / 0.7546 GB, free: 89.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006763/1.606, allocations: 0.9967 MB / 0.7556 GB, free: 89.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007887/1.607, allocations: 166.3 kB / 0.7557 GB, free: 89.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01211/1.619, allocations: 6.329 MB / 0.7619 GB, free: 87.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.102e-05/1.619, allocations: 0 / 0.7619 GB, free: 87.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004728/1.624, allocations: 2.451 MB / 0.7643 GB, free: 86.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/1.628, allocations: 245.3 kB / 0.7645 GB, free: 86.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.649, allocations: 8.497 MB / 0.7728 GB, free: 83.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005143/1.654, allocations: 3.24 MB / 0.776 GB, free: 82.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005888/1.66, allocations: 2.16 MB / 0.7781 GB, free: 81.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.661, allocations: 209 kB / 0.7783 GB, free: 81.29 MB / 426.7 MB Notification: Performance of SimCode: time 3.326e-06/1.661, allocations: 0 / 0.7783 GB, free: 81.29 MB / 426.7 MB Notification: Performance of Templates: time 0.06987/1.731, allocations: 39.89 MB / 0.8173 GB, free: 46.71 MB / 426.7 MB 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)