Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 226.5 MB / 244.1 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007161/0.0007161, allocations: 101.6 kB / 296.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3151/0.3151, allocations: 44.82 MB / 393 MB, free: 35.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.000289, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3338, allocations: 62.96 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4704, allocations: 109.4 MB / 0.6233 GB, free: 11.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4707, allocations: 75.97 kB / 0.6234 GB, free: 11.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4449/0.9156, allocations: 82.82 MB / 0.7043 GB, free: 99.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.9157, allocations: 0 / 0.7043 GB, free: 99.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003196/0.916, allocations: 81.62 kB / 0.7044 GB, free: 99.71 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.01379/0.9298, allocations: 4.052 MB / 0.7083 GB, free: 97.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.9299, allocations: 9.781 kB / 0.7083 GB, free: 97.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.9409, allocations: 2.315 MB / 0.7106 GB, free: 97.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.9524, allocations: 3.679 MB / 0.7142 GB, free: 96.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005342/0.9529, allocations: 325 kB / 0.7145 GB, free: 96.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/0.9554, allocations: 420.8 kB / 0.7149 GB, free: 96.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02961/0.9851, allocations: 10.3 MB / 0.7249 GB, free: 92.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003276/0.9855, allocations: 68.31 kB / 0.725 GB, free: 92.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/0.9877, allocations: 207.2 kB / 0.7252 GB, free: 92.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/0.9897, allocations: 0.9926 MB / 0.7262 GB, free: 91.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/1.013, allocations: 8.28 MB / 0.7343 GB, free: 89.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07121/1.084, allocations: 48.04 MB / 0.7812 GB, free: 52.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.096, allocations: 3.699 MB / 0.7848 GB, free: 50.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/1.098, allocations: 1.561 MB / 0.7863 GB, free: 49.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/1.11, allocations: 7.567 MB / 0.7937 GB, free: 43.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/1.11, allocations: 55.44 kB / 0.7937 GB, free: 43.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 8.445e-06/1.11, allocations: 3.938 kB / 0.7937 GB, free: 43.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.03797/1.148, allocations: 13.92 MB / 0.8073 GB, free: 29.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001096/1.149, allocations: 1.585 MB / 0.8089 GB, free: 28.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00781/1.157, allocations: 3.857 MB / 0.8127 GB, free: 24.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004107/1.157, allocations: 48.91 kB / 0.8127 GB, free: 24.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.16, allocations: 3.098 MB / 0.8157 GB, free: 21.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.161, allocations: 0.6399 MB / 0.8164 GB, free: 20.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007777/1.161, allocations: 116 kB / 0.8165 GB, free: 20.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006057/1.162, allocations: 0.566 MB / 0.817 GB, free: 19.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003555/1.166, allocations: 1.964 MB / 0.8189 GB, free: 17.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005464/1.171, allocations: 5.717 MB / 0.8245 GB, free: 10.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.181, allocations: 8.352 MB / 0.8327 GB, free: 96 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/1.181, allocations: 40 kB / 0.8327 GB, free: 56 kB / 490.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02061/1.202, allocations: 8.216 MB / 0.8407 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002313/1.202, allocations: 60.47 kB / 0.8408 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006279/1.209, allocations: 2.513 MB / 0.8432 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/1.212, allocations: 1.111 MB / 0.8443 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/1.217, allocations: 1.368 MB / 0.8457 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006364/1.224, allocations: 4.7 MB / 0.8503 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.229, allocations: 383.3 kB / 0.8506 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.231, allocations: 379.9 kB / 0.851 GB, free: 13.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 () * 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.006493/1.237, allocations: 2.044 MB / 0.853 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.239, allocations: 335.6 kB / 0.8533 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007643/1.246, allocations: 2.907 MB / 0.8561 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005367/1.252, allocations: 2.445 MB / 0.8585 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/1.252, allocations: 4 kB / 0.8585 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.492e-05/1.252, allocations: 7.969 kB / 0.8585 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/1.276, allocations: 9.24 MB / 0.8676 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/1.276, allocations: 4 kB / 0.8676 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.277, allocations: 247.6 kB / 0.8678 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/1.281, allocations: 1.018 MB / 0.8688 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/1.281, allocations: 43.91 kB / 0.8688 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006346/1.288, allocations: 4.841 MB / 0.8736 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001264/1.289, allocations: 1.457 MB / 0.875 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.308/1.597, allocations: 5.203 MB / 0.8801 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.599, allocations: 395.5 kB / 0.8805 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000795/1.599, allocations: 30.91 kB / 0.8805 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.601, allocations: 130.8 kB / 0.8806 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/1.601, allocations: 110.2 kB / 0.8807 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.602, allocations: 48.23 kB / 0.8808 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004556/1.606, allocations: 2.377 MB / 0.8831 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/1.606, allocations: 0 / 0.8831 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006447/1.613, allocations: 1.009 MB / 0.8841 GB, free: 132.2 MB / 0.5261 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.0006224/1.613, allocations: 181.5 kB / 0.8842 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009611/1.623, allocations: 5.394 MB / 0.8895 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.623, allocations: 2.875 kB / 0.8895 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/1.627, allocations: 2.111 MB / 0.8916 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/1.633, allocations: 452.9 kB / 0.892 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/1.656, allocations: 11.42 MB / 0.9032 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006286/1.662, allocations: 3.185 MB / 0.9063 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/1.664, allocations: 279.1 kB / 0.9065 GB, free: 126 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/1.664, allocations: 0 / 0.9065 GB, free: 126 MB / 0.5261 GB Notification: Performance of Templates: time 0.1807/1.844, allocations: 127.5 MB / 1.031 GB, free: 38.02 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches