Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001489/0.001489, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.123/1.123, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001591/0.001591, allocations: 114.8 kB / 223.2 MB, free: 4.047 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.1698/0.1698, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.409e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07497/0.07501, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4188, allocations: 93.37 MB / 499.1 MB, free: 17.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4191, allocations: 73.69 kB / 499.1 MB, free: 17.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1754/0.5945, allocations: 71.84 MB / 0.5576 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5945, allocations: 0 / 0.5576 GB, free: 14.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001433/0.5947, allocations: 68 kB / 0.5577 GB, free: 14.31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008806/0.6035, allocations: 3.354 MB / 0.5609 GB, free: 10.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.6036, allocations: 12.03 kB / 0.561 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009152/0.6127, allocations: 2.082 MB / 0.563 GB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.6235, allocations: 4.061 MB / 0.5669 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.6238, allocations: 254.8 kB / 0.5672 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.6249, allocations: 355.7 kB / 0.5675 GB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/0.6438, allocations: 8.794 MB / 0.5761 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001923/0.644, allocations: 59.81 kB / 0.5762 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000939/0.645, allocations: 171.9 kB / 0.5763 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/0.6463, allocations: 0.8721 MB / 0.5772 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.6622, allocations: 7.063 MB / 0.5841 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2981/0.9603, allocations: 42.58 MB / 0.6257 GB, free: 69.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006927/0.9673, allocations: 3.165 MB / 0.6288 GB, free: 68.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.9697, allocations: 1.413 MB / 0.6301 GB, free: 68.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008483/0.9783, allocations: 4.087 MB / 0.6341 GB, free: 67.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.9783, allocations: 52.91 kB / 0.6342 GB, free: 67.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 5.31e-06/0.9784, allocations: 1.375 kB / 0.6342 GB, free: 67.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.02721/1.006, allocations: 9.394 MB / 0.6434 GB, free: 64.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/1.006, allocations: 171.6 kB / 0.6435 GB, free: 64.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006314/1.012, allocations: 3.275 MB / 0.6467 GB, free: 64.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.012, allocations: 39.48 kB / 0.6468 GB, free: 64.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.014, allocations: 2.74 MB / 0.6494 GB, free: 62.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/1.015, allocations: 0.4923 MB / 0.6499 GB, free: 62.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/1.015, allocations: 105 kB / 0.65 GB, free: 62.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000264/1.015, allocations: 0.5249 MB / 0.6505 GB, free: 62.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/1.017, allocations: 1.628 MB / 0.6521 GB, free: 62.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003806/1.021, allocations: 5.026 MB / 0.657 GB, free: 57.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/1.025, allocations: 2.846 MB / 0.6598 GB, free: 57.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.984e-05/1.025, allocations: 39.95 kB / 0.6598 GB, free: 57.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.009405/1.034, allocations: 6.554 MB / 0.6662 GB, free: 57.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/1.034, allocations: 57.56 kB / 0.6663 GB, free: 57.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/1.035, allocations: 122.6 kB / 0.6664 GB, free: 57.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/1.035, allocations: 341.2 kB / 0.6667 GB, free: 57.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/1.039, allocations: 1.272 MB / 0.668 GB, free: 57.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.041, allocations: 2.335 MB / 0.6703 GB, free: 55.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/1.045, allocations: 294.7 kB / 0.6705 GB, free: 55.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000919/1.046, allocations: 329.5 kB / 0.6709 GB, free: 55.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009298/1.047, allocations: 0.5146 MB / 0.6714 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/1.048, allocations: 309.5 kB / 0.6717 GB, free: 55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/1.052, allocations: 2.314 MB / 0.6739 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/1.053, allocations: 14.97 kB / 0.6739 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/1.053, allocations: 6.438 kB / 0.6739 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/1.053, allocations: 3.844 kB / 0.6739 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/1.066, allocations: 5.828 MB / 0.6796 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.067, allocations: 9.797 kB / 0.6796 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/1.067, allocations: 161.4 kB / 0.6798 GB, free: 52.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.069, allocations: 0.7086 MB / 0.6805 GB, free: 52.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.069, allocations: 18.94 kB / 0.6805 GB, free: 52.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/1.074, allocations: 4.44 MB / 0.6848 GB, free: 49.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.075, allocations: 3.969 kB / 0.6848 GB, free: 49.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006208/1.081, allocations: 4.359 MB / 0.6891 GB, free: 47.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.082, allocations: 0.5322 MB / 0.6896 GB, free: 47.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006769/1.083, allocations: 23.06 kB / 0.6896 GB, free: 47.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.084, allocations: 74.25 kB / 0.6897 GB, free: 47.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.085, allocations: 69.28 kB / 0.6898 GB, free: 47.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/1.085, allocations: 29.66 kB / 0.6898 GB, free: 47.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004251/1.089, allocations: 2.279 MB / 0.692 GB, free: 46.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.089, allocations: 7.672 kB / 0.692 GB, free: 46.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004564/1.094, allocations: 0.8128 MB / 0.6928 GB, free: 46.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003751/1.094, allocations: 152.6 kB / 0.693 GB, free: 46.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005845/1.1, allocations: 3.901 MB / 0.6968 GB, free: 44.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.1, allocations: 0 / 0.6968 GB, free: 44.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.101, allocations: 1.072 MB / 0.6978 GB, free: 43.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.104, allocations: 354.6 kB / 0.6982 GB, free: 43.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/1.116, allocations: 5.817 MB / 0.7039 GB, free: 38.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/1.119, allocations: 2.839 MB / 0.7066 GB, free: 36.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003859/1.123, allocations: 1.641 MB / 0.7082 GB, free: 34.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006817/1.123, allocations: 211 kB / 0.7084 GB, free: 34.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/1.123, allocations: 0 / 0.7084 GB, free: 34.79 MB / 426.7 MB Notification: Performance of Templates: time 0.05166/1.175, allocations: 28.74 MB / 0.7365 GB, free: 12.39 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)