Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001558, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3225/0.3225, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004913, allocations: 15.98 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.06162/0.179, allocations: 39.69 MB / 0.5175 GB, free: 1.539 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3502/0.5293, allocations: 9.855 MB / 0.5271 GB, free: 9.727 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009296/0.5386, allocations: 197 kB / 0.5273 GB, free: 9.727 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007475/0.5461, allocations: 1.958 MB / 0.5292 GB, free: 9.723 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02444/0.5706, allocations: 5.755 MB / 0.5348 GB, free: 9.391 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.5747, allocations: 0.581 MB / 0.5354 GB, free: 9.305 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006308/0.5811, allocations: 2.372 MB / 0.5377 GB, free: 8.789 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008178/0.5893, allocations: 4.033 MB / 0.5417 GB, free: 7.496 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.5925, allocations: 1.029 MB / 0.5427 GB, free: 7.145 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.5958, allocations: 1.304 MB / 0.5439 GB, free: 6.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.5971, allocations: 136.7 kB / 0.5441 GB, free: 6.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.6007, allocations: 0.9307 MB / 0.545 GB, free: 6.426 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00309/0.6038, allocations: 1.612 MB / 0.5466 GB, free: 5.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.606, allocations: 0.8426 MB / 0.5474 GB, free: 5.719 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00847/0.6145, allocations: 5.471 MB / 0.5527 GB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6145, allocations: 0 / 0.5527 GB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.93e-06/0.6146, allocations: 0 / 0.5527 GB, free: 2.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002946/0.6149, allocations: 1.422 kB / 0.5527 GB, free: 2.781 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01237/0.6272, allocations: 4.072 MB / 0.5567 GB, free: 300 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.6273, allocations: 9.5 kB / 0.5567 GB, free: 300 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.6431, allocations: 2.34 MB / 0.559 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009029/0.6521, allocations: 2.728 MB / 0.5617 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.6526, allocations: 243.6 kB / 0.5619 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002654/0.6552, allocations: 420.7 kB / 0.5623 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03133/0.6866, allocations: 10.25 MB / 0.5723 GB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/0.6869, allocations: 47.58 kB / 0.5723 GB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/0.6887, allocations: 155.1 kB / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005474/0.6942, allocations: 1.886 MB / 0.5743 GB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/0.7236, allocations: 8.688 MB / 0.5828 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07669/0.8004, allocations: 39.9 MB / 0.6218 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.017/0.8175, allocations: 3.868 MB / 0.6256 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01997/0.8375, allocations: 7.986 MB / 0.6334 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.921e-05/0.8376, allocations: 51.56 kB / 0.6334 GB, free: 4.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 5.009e-06/0.8376, allocations: 0 / 0.6334 GB, free: 4.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=169): time 0.06794/0.9056, allocations: 14.91 MB / 0.648 GB, free: 5.723 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00174/0.9074, allocations: 1.612 MB / 0.6495 GB, free: 3.934 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01329/0.9207, allocations: 4.149 MB / 0.6536 GB, free: 15.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006667/0.9214, allocations: 54.16 kB / 0.6536 GB, free: 15.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0054/0.9269, allocations: 3.102 MB / 0.6567 GB, free: 12.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00173/0.9287, allocations: 0.6808 MB / 0.6573 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007808/0.9295, allocations: 120 kB / 0.6575 GB, free: 11.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005155/0.93, allocations: 0.5671 MB / 0.658 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/0.9361, allocations: 2.073 MB / 0.66 GB, free: 9.168 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009703/0.9459, allocations: 5.865 MB / 0.6658 GB, free: 1.395 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008742/0.9547, allocations: 3.401 MB / 0.6691 GB, free: 14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.9548, allocations: 40 kB / 0.6691 GB, free: 13.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.0373/0.9921, allocations: 9.324 MB / 0.6782 GB, free: 4.613 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.9923, allocations: 60 kB / 0.6783 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02066/1.013, allocations: 3.619 MB / 0.6818 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02022/1.033, allocations: 2.289 MB / 0.6841 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008213/1.042, allocations: 1.408 MB / 0.6854 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/1.058, allocations: 6.654 MB / 0.6919 GB, free: 6.281 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/1.065, allocations: 411.4 kB / 0.6923 GB, free: 5.883 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.066, allocations: 376 kB / 0.6927 GB, free: 5.516 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.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 (762): * Single equations (assignments): 753 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.005354/1.072, allocations: 2.102 MB / 0.6947 GB, free: 3.402 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009784/1.072, allocations: 343.5 kB / 0.6951 GB, free: 3.062 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.084, allocations: 3.074 MB / 0.6981 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009622/1.094, allocations: 2.586 MB / 0.7006 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.094, allocations: 4 kB / 0.7006 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/1.094, allocations: 11.97 kB / 0.7006 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04138/1.135, allocations: 9.678 MB / 0.71 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-05/1.135, allocations: 4 kB / 0.7101 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/1.139, allocations: 279.5 kB / 0.7103 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008804/1.148, allocations: 1.065 MB / 0.7114 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005695/1.148, allocations: 47.97 kB / 0.7114 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4532/1.601, allocations: 4.882 MB / 0.7162 GB, free: 175.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001428/1.603, allocations: 1.465 MB / 0.7176 GB, free: 174.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/1.62, allocations: 5.972 MB / 0.7234 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.621, allocations: 416.7 kB / 0.7238 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.622, allocations: 36.3 kB / 0.7239 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/1.626, allocations: 140.9 kB / 0.724 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006945/1.626, allocations: 112.7 kB / 0.7241 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/1.627, allocations: 53.38 kB / 0.7242 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007667/1.634, allocations: 2.604 MB / 0.7267 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/1.634, allocations: 0.9688 kB / 0.7267 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007837/1.642, allocations: 1.069 MB / 0.7277 GB, free: 171.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0009056/1.643, allocations: 193 kB / 0.7279 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01607/1.659, allocations: 5.578 MB / 0.7334 GB, free: 169.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.659, allocations: 1.406 kB / 0.7334 GB, free: 169.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006832/1.666, allocations: 2.107 MB / 0.7354 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.67, allocations: 440.3 kB / 0.7359 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/1.697, allocations: 11.79 MB / 0.7474 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006488/1.704, allocations: 3.353 MB / 0.7506 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/1.705, allocations: 290.8 kB / 0.7509 GB, free: 161 MB / 0.5105 GB Notification: Performance of SimCode: time 1.472e-06/1.705, allocations: 0 / 0.7509 GB, free: 161 MB / 0.5105 GB Notification: Performance of Templates: time 0.2148/1.92, allocations: 126.1 MB / 0.874 GB, free: 39.85 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches