Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001266, allocations: 117.7 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 212.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4142, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.02401/0.4382, allocations: 10.96 MB / 0.5423 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.4546, allocations: 4.076 MB / 0.5463 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003662/0.4583, allocations: 66.59 kB / 0.5464 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008981/0.4673, allocations: 2.573 MB / 0.5489 GB, free: 40 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00956/0.477, allocations: 1.758 MB / 0.5506 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004612/0.4817, allocations: 0.7408 MB / 0.5513 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.492, allocations: 4.223 MB / 0.5555 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007675/0.4998, allocations: 3.336 MB / 0.5587 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.5042, allocations: 1.483 MB / 0.5602 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.5092, allocations: 1.958 MB / 0.5621 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.5107, allocations: 316 kB / 0.5624 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/0.5157, allocations: 1.225 MB / 0.5636 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004038/0.5198, allocations: 1.886 MB / 0.5654 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006187/0.526, allocations: 2.128 MB / 0.5675 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.541, allocations: 6.756 MB / 0.5741 GB, free: 6.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.541, allocations: 4 kB / 0.5741 GB, free: 6.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5411, allocations: 0 / 0.5741 GB, free: 6.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000282/0.5414, allocations: 4 kB / 0.5741 GB, free: 6.109 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: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.01767/0.5591, allocations: 4.595 MB / 0.5786 GB, free: 1.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.5591, allocations: 8.031 kB / 0.5786 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.5733, allocations: 1.965 MB / 0.5805 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008677/0.5821, allocations: 2.327 MB / 0.5828 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.5825, allocations: 238.4 kB / 0.583 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/0.5849, allocations: 403.4 kB / 0.5834 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03135/0.6163, allocations: 9.706 MB / 0.5929 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002352/0.6166, allocations: 47.58 kB / 0.5929 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.6179, allocations: 155.8 kB / 0.5931 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003388/0.6213, allocations: 1.763 MB / 0.5948 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.6386, allocations: 8.184 MB / 0.6028 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/0.6893, allocations: 38.3 MB / 0.6402 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009792/0.6992, allocations: 3.746 MB / 0.6439 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.7016, allocations: 1.58 MB / 0.6454 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.7143, allocations: 7.823 MB / 0.653 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.17e-05/0.7144, allocations: 51.44 kB / 0.6531 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 5.781e-06/0.7145, allocations: 0 / 0.6531 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.04326/0.7577, allocations: 14.23 MB / 0.667 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001538/0.7593, allocations: 1.68 MB / 0.6686 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007528/0.7669, allocations: 3.811 MB / 0.6723 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004946/0.7674, allocations: 53.73 kB / 0.6724 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002832/0.7703, allocations: 3.035 MB / 0.6754 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.7715, allocations: 0.6481 MB / 0.676 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002549/0.7741, allocations: 1.206 MB / 0.6772 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7742, allocations: 305.1 kB / 0.6775 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/0.7772, allocations: 2.038 MB / 0.6794 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005593/0.7828, allocations: 5.734 MB / 0.685 GB, free: 15.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.7929, allocations: 8.379 MB / 0.6932 GB, free: 5.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/0.793, allocations: 40 kB / 0.6933 GB, free: 5.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02393/0.817, allocations: 9.323 MB / 0.7024 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.8172, allocations: 60.94 kB / 0.7024 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01176/0.829, allocations: 3.6 MB / 0.7059 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/0.8401, allocations: 2.359 MB / 0.7082 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/0.845, allocations: 1.369 MB / 0.7096 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.8558, allocations: 6.936 MB / 0.7164 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005457/0.8613, allocations: 407.4 kB / 0.7167 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/0.8627, allocations: 368 kB / 0.7171 GB, free: 12.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004869/0.8676, allocations: 2.008 MB / 0.7191 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/0.8686, allocations: 335.7 kB / 0.7194 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.87, allocations: 440.9 kB / 0.7198 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005611/0.8756, allocations: 2.515 MB / 0.7223 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.8757, allocations: 4 kB / 0.7223 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.8757, allocations: 7.984 kB / 0.7223 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3657/1.241, allocations: 9.265 MB / 0.7313 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.241, allocations: 8.281 kB / 0.7313 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.243, allocations: 256.1 kB / 0.7316 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/1.246, allocations: 1.067 MB / 0.7326 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/1.246, allocations: 39.58 kB / 0.7326 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00522/1.251, allocations: 5.111 MB / 0.7376 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008822/1.252, allocations: 1.545 MB / 0.7391 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008086/1.26, allocations: 5.364 MB / 0.7444 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/1.261, allocations: 387.3 kB / 0.7448 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/1.262, allocations: 37.25 kB / 0.7448 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.263, allocations: 132.5 kB / 0.7449 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/1.263, allocations: 117.5 kB / 0.745 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.264, allocations: 52.81 kB / 0.7451 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002847/1.266, allocations: 2.353 MB / 0.7474 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.266, allocations: 0.7656 kB / 0.7474 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004427/1.271, allocations: 1 MB / 0.7484 GB, free: 168.3 MB / 0.5762 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004269/1.271, allocations: 175.4 kB / 0.7485 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008268/1.28, allocations: 5.58 MB / 0.754 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.28, allocations: 0 / 0.754 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003498/1.283, allocations: 2.094 MB / 0.756 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.286, allocations: 458.2 kB / 0.7565 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.3, allocations: 9.575 MB / 0.7658 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/1.303, allocations: 3.131 MB / 0.7689 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008618/1.304, allocations: 279.4 kB / 0.7691 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.304, allocations: 0 / 0.7691 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1185/1.422, allocations: 127.4 MB / 0.8935 GB, free: 25.21 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches