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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009499/0.00095, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008815/0.0008816, allocations: 105.9 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1964/0.1964, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.454e-05, allocations: 11.06 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1417, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5631, allocations: 108.7 MB / 0.6105 GB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.5634, allocations: 80.33 kB / 0.6106 GB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1993/0.7627, allocations: 83.4 MB / 0.692 GB, free: 14.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7627, allocations: 4 kB / 0.692 GB, free: 14.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.7629, allocations: 83.98 kB / 0.6921 GB, free: 14.75 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.009852/0.7728, allocations: 3.892 MB / 0.6959 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.7728, allocations: 8.031 kB / 0.6959 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.7846, allocations: 2.389 MB / 0.6983 GB, free: 8.387 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.7956, allocations: 4.384 MB / 0.7026 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.7958, allocations: 136 kB / 0.7027 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.7974, allocations: 251.9 kB / 0.7029 GB, free: 3.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01103/0.8084, allocations: 5.951 MB / 0.7087 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.8255, allocations: 9.231 MB / 0.7177 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.8258, allocations: 59.41 kB / 0.7178 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000499/0.8263, allocations: 35.98 kB / 0.7178 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/0.8277, allocations: 0.9868 MB / 0.7188 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3207/1.148, allocations: 47.39 MB / 0.7651 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/1.152, allocations: 2.513 MB / 0.7675 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/1.154, allocations: 1.438 MB / 0.7689 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/1.155, allocations: 0.996 MB / 0.7699 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.155, allocations: 54.22 kB / 0.77 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 3.827e-06/1.155, allocations: 0 / 0.77 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.02672/1.181, allocations: 13.76 MB / 0.7834 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.181, allocations: 145.1 kB / 0.7835 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/1.185, allocations: 3.033 MB / 0.7865 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/1.185, allocations: 25.7 kB / 0.7865 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/1.186, allocations: 3.131 MB / 0.7896 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/1.187, allocations: 0.6609 MB / 0.7902 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/1.187, allocations: 0 / 0.7902 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002371/1.187, allocations: 0.5741 MB / 0.7908 GB, free: 103 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/1.189, allocations: 1.913 MB / 0.7927 GB, free: 103 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/1.193, allocations: 5.749 MB / 0.7983 GB, free: 98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/1.196, allocations: 3.291 MB / 0.8015 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.73e-05/1.196, allocations: 41.41 kB / 0.8015 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01183/1.208, allocations: 7.59 MB / 0.8089 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/1.208, allocations: 65.28 kB / 0.809 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003828/1.212, allocations: 2.507 MB / 0.8115 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/1.215, allocations: 1.121 MB / 0.8125 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/1.218, allocations: 1.429 MB / 0.8139 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/1.222, allocations: 4.485 MB / 0.8183 GB, free: 91.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/1.226, allocations: 271.9 kB / 0.8186 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000472/1.226, allocations: 388 kB / 0.8189 GB, free: 91.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 766 * 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.0006258/1.227, allocations: 464.6 kB / 0.8194 GB, free: 91.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/1.227, allocations: 318.7 kB / 0.8197 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00464/1.232, allocations: 2.873 MB / 0.8225 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00372/1.236, allocations: 2.442 MB / 0.8249 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.236, allocations: 7 kB / 0.8249 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/1.236, allocations: 9.391 kB / 0.8249 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/1.25, allocations: 8.889 MB / 0.8336 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.25, allocations: 7.547 kB / 0.8336 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.252, allocations: 268.1 kB / 0.8338 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/1.254, allocations: 0.991 MB / 0.8348 GB, free: 85.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.255, allocations: 24.02 kB / 0.8348 GB, free: 85.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/1.259, allocations: 4.683 MB / 0.8394 GB, free: 82.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006402/1.26, allocations: 1.39 MB / 0.8408 GB, free: 81.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/1.267, allocations: 5.721 MB / 0.8464 GB, free: 77.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.268, allocations: 368.3 kB / 0.8467 GB, free: 77.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/1.268, allocations: 11.38 kB / 0.8467 GB, free: 77.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.27, allocations: 111.9 kB / 0.8468 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.27, allocations: 109 kB / 0.8469 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.27, allocations: 61.23 kB / 0.847 GB, free: 77.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002549/1.273, allocations: 2.006 MB / 0.8489 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.273, allocations: 0 / 0.8489 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004493/1.277, allocations: 0.9084 MB / 0.8498 GB, free: 74.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 128 * 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.0003611/1.278, allocations: 161.8 kB / 0.85 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007008/1.285, allocations: 5.18 MB / 0.855 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.285, allocations: 4 kB / 0.855 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/1.288, allocations: 2.079 MB / 0.8571 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.29, allocations: 364.2 kB / 0.8574 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.301, allocations: 7.712 MB / 0.865 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/1.304, allocations: 3.276 MB / 0.8682 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004324/1.309, allocations: 1.969 MB / 0.8701 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/1.309, allocations: 229.8 kB / 0.8703 GB, free: 57 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/1.309, allocations: 0 / 0.8703 GB, free: 57 MB / 0.5261 GB Notification: Performance of Templates: time 0.0494/1.359, allocations: 30.28 MB / 0.8999 GB, free: 31.48 MB / 0.5261 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches