Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008782/0.008782, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.5/1.5, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001911/0.001911, allocations: 103.3 kB / 226.2 MB, free: 10.11 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.4018/0.4018, allocations: 38.05 MB / 303.7 MB, free: 42.24 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004201, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.5147, allocations: 91.45 MB / 0.4912 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.515, allocations: 73.16 kB / 0.4913 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2356/0.7507, allocations: 94.61 MB / 0.5837 GB, free: 2.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7507, allocations: 0 / 0.5837 GB, free: 2.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002028/0.7509, allocations: 87.98 kB / 0.5838 GB, free: 2.391 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.259/1.01, allocations: 4.629 MB / 0.5883 GB, free: 78.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.01, allocations: 13.44 kB / 0.5883 GB, free: 78.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/1.026, allocations: 3.599 MB / 0.5918 GB, free: 77.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/1.04, allocations: 4.83 MB / 0.5965 GB, free: 77.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/1.041, allocations: 356.3 kB / 0.5969 GB, free: 77.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/1.043, allocations: 469 kB / 0.5973 GB, free: 77.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02371/1.067, allocations: 11.47 MB / 0.6085 GB, free: 76.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/1.067, allocations: 28.06 kB / 0.6086 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008035/1.068, allocations: 213.6 kB / 0.6088 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/1.069, allocations: 1.24 MB / 0.61 GB, free: 76.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/1.089, allocations: 10.96 MB / 0.6207 GB, free: 76.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05652/1.146, allocations: 38.46 MB / 0.6582 GB, free: 55.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006819/1.153, allocations: 4.385 MB / 0.6625 GB, free: 53.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000952/1.153, allocations: 1.322 MB / 0.6638 GB, free: 52.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.154, allocations: 58.36 kB / 0.6639 GB, free: 52.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.301e-06/1.154, allocations: 0 / 0.6639 GB, free: 52.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.03622/1.19, allocations: 14.3 MB / 0.6778 GB, free: 47.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.19, allocations: 73.78 kB / 0.6779 GB, free: 47.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/1.194, allocations: 2.633 MB / 0.6805 GB, free: 46.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005365/1.195, allocations: 57.3 kB / 0.6805 GB, free: 46.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.196, allocations: 3.105 MB / 0.6836 GB, free: 44.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.198, allocations: 0.9763 MB / 0.6845 GB, free: 43.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.198, allocations: 116.9 kB / 0.6846 GB, free: 43.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003128/1.198, allocations: 0.5657 MB / 0.6852 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/1.201, allocations: 2.367 MB / 0.6875 GB, free: 42.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004078/1.205, allocations: 5.628 MB / 0.693 GB, free: 37.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/1.21, allocations: 3.649 MB / 0.6966 GB, free: 35.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.602e-05/1.21, allocations: 32 kB / 0.6966 GB, free: 35.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01408/1.224, allocations: 8.725 MB / 0.7051 GB, free: 27.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.413e-05/1.224, allocations: 55.94 kB / 0.7052 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/1.224, allocations: 116.9 kB / 0.7053 GB, free: 27.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/1.227, allocations: 1.061 MB / 0.7063 GB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.231, allocations: 1.362 MB / 0.7076 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.234, allocations: 2.507 MB / 0.7101 GB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/1.238, allocations: 318.4 kB / 0.7104 GB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006626/1.238, allocations: 343.9 kB / 0.7107 GB, free: 22.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 731 * 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): 2 {(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00421/1.243, allocations: 2.368 MB / 0.713 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005843/1.243, allocations: 304 kB / 0.7133 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008401/1.252, allocations: 5.076 MB / 0.7183 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-05/1.252, allocations: 54.98 kB / 0.7183 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.252, allocations: 0 / 0.7183 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/1.252, allocations: 10.69 kB / 0.7183 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/1.271, allocations: 11.8 MB / 0.7299 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.271, allocations: 11.8 kB / 0.7299 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.273, allocations: 423 kB / 0.7303 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/1.276, allocations: 0.9115 MB / 0.7312 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/1.276, allocations: 68.77 kB / 0.7312 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/1.278, allocations: 2.291 MB / 0.7335 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.278, allocations: 15.89 kB / 0.7335 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.29, allocations: 8.203 MB / 0.7415 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009416/1.291, allocations: 348.6 kB / 0.7418 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.291, allocations: 50.72 kB / 0.7419 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.293, allocations: 139.8 kB / 0.742 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.293, allocations: 165.6 kB / 0.7422 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/1.293, allocations: 78.55 kB / 0.7422 GB, free: 9.645 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003744/1.297, allocations: 1.796 MB / 0.744 GB, free: 7.848 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.297, allocations: 0 / 0.744 GB, free: 7.848 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006728/1.304, allocations: 1.038 MB / 0.745 GB, free: 6.812 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * 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): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/1.305, allocations: 200.5 kB / 0.7452 GB, free: 6.613 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01208/1.317, allocations: 6.213 MB / 0.7513 GB, free: 372 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.317, allocations: 0 / 0.7513 GB, free: 372 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1938/1.511, allocations: 2.595 MB / 0.7538 GB, free: 86.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.513, allocations: 459.6 kB / 0.7542 GB, free: 86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/1.534, allocations: 13.49 MB / 0.7674 GB, free: 80.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004537/1.539, allocations: 3.761 MB / 0.7711 GB, free: 80.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004651/1.543, allocations: 2.139 MB / 0.7732 GB, free: 79.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/1.544, allocations: 247.7 kB / 0.7734 GB, free: 79.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/1.544, allocations: 0 / 0.7734 GB, free: 79.94 MB / 442.7 MB Notification: Performance of Templates: time 0.06547/1.61, allocations: 33.4 MB / 0.806 GB, free: 78.07 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)