Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FreeBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.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.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.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.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 113.2 kB / 17.09 MB, free: 6.016 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.001302/0.001302, allocations: 194.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2165/0.2165, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1198, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies): time 0.02151/0.1414, allocations: 20.12 MB / 0.5082 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.156, allocations: 5.984 MB / 0.514 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004482/0.1606, allocations: 143.5 kB / 0.5142 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01188/0.1725, allocations: 5.992 MB / 0.52 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00853/0.1811, allocations: 3.147 MB / 0.5231 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.1846, allocations: 1.447 MB / 0.5245 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2731/0.4577, allocations: 8.904 MB / 0.5332 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.4701, allocations: 8.161 MB / 0.5412 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007117/0.4772, allocations: 3.286 MB / 0.5444 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009951/0.4872, allocations: 4.344 MB / 0.5486 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004433/0.4917, allocations: 0.7209 MB / 0.5493 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007433/0.4991, allocations: 1.712 MB / 0.551 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007274/0.5064, allocations: 4.015 MB / 0.5549 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00914/0.5156, allocations: 4.442 MB / 0.5593 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02139/0.537, allocations: 13.46 MB / 0.5724 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.5371, allocations: 0 / 0.5724 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5371, allocations: 0 / 0.5724 GB, free: 10.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006064/0.5377, allocations: 0 / 0.5724 GB, free: 10.8 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.03184/0.5696, allocations: 9.346 MB / 0.5815 GB, free: 4.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.5697, allocations: 17.58 kB / 0.5815 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02571/0.5954, allocations: 3.605 MB / 0.5851 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.611, allocations: 5.783 MB / 0.5907 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005863/0.6116, allocations: 0.4913 MB / 0.5912 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003927/0.6156, allocations: 0.9958 MB / 0.5922 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.046/0.6616, allocations: 18.01 MB / 0.6097 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006705/0.6623, allocations: 77.98 kB / 0.6098 GB, free: 6.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/0.6655, allocations: 303.6 kB / 0.6101 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0048/0.6703, allocations: 2.754 MB / 0.6128 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03669/0.7071, allocations: 15.33 MB / 0.6278 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1168/0.8239, allocations: 69.86 MB / 0.696 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02483/0.8488, allocations: 7.871 MB / 0.7037 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00579/0.8546, allocations: 3.637 MB / 0.7072 GB, free: 2.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03655/0.8912, allocations: 17.9 MB / 0.7247 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.968e-05/0.8913, allocations: 71.38 kB / 0.7248 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=303): time 9.197e-06/0.8914, allocations: 0 / 0.7248 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=307): time 0.08443/0.9758, allocations: 29.09 MB / 0.7532 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.976, allocations: 235.6 kB / 0.7534 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2689/1.245, allocations: 6.621 MB / 0.7599 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/1.246, allocations: 73.8 kB / 0.76 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004432/1.251, allocations: 5.271 MB / 0.7651 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001979/1.253, allocations: 1.254 MB / 0.7663 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003735/1.256, allocations: 2.041 MB / 0.7683 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/1.256, allocations: 301.1 kB / 0.7686 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007284/1.264, allocations: 3.971 MB / 0.7725 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/1.274, allocations: 9.795 MB / 0.7821 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/1.292, allocations: 14.7 MB / 0.7964 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005399/1.292, allocations: 57.94 kB / 0.7965 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.05887/1.351, allocations: 20 MB / 0.816 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006546/1.352, allocations: 96.53 kB / 0.8161 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04116/1.393, allocations: 11.33 MB / 0.8272 GB, free: 159 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03965/1.433, allocations: 8.226 MB / 0.8352 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/1.443, allocations: 2.32 MB / 0.8375 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04438/1.488, allocations: 22.52 MB / 0.8595 GB, free: 125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01477/1.502, allocations: 0.6474 MB / 0.8601 GB, free: 124.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002714/1.505, allocations: 0.5818 MB / 0.8607 GB, free: 123.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1258): * Single equations (assignments): 1239 * Array equations: 3 * 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.01096/1.516, allocations: 3.455 MB / 0.864 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/1.519, allocations: 0.5862 MB / 0.8646 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02341/1.542, allocations: 7.619 MB / 0.872 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.593e-05/1.542, allocations: 15.94 kB / 0.8721 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.542, allocations: 0 / 0.8721 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/1.545, allocations: 0.6145 MB / 0.8727 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002742/1.548, allocations: 105.7 kB / 0.8728 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006027/1.554, allocations: 271.6 kB / 0.873 GB, free: 111 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/1.555, allocations: 205.7 kB / 0.8732 GB, free: 110.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01854/1.574, allocations: 8.084 MB / 0.8811 GB, free: 102.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01172/1.586, allocations: 8.895 MB / 0.8898 GB, free: 93.79 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003004/1.589, allocations: 2.578 MB / 0.8923 GB, free: 91.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00807/1.597, allocations: 4.117 MB / 0.8963 GB, free: 87.11 MB / 0.5919 GB Notification: Performance of Backend: time 7.62e-07/1.597, allocations: 0 / 0.8963 GB, free: 87.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02552/1.622, allocations: 10.24 MB / 0.9063 GB, free: 76.64 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03606/1.658, allocations: 18.22 MB / 0.9241 GB, free: 58.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.4094/2.068, allocations: 97.06 MB / 1.019 GB, free: 179.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1)