Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,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.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,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.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009815/0.0009817, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.155, allocations: 63.56 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02482/0.1799, allocations: 24.65 MB / 0.4958 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.1952, allocations: 6.158 MB / 0.5019 GB, free: 5.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004962/0.2002, allocations: 103.8 kB / 0.502 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2017, allocations: 430.2 kB / 0.5024 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.2061, allocations: 1.632 MB / 0.504 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2074, allocations: 463.2 kB / 0.5044 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3105/0.5179, allocations: 5.506 MB / 0.5098 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004457/0.5224, allocations: 2.271 MB / 0.512 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.5246, allocations: 0.9379 MB / 0.5129 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.5276, allocations: 1.679 MB / 0.5146 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006164/0.5282, allocations: 122.6 kB / 0.5147 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.5308, allocations: 1.039 MB / 0.5157 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002386/0.5332, allocations: 1.514 MB / 0.5172 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.5358, allocations: 1.758 MB / 0.5189 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007364/0.5431, allocations: 5.643 MB / 0.5244 GB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5432, allocations: 0 / 0.5244 GB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5432, allocations: 1.875 kB / 0.5244 GB, free: 9.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002266/0.5434, allocations: 1.281 kB / 0.5244 GB, free: 9.613 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.008105/0.5516, allocations: 3.378 MB / 0.5277 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5516, allocations: 11.58 kB / 0.5277 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.5637, allocations: 3.269 MB / 0.5309 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005111/0.5689, allocations: 2.001 MB / 0.5328 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.5691, allocations: 185.1 kB / 0.533 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.5703, allocations: 335.2 kB / 0.5333 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.5882, allocations: 10.3 MB / 0.5434 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.5883, allocations: 30.12 kB / 0.5434 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004588/0.5888, allocations: 110.3 kB / 0.5435 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.5931, allocations: 2.444 MB / 0.5459 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.6136, allocations: 9.85 MB / 0.5555 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05556/0.6692, allocations: 34.59 MB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008338/0.6776, allocations: 4.314 MB / 0.5935 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003227/0.6808, allocations: 2.158 MB / 0.5956 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.6821, allocations: 1.313 MB / 0.5969 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.6822, allocations: 59.38 kB / 0.597 GB, free: 7.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 4.769e-06/0.6822, allocations: 0 / 0.597 GB, free: 7.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.05068/0.7329, allocations: 16.74 MB / 0.6133 GB, free: 6.656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001939/0.7349, allocations: 1.525 MB / 0.6148 GB, free: 4.984 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007394/0.7423, allocations: 2.664 MB / 0.6174 GB, free: 2.301 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006929/0.743, allocations: 57.7 kB / 0.6175 GB, free: 2.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002873/0.7459, allocations: 2.61 MB / 0.62 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001981/0.7479, allocations: 0.9267 MB / 0.6209 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/0.7498, allocations: 492.3 kB / 0.6214 GB, free: 14.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7499, allocations: 309.1 kB / 0.6217 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006393/0.7563, allocations: 2.408 MB / 0.624 GB, free: 11.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/0.7667, allocations: 5.344 MB / 0.6293 GB, free: 4.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/0.7835, allocations: 8.426 MB / 0.6375 GB, free: 11.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001641/0.7837, allocations: 28 kB / 0.6375 GB, free: 11.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.0267/0.8104, allocations: 9.688 MB / 0.647 GB, free: 1.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.8106, allocations: 51.94 kB / 0.647 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01542/0.826, allocations: 4.897 MB / 0.6518 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01302/0.8391, allocations: 2.464 MB / 0.6542 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005172/0.8443, allocations: 1.252 MB / 0.6554 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/0.8533, allocations: 5.856 MB / 0.6612 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/0.8584, allocations: 394.2 kB / 0.6615 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008957/0.8593, allocations: 316 kB / 0.6618 GB, free: 2.086 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 660 * Array equations: 8 * 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.004856/0.8642, allocations: 2.035 MB / 0.6638 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/0.8647, allocations: 267.6 kB / 0.6641 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.8758, allocations: 5.324 MB / 0.6693 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009738/0.8856, allocations: 4.607 MB / 0.6738 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.8856, allocations: 0 / 0.6738 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-05/0.8856, allocations: 7.969 kB / 0.6738 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/0.9131, allocations: 14.32 MB / 0.6878 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.9131, allocations: 11.94 kB / 0.6878 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.9149, allocations: 415.2 kB / 0.6882 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004781/0.9197, allocations: 1.233 MB / 0.6894 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003893/0.9201, allocations: 67.95 kB / 0.6894 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.9252, allocations: 4.448 MB / 0.6938 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001086/0.9263, allocations: 1.463 MB / 0.6952 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.9408, allocations: 7.992 MB / 0.703 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/0.9417, allocations: 333.5 kB / 0.7033 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.942, allocations: 55.98 kB / 0.7034 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.9436, allocations: 191.7 kB / 0.7036 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/0.944, allocations: 160.4 kB / 0.7037 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.9442, allocations: 83.97 kB / 0.7038 GB, free: 6.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002668/0.9468, allocations: 1.647 MB / 0.7054 GB, free: 4.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9469, allocations: 0 / 0.7054 GB, free: 4.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00444/0.9513, allocations: 1.023 MB / 0.7064 GB, free: 3.539 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (192): * Single equations (assignments): 182 * Array equations: 6 * 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.0005005/0.9518, allocations: 200.3 kB / 0.7066 GB, free: 3.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3378/1.29, allocations: 6.405 MB / 0.7129 GB, free: 169.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/1.29, allocations: 6.312 kB / 0.7129 GB, free: 169.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005602/1.295, allocations: 2.836 MB / 0.7156 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00621/1.302, allocations: 373.7 kB / 0.716 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.325, allocations: 12.49 MB / 0.7282 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004998/1.33, allocations: 3.185 MB / 0.7313 GB, free: 163.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005783/1.335, allocations: 2.055 MB / 0.7333 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/1.336, allocations: 217 kB / 0.7335 GB, free: 163.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.336, allocations: 0 / 0.7335 GB, free: 163.1 MB / 0.545 GB Notification: Performance of Templates: time 0.06096/1.397, allocations: 34.67 MB / 0.7674 GB, free: 138.8 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches