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.000943/0.0009432, allocations: 96.66 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 201.2 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.0002489, allocations: 12 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09823, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2419/0.3402, allocations: 41 MB / 0.5124 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.3587, allocations: 9.176 MB / 0.5214 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009299/0.368, allocations: 180.3 kB / 0.5216 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.3698, allocations: 415.7 kB / 0.522 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005909/0.3757, allocations: 1.669 MB / 0.5236 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.3778, allocations: 0.6644 MB / 0.5242 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007682/0.3855, allocations: 5.939 MB / 0.53 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00583/0.3914, allocations: 4.37 MB / 0.5343 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.3938, allocations: 1.089 MB / 0.5354 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.3969, allocations: 1.816 MB / 0.5371 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007106/0.3977, allocations: 126.9 kB / 0.5373 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.4, allocations: 1.106 MB / 0.5383 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.4016, allocations: 1.667 MB / 0.54 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.4039, allocations: 1.912 MB / 0.5418 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005102/0.4091, allocations: 5.162 MB / 0.5469 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.4091, allocations: 0 / 0.5469 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.659e-06/0.4091, allocations: 0 / 0.5469 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002178/0.4093, allocations: 3.938 kB / 0.5469 GB, free: 13.47 MB / 398.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.008993/0.4183, allocations: 3.756 MB / 0.5506 GB, free: 9.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4184, allocations: 12.03 kB / 0.5506 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007267/0.4257, allocations: 2 MB / 0.5525 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.43, allocations: 2.288 MB / 0.5548 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.4303, allocations: 235.7 kB / 0.555 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.4315, allocations: 401.7 kB / 0.5554 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.449, allocations: 9.729 MB / 0.5649 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/0.4492, allocations: 43.59 kB / 0.5649 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007884/0.45, allocations: 159.6 kB / 0.5651 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/0.4528, allocations: 1.754 MB / 0.5668 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.4692, allocations: 8.196 MB / 0.5748 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04436/0.5136, allocations: 38.47 MB / 0.6123 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009415/0.5231, allocations: 3.783 MB / 0.616 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.5253, allocations: 1.566 MB / 0.6176 GB, free: 3.543 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.5363, allocations: 7.824 MB / 0.6252 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.5364, allocations: 59.48 kB / 0.6253 GB, free: 11.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=144): time 4.017e-06/0.5364, allocations: 0 / 0.6253 GB, free: 11.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03763/0.5741, allocations: 14.25 MB / 0.6392 GB, free: 12.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00119/0.5753, allocations: 1.593 MB / 0.6407 GB, free: 11.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005847/0.5812, allocations: 3.815 MB / 0.6445 GB, free: 7.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002761/0.5815, allocations: 49.7 kB / 0.6445 GB, free: 7.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.5835, allocations: 3.037 MB / 0.6475 GB, free: 4.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000814/0.5844, allocations: 0.6432 MB / 0.6481 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008429/0.5852, allocations: 0.5109 MB / 0.6486 GB, free: 3.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.5853, allocations: 301.1 kB / 0.6489 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/0.5884, allocations: 2.034 MB / 0.6509 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005248/0.5936, allocations: 5.738 MB / 0.6565 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008851/0.6025, allocations: 8.383 MB / 0.6647 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.6026, allocations: 40 kB / 0.6647 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02081/0.6235, allocations: 9.33 MB / 0.6738 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.6236, allocations: 67.92 kB / 0.6739 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01097/0.6346, allocations: 3.608 MB / 0.6774 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.6453, allocations: 2.359 MB / 0.6797 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/0.6496, allocations: 1.368 MB / 0.681 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008998/0.6586, allocations: 6.401 MB / 0.6873 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.6628, allocations: 399.3 kB / 0.6877 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/0.6637, allocations: 371.9 kB / 0.688 GB, free: 6.664 MB / 0.5294 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.003654/0.6673, allocations: 2.012 MB / 0.69 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006568/0.668, allocations: 335.6 kB / 0.6903 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.669, allocations: 440.9 kB / 0.6907 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004981/0.674, allocations: 2.527 MB / 0.6932 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.674, allocations: 4 kB / 0.6932 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.6741, allocations: 7.969 kB / 0.6932 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.6899, allocations: 9.268 MB / 0.7023 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.69, allocations: 4 kB / 0.7023 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.6911, allocations: 267.5 kB / 0.7025 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/0.6942, allocations: 1.065 MB / 0.7036 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.6944, allocations: 43.97 kB / 0.7036 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005127/0.6995, allocations: 4.81 MB / 0.7083 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2142/0.9137, allocations: 1.451 MB / 0.7097 GB, free: 190.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.9238, allocations: 5.38 MB / 0.715 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.9249, allocations: 393.4 kB / 0.7153 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007824/0.9257, allocations: 34.77 kB / 0.7154 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.9276, allocations: 142.7 kB / 0.7155 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.928, allocations: 105.2 kB / 0.7156 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.9281, allocations: 59.11 kB / 0.7157 GB, free: 190 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004915/0.9331, allocations: 2.356 MB / 0.718 GB, free: 189.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9331, allocations: 0 / 0.718 GB, free: 189.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005434/0.9385, allocations: 1 MB / 0.719 GB, free: 189.2 MB / 0.545 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.0005677/0.9391, allocations: 173.7 kB / 0.7191 GB, free: 189.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01052/0.9496, allocations: 5.54 MB / 0.7245 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.9497, allocations: 5.094 kB / 0.7245 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004203/0.9539, allocations: 2.089 MB / 0.7266 GB, free: 186.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005443/0.9594, allocations: 435 kB / 0.727 GB, free: 186 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.9745, allocations: 11.73 MB / 0.7384 GB, free: 179.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/0.9778, allocations: 3.127 MB / 0.7415 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/0.9786, allocations: 282.5 kB / 0.7418 GB, free: 178.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.9786, allocations: 0 / 0.7418 GB, free: 178.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1124/1.091, allocations: 126 MB / 0.8648 GB, free: 58.81 MB / 0.545 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