Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,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.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,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.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 111.9 kB / 17.09 MB, free: 5.988 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.001119/0.001119, allocations: 198.1 kB / 18.02 MB, free: 5.066 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.348/1.348, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2027/0.2027, allocations: 43.52 MB / 314.8 MB, free: 452 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.001327/0.001327, allocations: 73.45 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.02011/0.1251, allocations: 20.13 MB / 0.5082 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1376, allocations: 5.991 MB / 0.514 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.1412, allocations: 143.5 kB / 0.5142 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.1523, allocations: 5.985 MB / 0.52 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00972/0.1621, allocations: 3.049 MB / 0.523 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.1656, allocations: 1.439 MB / 0.5244 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.257/0.4226, allocations: 8.899 MB / 0.5331 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009655/0.4323, allocations: 8.163 MB / 0.5411 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00655/0.4389, allocations: 3.284 MB / 0.5443 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008585/0.4475, allocations: 4.344 MB / 0.5485 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002422/0.4499, allocations: 0.7248 MB / 0.5492 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005286/0.4552, allocations: 1.71 MB / 0.5509 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005581/0.4608, allocations: 4.02 MB / 0.5548 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007297/0.4681, allocations: 4.432 MB / 0.5592 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.4838, allocations: 13.47 MB / 0.5723 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4839, allocations: 0 / 0.5723 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4839, allocations: 0 / 0.5723 GB, free: 10.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005005/0.4844, allocations: 0 / 0.5723 GB, free: 10.84 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.02831/0.5127, allocations: 9.351 MB / 0.5814 GB, free: 4.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.5128, allocations: 15.89 kB / 0.5815 GB, free: 4.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02273/0.5355, allocations: 3.597 MB / 0.585 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/0.551, allocations: 5.798 MB / 0.5906 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005463/0.5516, allocations: 499.3 kB / 0.5911 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004008/0.5556, allocations: 0.9992 MB / 0.5921 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/0.5956, allocations: 18 MB / 0.6097 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000407/0.5961, allocations: 80.14 kB / 0.6097 GB, free: 7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002562/0.5986, allocations: 306.5 kB / 0.61 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00456/0.6032, allocations: 2.752 MB / 0.6127 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0354/0.6386, allocations: 15.34 MB / 0.6277 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0992/0.7379, allocations: 69.86 MB / 0.6959 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/0.7603, allocations: 7.871 MB / 0.7036 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005501/0.7658, allocations: 3.643 MB / 0.7072 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03028/0.7961, allocations: 17.9 MB / 0.7246 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.312e-05/0.7962, allocations: 64.5 kB / 0.7247 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=303): time 6.832e-06/0.7963, allocations: 0 / 0.7247 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=307): time 0.08218/0.8785, allocations: 29.09 MB / 0.7531 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.8786, allocations: 238.4 kB / 0.7533 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2779/1.156, allocations: 6.618 MB / 0.7598 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009571/1.157, allocations: 71.89 kB / 0.7599 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003695/1.161, allocations: 5.269 MB / 0.765 GB, free: 199 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001797/1.163, allocations: 1.26 MB / 0.7662 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003341/1.166, allocations: 2.041 MB / 0.7682 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.581e-05/1.166, allocations: 304.3 kB / 0.7685 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007357/1.174, allocations: 3.967 MB / 0.7724 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/1.187, allocations: 9.794 MB / 0.782 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02/1.207, allocations: 14.7 MB / 0.7963 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006141/1.207, allocations: 59.09 kB / 0.7964 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.06056/1.268, allocations: 20 MB / 0.8159 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004863/1.269, allocations: 92.75 kB / 0.816 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03512/1.304, allocations: 11.33 MB / 0.8271 GB, free: 159 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03561/1.339, allocations: 8.232 MB / 0.8351 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007137/1.347, allocations: 2.316 MB / 0.8374 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02545/1.372, allocations: 22.53 MB / 0.8594 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008255/1.38, allocations: 0.6562 MB / 0.86 GB, free: 124.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/1.382, allocations: 0.5703 MB / 0.8606 GB, free: 123.9 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.006035/1.388, allocations: 3.46 MB / 0.8639 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.39, allocations: 0.5872 MB / 0.8645 GB, free: 119.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/1.404, allocations: 7.62 MB / 0.872 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.242e-05/1.404, allocations: 15.94 kB / 0.872 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.404, allocations: 4 kB / 0.872 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.406, allocations: 0.6076 MB / 0.8726 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.408, allocations: 107.9 kB / 0.8727 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/1.412, allocations: 271.6 kB / 0.8729 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007242/1.413, allocations: 205.7 kB / 0.8731 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01387/1.426, allocations: 8.081 MB / 0.881 GB, free: 102.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009745/1.436, allocations: 8.899 MB / 0.8897 GB, free: 93.84 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002479/1.439, allocations: 2.579 MB / 0.8922 GB, free: 91.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006567/1.445, allocations: 4.121 MB / 0.8962 GB, free: 87.16 MB / 0.5919 GB Notification: Performance of Backend: time 7.71e-07/1.445, allocations: 0 / 0.8962 GB, free: 87.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02254/1.468, allocations: 10.24 MB / 0.9062 GB, free: 76.69 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0305/1.498, allocations: 18.22 MB / 0.924 GB, free: 58.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.3862/1.885, allocations: 98.46 MB / 1.02 GB, free: 178 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)