Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001512/0.001512, allocations: 156.2 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.206/1.206, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001464/0.001463, allocations: 102.8 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.1834/0.1834, allocations: 37.98 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.896e-05, allocations: 7.938 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 48.7 MB / 398.7 MB, free: 6.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4116, allocations: 88.54 MB / 487.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.4118, allocations: 75.95 kB / 487.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4391/0.8509, allocations: 84.94 MB / 0.5589 GB, free: 97.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.851, allocations: 3.906 kB / 0.5589 GB, free: 97.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002258/0.8512, allocations: 71.81 kB / 0.5589 GB, free: 97.59 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01226/0.8635, allocations: 3.683 MB / 0.5625 GB, free: 95.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.8635, allocations: 13.44 kB / 0.5625 GB, free: 95.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.8792, allocations: 3.634 MB / 0.5661 GB, free: 95.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/0.8923, allocations: 4.921 MB / 0.5709 GB, free: 95.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.8927, allocations: 130.4 kB / 0.571 GB, free: 95.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002262/0.8949, allocations: 222.6 kB / 0.5712 GB, free: 95.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01283/0.9078, allocations: 7.275 MB / 0.5783 GB, free: 95.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02264/0.9304, allocations: 9.567 MB / 0.5877 GB, free: 92.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.9307, allocations: 37.23 kB / 0.5877 GB, free: 92.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/0.9326, allocations: 17.84 kB / 0.5877 GB, free: 92.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001709/0.9343, allocations: 1.191 MB / 0.5889 GB, free: 92.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0487/0.983, allocations: 33.99 MB / 0.6221 GB, free: 72.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/0.9877, allocations: 4.065 MB / 0.6261 GB, free: 68.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/0.9901, allocations: 2.116 MB / 0.6281 GB, free: 66.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009804/0.9911, allocations: 1.321 MB / 0.6294 GB, free: 65.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.9912, allocations: 52.5 kB / 0.6295 GB, free: 65.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=247): time 5.11e-06/0.9912, allocations: 0 / 0.6295 GB, free: 65.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=264): time 0.02939/1.021, allocations: 14.84 MB / 0.644 GB, free: 52.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/1.021, allocations: 73.41 kB / 0.644 GB, free: 52.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/1.025, allocations: 2.368 MB / 0.6463 GB, free: 50.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003867/1.025, allocations: 25.7 kB / 0.6464 GB, free: 50.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/1.027, allocations: 2.815 MB / 0.6491 GB, free: 47.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.028, allocations: 0.9455 MB / 0.65 GB, free: 46.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/1.029, allocations: 0 / 0.65 GB, free: 46.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004319/1.029, allocations: 0.5634 MB / 0.6506 GB, free: 46.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/1.032, allocations: 2.351 MB / 0.6529 GB, free: 44.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004941/1.037, allocations: 5.589 MB / 0.6583 GB, free: 36.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/1.042, allocations: 3.671 MB / 0.6619 GB, free: 33.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/1.042, allocations: 32 kB / 0.662 GB, free: 33.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01551/1.057, allocations: 8.333 MB / 0.6701 GB, free: 24.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.058, allocations: 52 kB / 0.6701 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00736/1.065, allocations: 3.802 MB / 0.6739 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004087/1.069, allocations: 1.24 MB / 0.6751 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004762/1.074, allocations: 1.384 MB / 0.6764 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/1.077, allocations: 3.942 MB / 0.6803 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005115/1.083, allocations: 291.5 kB / 0.6806 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/1.084, allocations: 361.1 kB / 0.6809 GB, free: 13.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (736): * Single equations (assignments): 724 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001823/1.086, allocations: 392.2 kB / 0.6813 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009394/1.087, allocations: 280.3 kB / 0.6815 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.097, allocations: 5.238 MB / 0.6867 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008206/1.106, allocations: 4.522 MB / 0.6911 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.89e-05/1.106, allocations: 0 / 0.6911 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/1.106, allocations: 11.95 kB / 0.6911 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02893/1.135, allocations: 13.56 MB / 0.7043 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.135, allocations: 8 kB / 0.7043 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/1.137, allocations: 431.3 kB / 0.7047 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00441/1.141, allocations: 1.174 MB / 0.7059 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004098/1.142, allocations: 35.92 kB / 0.7059 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2949/1.437, allocations: 4.331 MB / 0.7102 GB, free: 99.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001006/1.438, allocations: 1.408 MB / 0.7115 GB, free: 98.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.455, allocations: 8.757 MB / 0.7201 GB, free: 96.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.456, allocations: 334.9 kB / 0.7204 GB, free: 96.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/1.457, allocations: 28.52 kB / 0.7204 GB, free: 96.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.459, allocations: 161.2 kB / 0.7206 GB, free: 96.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004333/1.459, allocations: 174.5 kB / 0.7207 GB, free: 96.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.459, allocations: 79.36 kB / 0.7208 GB, free: 96.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003539/1.463, allocations: 1.553 MB / 0.7223 GB, free: 96.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.463, allocations: 0 / 0.7223 GB, free: 96.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006708/1.47, allocations: 0.951 MB / 0.7233 GB, free: 96.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 195 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006646/1.47, allocations: 166.6 kB / 0.7234 GB, free: 96.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01234/1.483, allocations: 6.233 MB / 0.7295 GB, free: 95.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.483, allocations: 3.469 kB / 0.7295 GB, free: 95.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004722/1.487, allocations: 2.819 MB / 0.7323 GB, free: 95.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.49, allocations: 242.9 kB / 0.7325 GB, free: 95.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.51, allocations: 9.13 MB / 0.7414 GB, free: 93.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003565/1.514, allocations: 3.384 MB / 0.7447 GB, free: 92.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005104/1.519, allocations: 2.221 MB / 0.7469 GB, free: 92.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/1.52, allocations: 220.6 kB / 0.7471 GB, free: 92.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/1.52, allocations: 0 / 0.7471 GB, free: 92.55 MB / 426.7 MB Notification: Performance of Templates: time 0.05195/1.571, allocations: 29.2 MB / 0.7756 GB, free: 87.8 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)