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.000825/0.000825, allocations: 99.28 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009107/0.0009106, allocations: 193.8 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2497/0.2497, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 8.219 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 63.57 MB / 482.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3507/0.499, allocations: 38.15 MB / 0.5084 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02578/0.5248, allocations: 8.721 MB / 0.5169 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01145/0.5363, allocations: 186.2 kB / 0.5171 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.5468, allocations: 1.949 MB / 0.519 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02387/0.5707, allocations: 5.864 MB / 0.5247 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.5749, allocations: 0.6001 MB / 0.5253 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008685/0.5836, allocations: 4.728 MB / 0.5299 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006512/0.5901, allocations: 3.979 MB / 0.5338 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.593, allocations: 1.2 MB / 0.5349 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.5962, allocations: 1.786 MB / 0.5367 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005125/0.5967, allocations: 126.8 kB / 0.5368 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.5989, allocations: 0.9439 MB / 0.5377 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.6004, allocations: 1.645 MB / 0.5393 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000843/0.6012, allocations: 0.7948 MB / 0.5401 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.6062, allocations: 5.165 MB / 0.5452 GB, free: 272 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6062, allocations: 0 / 0.5452 GB, free: 272 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6062, allocations: 0 / 0.5452 GB, free: 272 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002023/0.6064, allocations: 0 / 0.5452 GB, free: 272 kB / 382.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.009666/0.6161, allocations: 3.818 MB / 0.5489 GB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.6162, allocations: 8.031 kB / 0.5489 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007447/0.6236, allocations: 1.999 MB / 0.5508 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007123/0.6308, allocations: 2.249 MB / 0.553 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/0.6313, allocations: 232.1 kB / 0.5533 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/0.6331, allocations: 411.1 kB / 0.5537 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/0.6551, allocations: 9.701 MB / 0.5631 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.6553, allocations: 43.58 kB / 0.5632 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004708/0.6558, allocations: 148.3 kB / 0.5633 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002758/0.6586, allocations: 1.759 MB / 0.565 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.6769, allocations: 8.168 MB / 0.573 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05367/0.7306, allocations: 38.43 MB / 0.6105 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009435/0.7401, allocations: 3.758 MB / 0.6142 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.7426, allocations: 1.559 MB / 0.6157 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.7545, allocations: 7.844 MB / 0.6234 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.7546, allocations: 53.03 kB / 0.6234 GB, free: 1.066 MB / 462.1 MB Notification: Performance of pre-optimization done (n=144): time 3.907e-06/0.7546, allocations: 0 / 0.6234 GB, free: 1.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03671/0.7913, allocations: 14.24 MB / 0.6373 GB, free: 2.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001361/0.7927, allocations: 1.609 MB / 0.6389 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005818/0.7985, allocations: 3.796 MB / 0.6426 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/0.799, allocations: 48.59 kB / 0.6427 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.8015, allocations: 3.037 MB / 0.6456 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008952/0.8024, allocations: 0.6419 MB / 0.6463 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.8027, allocations: 117.2 kB / 0.6464 GB, free: 9.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003522/0.803, allocations: 0.562 MB / 0.6469 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/0.8062, allocations: 2.01 MB / 0.6489 GB, free: 6.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005651/0.8119, allocations: 5.714 MB / 0.6545 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004809/0.8167, allocations: 3.311 MB / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.447e-05/0.8168, allocations: 36 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02305/0.8398, allocations: 9.284 MB / 0.6668 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.922e-05/0.84, allocations: 64.2 kB / 0.6669 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01026/0.8502, allocations: 3.611 MB / 0.6704 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009825/0.8601, allocations: 2.367 MB / 0.6727 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004881/0.865, allocations: 1.376 MB / 0.674 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009604/0.8747, allocations: 6.347 MB / 0.6802 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/0.8793, allocations: 403.3 kB / 0.6806 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000704/0.88, allocations: 374.9 kB / 0.681 GB, free: 3.664 MB / 0.5137 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 (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.003732/0.8837, allocations: 2.009 MB / 0.6829 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006627/0.8844, allocations: 335.6 kB / 0.6833 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.8854, allocations: 444.9 kB / 0.6837 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004898/0.8903, allocations: 2.511 MB / 0.6861 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.8903, allocations: 4 kB / 0.6861 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.8903, allocations: 3.984 kB / 0.6861 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/0.9066, allocations: 9.279 MB / 0.6952 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.9066, allocations: 5.094 kB / 0.6952 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.9078, allocations: 268.1 kB / 0.6955 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/0.9107, allocations: 1.061 MB / 0.6965 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.9108, allocations: 48.44 kB / 0.6966 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005188/0.916, allocations: 4.799 MB / 0.7012 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001001/0.917, allocations: 1.47 MB / 0.7027 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008207/0.9253, allocations: 5.358 MB / 0.7079 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/0.9263, allocations: 392.6 kB / 0.7083 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.9267, allocations: 39.92 kB / 0.7083 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.9279, allocations: 131.8 kB / 0.7084 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.9281, allocations: 112.9 kB / 0.7086 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.9282, allocations: 50.33 kB / 0.7086 GB, free: 6.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003702/0.932, allocations: 2.338 MB / 0.7109 GB, free: 4.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.663e-06/0.932, allocations: 4 kB / 0.7109 GB, free: 4.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004909/0.9369, allocations: 1.005 MB / 0.7119 GB, free: 3.348 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 (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.0004081/0.9373, allocations: 173.4 kB / 0.712 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3014/1.239, allocations: 5.458 MB / 0.7174 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.239, allocations: 1.281 kB / 0.7174 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003995/1.243, allocations: 2.078 MB / 0.7194 GB, free: 159.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.245, allocations: 437.8 kB / 0.7198 GB, free: 159.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.264, allocations: 10.84 MB / 0.7304 GB, free: 154.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/1.268, allocations: 3.134 MB / 0.7335 GB, free: 154.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005173/1.273, allocations: 1.86 MB / 0.7353 GB, free: 154 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/1.274, allocations: 238.1 kB / 0.7355 GB, free: 154 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/1.274, allocations: 0 / 0.7355 GB, free: 154 MB / 0.545 GB Notification: Performance of Templates: time 0.06458/1.338, allocations: 35.13 MB / 0.7698 GB, free: 130.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches