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.001419/0.001419, allocations: 201 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008959/0.0008959, allocations: 106.2 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3774/0.3774, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3234, allocations: 62.96 MB / 0.5184 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.5022, allocations: 109.4 MB / 0.6253 GB, free: 11.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.5026, allocations: 83.94 kB / 0.6253 GB, free: 11.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4982/1.001, allocations: 82.81 MB / 0.7062 GB, free: 100.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.001, allocations: 0 / 0.7062 GB, free: 100.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002641/1.001, allocations: 86.56 kB / 0.7063 GB, free: 100.2 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.01525/1.016, allocations: 4.043 MB / 0.7103 GB, free: 98.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.016, allocations: 14.09 kB / 0.7103 GB, free: 98.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/1.029, allocations: 2.318 MB / 0.7125 GB, free: 98.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/1.04, allocations: 3.679 MB / 0.7161 GB, free: 97.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/1.041, allocations: 318.2 kB / 0.7164 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002589/1.043, allocations: 419.8 kB / 0.7168 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02586/1.069, allocations: 10.3 MB / 0.7269 GB, free: 92.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004663/1.07, allocations: 63.12 kB / 0.7269 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002305/1.072, allocations: 210 kB / 0.7271 GB, free: 92.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001779/1.074, allocations: 0.9907 MB / 0.7281 GB, free: 92.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.093, allocations: 8.284 MB / 0.7362 GB, free: 89.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04546/1.138, allocations: 48.03 MB / 0.7831 GB, free: 52.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007989/1.146, allocations: 3.699 MB / 0.7867 GB, free: 51.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/1.148, allocations: 1.565 MB / 0.7882 GB, free: 50.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009291/1.157, allocations: 7.561 MB / 0.7956 GB, free: 43.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.157, allocations: 63.38 kB / 0.7957 GB, free: 43.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 5.039e-06/1.157, allocations: 3.938 kB / 0.7957 GB, free: 43.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.03228/1.19, allocations: 13.93 MB / 0.8093 GB, free: 29.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009821/1.191, allocations: 1.584 MB / 0.8108 GB, free: 28.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006647/1.197, allocations: 3.857 MB / 0.8146 GB, free: 24.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003358/1.198, allocations: 45.7 kB / 0.8147 GB, free: 24.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.199, allocations: 3.097 MB / 0.8177 GB, free: 21.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007988/1.2, allocations: 0.6433 MB / 0.8183 GB, free: 20.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/1.201, allocations: 120 kB / 0.8184 GB, free: 20.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003981/1.201, allocations: 0.5542 MB / 0.819 GB, free: 19.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/1.204, allocations: 1.975 MB / 0.8209 GB, free: 17.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/1.208, allocations: 5.721 MB / 0.8265 GB, free: 10.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/1.216, allocations: 8.334 MB / 0.8346 GB, free: 12 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.216, allocations: 36.05 kB / 0.8346 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01906/1.235, allocations: 8.229 MB / 0.8427 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/1.235, allocations: 60 kB / 0.8427 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005456/1.241, allocations: 2.509 MB / 0.8452 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003642/1.244, allocations: 1.119 MB / 0.8463 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00525/1.25, allocations: 1.361 MB / 0.8476 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006744/1.256, allocations: 4.7 MB / 0.8522 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00648/1.263, allocations: 387.4 kB / 0.8526 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/1.265, allocations: 372 kB / 0.8529 GB, free: 12.96 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.005662/1.271, allocations: 2.048 MB / 0.8549 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.272, allocations: 339.6 kB / 0.8553 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006701/1.278, allocations: 2.899 MB / 0.8581 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004624/1.283, allocations: 2.453 MB / 0.8605 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/1.283, allocations: 4 kB / 0.8605 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/1.283, allocations: 7.969 kB / 0.8605 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/1.305, allocations: 9.23 MB / 0.8695 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/1.305, allocations: 8.031 kB / 0.8695 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.306, allocations: 248.1 kB / 0.8697 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/1.309, allocations: 1.018 MB / 0.8707 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/1.309, allocations: 50.72 kB / 0.8708 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0055/1.314, allocations: 4.838 MB / 0.8755 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001201/1.316, allocations: 1.454 MB / 0.8769 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3237/1.639, allocations: 5.193 MB / 0.882 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.641, allocations: 398 kB / 0.8824 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.642, allocations: 40.12 kB / 0.8824 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.644, allocations: 126.9 kB / 0.8825 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004705/1.645, allocations: 108.8 kB / 0.8826 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.645, allocations: 51.03 kB / 0.8827 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00514/1.65, allocations: 2.374 MB / 0.885 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/1.65, allocations: 0 / 0.885 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007158/1.657, allocations: 1.017 MB / 0.886 GB, free: 132.6 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.0006168/1.658, allocations: 180.6 kB / 0.8862 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009161/1.667, allocations: 5.387 MB / 0.8914 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.667, allocations: 0 / 0.8914 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003589/1.671, allocations: 2.116 MB / 0.8935 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/1.676, allocations: 449.3 kB / 0.8939 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/1.693, allocations: 10.94 MB / 0.9046 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/1.698, allocations: 3.178 MB / 0.9077 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005828/1.703, allocations: 1.864 MB / 0.9095 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009768/1.704, allocations: 234.7 kB / 0.9098 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/1.704, allocations: 0.7656 kB / 0.9098 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.06757/1.772, allocations: 33.39 MB / 0.9424 GB, free: 124.4 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/jenkins1/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