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.001871/0.001871, allocations: 112.7 kB / 17.09 MB, free: 5.957 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.002109/0.002109, allocations: 198.9 kB / 18.02 MB, free: 5.035 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.382/1.382, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2119/0.2119, allocations: 43.52 MB / 314.8 MB, free: 456 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.001747/0.001747, allocations: 69.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1327, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.02047/0.1533, allocations: 20.12 MB / 0.5082 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.1678, allocations: 5.987 MB / 0.514 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004831/0.1727, allocations: 139.6 kB / 0.5142 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01189/0.1846, allocations: 5.996 MB / 0.52 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.1953, allocations: 3.143 MB / 0.5231 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.1989, allocations: 1.443 MB / 0.5245 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2793/0.4782, allocations: 8.899 MB / 0.5332 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.4916, allocations: 8.168 MB / 0.5412 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007801/0.4994, allocations: 3.278 MB / 0.5444 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008368/0.5078, allocations: 4.347 MB / 0.5486 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003427/0.5113, allocations: 0.7204 MB / 0.5493 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005575/0.5169, allocations: 1.719 MB / 0.551 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006181/0.5231, allocations: 4.02 MB / 0.5549 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008575/0.5317, allocations: 4.43 MB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.5514, allocations: 13.51 MB / 0.5725 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.5515, allocations: 0 / 0.5725 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5515, allocations: 3.938 kB / 0.5725 GB, free: 10.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005431/0.5521, allocations: 0 / 0.5725 GB, free: 10.92 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.02847/0.5805, allocations: 9.571 MB / 0.5818 GB, free: 4.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5806, allocations: 11.89 kB / 0.5818 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02339/0.604, allocations: 3.665 MB / 0.5854 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.6182, allocations: 5.813 MB / 0.5911 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005323/0.6188, allocations: 496 kB / 0.5915 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004342/0.6231, allocations: 1.006 MB / 0.5925 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04321/0.6664, allocations: 18 MB / 0.6101 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004797/0.6669, allocations: 82.23 kB / 0.6102 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/0.6695, allocations: 304.3 kB / 0.6105 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004646/0.6741, allocations: 2.754 MB / 0.6132 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03535/0.7095, allocations: 15.34 MB / 0.6281 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/0.813, allocations: 69.97 MB / 0.6965 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02256/0.8356, allocations: 7.875 MB / 0.7042 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005553/0.8412, allocations: 3.641 MB / 0.7077 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03145/0.8727, allocations: 17.92 MB / 0.7252 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.28e-05/0.8728, allocations: 71.19 kB / 0.7253 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=303): time 7.594e-06/0.8729, allocations: 0 / 0.7253 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=307): time 0.08553/0.9584, allocations: 29.5 MB / 0.7541 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.9586, allocations: 239.6 kB / 0.7543 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2592/1.218, allocations: 6.634 MB / 0.7608 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008602/1.219, allocations: 72.42 kB / 0.7609 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003634/1.222, allocations: 5.467 MB / 0.7662 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/1.224, allocations: 1.316 MB / 0.7675 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004062/1.228, allocations: 2.053 MB / 0.7695 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.688e-05/1.228, allocations: 301.7 kB / 0.7698 GB, free: 197 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006581/1.235, allocations: 3.971 MB / 0.7737 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/1.246, allocations: 9.798 MB / 0.7832 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01976/1.266, allocations: 14.69 MB / 0.7976 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004867/1.266, allocations: 61.56 kB / 0.7976 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.05338/1.32, allocations: 20.04 MB / 0.8172 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005016/1.32, allocations: 92.5 kB / 0.8173 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03709/1.357, allocations: 11.33 MB / 0.8284 GB, free: 158.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03595/1.393, allocations: 8.224 MB / 0.8364 GB, free: 150.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/1.401, allocations: 2.32 MB / 0.8387 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/1.428, allocations: 22.53 MB / 0.8607 GB, free: 124.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/1.44, allocations: 0.66 MB / 0.8613 GB, free: 124 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00267/1.442, allocations: 0.5701 MB / 0.8619 GB, free: 123.4 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.008899/1.451, allocations: 3.46 MB / 0.8653 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/1.453, allocations: 0.617 MB / 0.8659 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/1.469, allocations: 7.616 MB / 0.8733 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.45e-05/1.469, allocations: 19.94 kB / 0.8733 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.469, allocations: 4 kB / 0.8733 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/1.472, allocations: 0.6413 MB / 0.8739 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002171/1.474, allocations: 107.9 kB / 0.874 GB, free: 110.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004342/1.478, allocations: 267.6 kB / 0.8743 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009375/1.479, allocations: 209.7 kB / 0.8745 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01517/1.494, allocations: 8.082 MB / 0.8824 GB, free: 102.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01099/1.505, allocations: 8.933 MB / 0.8911 GB, free: 93.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0027/1.508, allocations: 2.58 MB / 0.8936 GB, free: 90.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007099/1.515, allocations: 4.117 MB / 0.8977 GB, free: 86.62 MB / 0.5919 GB Notification: Performance of Backend: time 7.72e-07/1.515, allocations: 0 / 0.8977 GB, free: 86.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02104/1.536, allocations: 10.25 MB / 0.9077 GB, free: 76.12 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03407/1.57, allocations: 18.5 MB / 0.9257 GB, free: 57.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.3834/1.954, allocations: 97.08 MB / 1.021 GB, free: 178.6 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)