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.001724/0.001724, allocations: 169.9 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.3/1.3, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001528/0.001528, allocations: 99.47 kB / 223.2 MB, free: 4.117 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.179/0.179, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.583e-05, allocations: 0 / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08062/0.08066, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4095, allocations: 91.34 MB / 497 MB, free: 18.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.4097, allocations: 79.77 kB / 497.1 MB, free: 18.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2219/0.6317, allocations: 94.68 MB / 0.5779 GB, free: 9.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6317, allocations: 0 / 0.5779 GB, free: 9.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001793/0.6319, allocations: 80 kB / 0.578 GB, free: 9.301 MB / 394.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.01599/0.6479, allocations: 4.498 MB / 0.5824 GB, free: 4.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6479, allocations: 12.03 kB / 0.5824 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.6637, allocations: 3.597 MB / 0.5859 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.6776, allocations: 4.811 MB / 0.5906 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/0.678, allocations: 357.3 kB / 0.591 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/0.6804, allocations: 463.9 kB / 0.5914 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.7055, allocations: 11.38 MB / 0.6025 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.7057, allocations: 27.72 kB / 0.6025 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/0.7077, allocations: 211.9 kB / 0.6027 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001833/0.7096, allocations: 1.244 MB / 0.604 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.732, allocations: 10.8 MB / 0.6145 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2788/1.011, allocations: 38.45 MB / 0.6521 GB, free: 72.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007292/1.018, allocations: 4.359 MB / 0.6563 GB, free: 71.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/1.021, allocations: 2.13 MB / 0.6584 GB, free: 71.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00094/1.022, allocations: 1.321 MB / 0.6597 GB, free: 70.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/1.022, allocations: 62.98 kB / 0.6597 GB, free: 70.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 4.819e-06/1.022, allocations: 0 / 0.6597 GB, free: 70.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.02804/1.05, allocations: 10.77 MB / 0.6703 GB, free: 69.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/1.05, allocations: 71.72 kB / 0.6703 GB, free: 69.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/1.054, allocations: 2.614 MB / 0.6729 GB, free: 68.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004928/1.054, allocations: 60.52 kB / 0.6729 GB, free: 68.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.056, allocations: 3.101 MB / 0.676 GB, free: 66.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009744/1.057, allocations: 0.9703 MB / 0.6769 GB, free: 65.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/1.057, allocations: 122.9 kB / 0.677 GB, free: 65.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002594/1.057, allocations: 0.5579 MB / 0.6776 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/1.06, allocations: 2.318 MB / 0.6798 GB, free: 64.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003948/1.064, allocations: 5.582 MB / 0.6853 GB, free: 59.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/1.069, allocations: 3.649 MB / 0.6889 GB, free: 58.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-05/1.069, allocations: 32.03 kB / 0.6889 GB, free: 58.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01466/1.083, allocations: 8.623 MB / 0.6973 GB, free: 55.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/1.083, allocations: 55.59 kB / 0.6974 GB, free: 55.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/1.084, allocations: 118.4 kB / 0.6975 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/1.087, allocations: 1.056 MB / 0.6985 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004834/1.092, allocations: 1.374 MB / 0.6999 GB, free: 55.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/1.095, allocations: 2.471 MB / 0.7023 GB, free: 53.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004608/1.099, allocations: 318.1 kB / 0.7026 GB, free: 53.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.1, allocations: 354.3 kB / 0.7029 GB, free: 53.8 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 () * 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.00104/1.102, allocations: 0.5342 MB / 0.7034 GB, free: 53.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005541/1.102, allocations: 308.2 kB / 0.7037 GB, free: 53.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008541/1.111, allocations: 5.038 MB / 0.7086 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.877e-05/1.111, allocations: 45.8 kB / 0.7087 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.111, allocations: 3.75 kB / 0.7087 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/1.111, allocations: 6.984 kB / 0.7087 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/1.129, allocations: 11.76 MB / 0.7202 GB, free: 42.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.129, allocations: 8 kB / 0.7202 GB, free: 42.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.131, allocations: 430.1 kB / 0.7206 GB, free: 41.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/1.134, allocations: 0.9088 MB / 0.7215 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003113/1.135, allocations: 52.91 kB / 0.7215 GB, free: 41.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/1.137, allocations: 2.27 MB / 0.7238 GB, free: 39.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.137, allocations: 11.94 kB / 0.7238 GB, free: 39.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.147, allocations: 8.127 MB / 0.7317 GB, free: 31.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/1.148, allocations: 345.1 kB / 0.732 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/1.148, allocations: 54.08 kB / 0.7321 GB, free: 31.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.149, allocations: 138.7 kB / 0.7322 GB, free: 31.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/1.15, allocations: 162.6 kB / 0.7324 GB, free: 31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.15, allocations: 73.02 kB / 0.7324 GB, free: 30.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00248/1.152, allocations: 1.783 MB / 0.7342 GB, free: 29.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.152, allocations: 0 / 0.7342 GB, free: 29.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004617/1.157, allocations: 1.041 MB / 0.7352 GB, free: 28.32 MB / 426.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 () * 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.00063/1.158, allocations: 189.1 kB / 0.7354 GB, free: 28.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009874/1.168, allocations: 6.152 MB / 0.7414 GB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.168, allocations: 0 / 0.7414 GB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004316/1.172, allocations: 2.573 MB / 0.7439 GB, free: 20.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/1.175, allocations: 453.8 kB / 0.7443 GB, free: 19.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.192, allocations: 9.641 MB / 0.7537 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003686/1.196, allocations: 3.75 MB / 0.7574 GB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004612/1.201, allocations: 2.139 MB / 0.7595 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/1.201, allocations: 250.1 kB / 0.7597 GB, free: 6.766 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/1.201, allocations: 0 / 0.7597 GB, free: 6.766 MB / 426.7 MB Notification: Performance of Templates: time 0.3182/1.52, allocations: 33.39 MB / 0.7923 GB, free: 93.71 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)