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.001251/0.001252, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001332, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 80.44 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1249, allocations: 62.44 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01161/0.1365, allocations: 11.71 MB / 493.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.1449, allocations: 3.948 MB / 497.1 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.1478, allocations: 59.88 kB / 497.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.1506, allocations: 1.175 MB / 498.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.1553, allocations: 1.724 MB / 0.4883 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1565, allocations: 498.9 kB / 0.4888 GB, free: 1.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.1619, allocations: 4.062 MB / 0.4928 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.1644, allocations: 1.795 MB / 0.4945 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.1668, allocations: 1.156 MB / 0.4957 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.1706, allocations: 1.658 MB / 0.4973 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008296/0.1715, allocations: 216 kB / 0.4975 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.1741, allocations: 1.073 MB / 0.4985 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.1757, allocations: 1.585 MB / 0.5001 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.1776, allocations: 1.828 MB / 0.5019 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2505/0.4281, allocations: 6.081 MB / 0.5078 GB, free: 20.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.4281, allocations: 0.7031 kB / 0.5078 GB, free: 20.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4281, allocations: 0 / 0.5078 GB, free: 20.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00023/0.4284, allocations: 1.125 kB / 0.5078 GB, free: 20.12 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.009846/0.4382, allocations: 4.102 MB / 0.5118 GB, free: 18.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.4383, allocations: 11.12 kB / 0.5118 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.4497, allocations: 3.179 MB / 0.5149 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006133/0.4559, allocations: 2.023 MB / 0.5169 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.4561, allocations: 183.3 kB / 0.5171 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.4575, allocations: 324.7 kB / 0.5174 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.4729, allocations: 10.29 MB / 0.5275 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.463e-05/0.473, allocations: 29.33 kB / 0.5275 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.4734, allocations: 117.8 kB / 0.5276 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003066/0.4765, allocations: 2.433 MB / 0.53 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.491, allocations: 9.843 MB / 0.5396 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/0.5391, allocations: 34.4 MB / 0.5732 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007638/0.5468, allocations: 4.304 MB / 0.5774 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.5498, allocations: 2.157 MB / 0.5795 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.551, allocations: 1.314 MB / 0.5808 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.5511, allocations: 61.25 kB / 0.5808 GB, free: 13.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 4.759e-06/0.5511, allocations: 0 / 0.5808 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.03686/0.588, allocations: 16.72 MB / 0.5972 GB, free: 12.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00132/0.5893, allocations: 1.627 MB / 0.5987 GB, free: 10.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/0.5929, allocations: 2.665 MB / 0.6014 GB, free: 8.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000406/0.5933, allocations: 56.33 kB / 0.6014 GB, free: 8.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.5949, allocations: 2.618 MB / 0.604 GB, free: 5.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009741/0.5959, allocations: 0.9209 MB / 0.6049 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.5974, allocations: 1.099 MB / 0.6059 GB, free: 3.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.5975, allocations: 309.2 kB / 0.6062 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/0.6007, allocations: 2.412 MB / 0.6086 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005138/0.6058, allocations: 5.339 MB / 0.6138 GB, free: 10.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009442/0.6153, allocations: 8.424 MB / 0.622 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-05/0.6154, allocations: 28 kB / 0.622 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02147/0.6369, allocations: 9.698 MB / 0.6315 GB, free: 7.363 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.637, allocations: 48 kB / 0.6316 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01282/0.6498, allocations: 4.888 MB / 0.6363 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.6605, allocations: 2.476 MB / 0.6388 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/0.6645, allocations: 1.244 MB / 0.64 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008552/0.673, allocations: 6.401 MB / 0.6462 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/0.677, allocations: 387.6 kB / 0.6466 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005861/0.6776, allocations: 318.3 kB / 0.6469 GB, free: 7.316 MB / 494.1 MB 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.003056/0.6807, allocations: 2.026 MB / 0.6489 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.6811, allocations: 264.5 kB / 0.6491 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009279/0.6904, allocations: 5.331 MB / 0.6543 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008068/0.6985, allocations: 4.597 MB / 0.6588 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.6985, allocations: 3.984 kB / 0.6588 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.6985, allocations: 7.969 kB / 0.6588 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/0.721, allocations: 14.28 MB / 0.6728 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.721, allocations: 8 kB / 0.6728 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.7226, allocations: 410.1 kB / 0.6732 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/0.7267, allocations: 1.236 MB / 0.6744 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.7269, allocations: 66.94 kB / 0.6744 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.7314, allocations: 4.752 MB / 0.6791 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009722/0.7324, allocations: 1.562 MB / 0.6806 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.7441, allocations: 7.997 MB / 0.6884 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/0.7448, allocations: 333.5 kB / 0.6887 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.7452, allocations: 51.98 kB / 0.6888 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.7465, allocations: 202.5 kB / 0.689 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/0.7468, allocations: 164.8 kB / 0.6891 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.747, allocations: 71.98 kB / 0.6892 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002213/0.7493, allocations: 1.647 MB / 0.6908 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7493, allocations: 0 / 0.6908 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003579/0.7528, allocations: 1.026 MB / 0.6918 GB, free: 8.402 MB / 0.5294 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.0004244/0.7533, allocations: 200.3 kB / 0.692 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.7634, allocations: 6.476 MB / 0.6983 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.7635, allocations: 0 / 0.6983 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004642/0.7681, allocations: 2.844 MB / 0.7011 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.7707, allocations: 389.9 kB / 0.7015 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.7875, allocations: 10.21 MB / 0.7115 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/0.791, allocations: 3.187 MB / 0.7146 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2053/0.9964, allocations: 2.049 MB / 0.7166 GB, free: 196.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/0.9982, allocations: 214.2 kB / 0.7168 GB, free: 196.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/0.9982, allocations: 1.125 kB / 0.7168 GB, free: 196.1 MB / 0.545 GB Notification: Performance of Templates: time 0.06105/1.059, allocations: 32.45 MB / 0.7485 GB, free: 183.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches