Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies") translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 113.9 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 186.1 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2075/0.2075, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3231, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.02254/0.3457, allocations: 22.11 MB / 0.5412 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.362, allocations: 5.739 MB / 0.5468 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00558/0.3676, allocations: 138.7 kB / 0.5469 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00747/0.3751, allocations: 3.482 MB / 0.5503 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009656/0.3849, allocations: 3.661 MB / 0.5539 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.3871, allocations: 0.8698 MB / 0.5547 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.4006, allocations: 10.26 MB / 0.5647 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006587/0.4072, allocations: 5.003 MB / 0.5696 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005564/0.4128, allocations: 3.091 MB / 0.5726 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006228/0.419, allocations: 4.342 MB / 0.5769 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.4211, allocations: 0.5977 MB / 0.5775 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.4251, allocations: 1.494 MB / 0.5789 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004706/0.4298, allocations: 4.064 MB / 0.5829 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007082/0.4369, allocations: 4.57 MB / 0.5874 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02005/0.457, allocations: 14.63 MB / 0.6016 GB, free: 7.738 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.457, allocations: 0 / 0.6016 GB, free: 7.738 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4571, allocations: 0 / 0.6016 GB, free: 7.738 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005805/0.4576, allocations: 0 / 0.6016 GB, free: 7.738 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.02672/0.4844, allocations: 10.11 MB / 0.6115 GB, free: 13.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4844, allocations: 8.031 kB / 0.6115 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03729/0.5217, allocations: 7.541 MB / 0.6189 GB, free: 5.949 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.5373, allocations: 5.894 MB / 0.6246 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005005/0.5379, allocations: 431.1 kB / 0.6251 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003882/0.5418, allocations: 0.9091 MB / 0.6259 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04397/0.5858, allocations: 23 MB / 0.6484 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003581/0.5862, allocations: 75.45 kB / 0.6485 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002543/0.5887, allocations: 263.6 kB / 0.6487 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00851/0.5972, allocations: 5.198 MB / 0.6538 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04195/0.6392, allocations: 21.99 MB / 0.6753 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5868/1.226, allocations: 81.28 MB / 0.7547 GB, free: 115.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/1.243, allocations: 9.891 MB / 0.7643 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007581/1.251, allocations: 6.617 MB / 0.7708 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/1.251, allocations: 72.67 kB / 0.7708 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/1.251, allocations: 89.12 kB / 0.7709 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 7.895e-06/1.251, allocations: 0 / 0.7709 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=589): time 0.07418/1.325, allocations: 42.61 MB / 0.8125 GB, free: 77.89 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/1.325, allocations: 257.3 kB / 0.8128 GB, free: 77.59 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007541/1.333, allocations: 6.473 MB / 0.8191 GB, free: 71.25 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001414/1.334, allocations: 105.4 kB / 0.8192 GB, free: 71.15 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002609/1.337, allocations: 6.016 MB / 0.8251 GB, free: 65.76 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002328/1.339, allocations: 2.291 MB / 0.8273 GB, free: 63.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00291/1.342, allocations: 2.475 MB / 0.8297 GB, free: 61.02 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.71e-05/1.342, allocations: 305.1 kB / 0.83 GB, free: 60.72 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007166/1.35, allocations: 6.404 MB / 0.8363 GB, free: 54.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009574/1.359, allocations: 12.63 MB / 0.8486 GB, free: 38.71 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01889/1.378, allocations: 20.45 MB / 0.8686 GB, free: 15.26 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/1.378, allocations: 63.94 kB / 0.8686 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1654) (initialization): time 0.06488/1.443, allocations: 26.1 MB / 0.8941 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/1.443, allocations: 96 kB / 0.8942 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05332/1.497, allocations: 17.56 MB / 0.9114 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04451/1.541, allocations: 8.698 MB / 0.9199 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/1.552, allocations: 2.901 MB / 0.9227 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03207/1.584, allocations: 22.13 MB / 0.9443 GB, free: 0.668 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/1.596, allocations: 0.8848 MB / 0.9452 GB, free: 15.78 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/1.598, allocations: 0.6484 MB / 0.9458 GB, free: 15.14 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 971 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1518): * Single equations (assignments): 1490 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 10 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009874/1.608, allocations: 4.475 MB / 0.9502 GB, free: 10.65 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002068/1.61, allocations: 0.675 MB / 0.9508 GB, free: 9.973 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3119/1.922, allocations: 14.44 MB / 0.9649 GB, free: 219.1 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.922, allocations: 24.75 kB / 0.965 GB, free: 219.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.922, allocations: 1.656 kB / 0.965 GB, free: 219.1 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.924, allocations: 0.666 MB / 0.9656 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/1.926, allocations: 136.9 kB / 0.9658 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004/1.93, allocations: 0.4898 MB / 0.9662 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.931, allocations: 319.5 kB / 0.9665 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02225/1.953, allocations: 13.41 MB / 0.9796 GB, free: 215.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02036/1.974, allocations: 18.28 MB / 0.9975 GB, free: 208.9 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005992/1.98, allocations: 5.342 MB / 1.003 GB, free: 207 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00593/1.986, allocations: 3.994 MB / 1.007 GB, free: 204.9 MB / 0.6388 GB Notification: Performance of Backend: time 6.91e-07/1.986, allocations: 0 / 1.007 GB, free: 204.9 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0246/2.01, allocations: 13.13 MB / 1.019 GB, free: 192.9 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03161/2.042, allocations: 21.2 MB / 1.04 GB, free: 171.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.1716/2.214, allocations: 127 MB / 1.164 GB, free: 45.3 MB / 0.6388 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1)