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.001316/0.001316, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 77.97 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 62.43 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02437/0.1524, allocations: 25.51 MB / 0.4936 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.1666, allocations: 6.22 MB / 0.4997 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005424/0.1721, allocations: 103.8 kB / 0.4998 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.1753, allocations: 1.149 MB / 0.5009 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.1799, allocations: 1.612 MB / 0.5025 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1811, allocations: 471.2 kB / 0.5029 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.265/0.4462, allocations: 5.511 MB / 0.5083 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00309/0.4493, allocations: 1.755 MB / 0.51 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.4515, allocations: 1.001 MB / 0.511 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.4542, allocations: 1.765 MB / 0.5127 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005338/0.4547, allocations: 152.4 kB / 0.5129 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.4571, allocations: 1.067 MB / 0.5139 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.4592, allocations: 1.54 MB / 0.5154 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.4613, allocations: 1.781 MB / 0.5171 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.4668, allocations: 4.697 MB / 0.5217 GB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4668, allocations: 1.031 kB / 0.5217 GB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.4668, allocations: 3.75 kB / 0.5217 GB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002073/0.467, allocations: 0 / 0.5217 GB, free: 10.2 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.01091/0.478, allocations: 4.103 MB / 0.5257 GB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.478, allocations: 9.406 kB / 0.5257 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4888, allocations: 3.179 MB / 0.5288 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.4935, allocations: 2.01 MB / 0.5308 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.4937, allocations: 176.3 kB / 0.531 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009701/0.4947, allocations: 330.3 kB / 0.5313 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.5092, allocations: 10.3 MB / 0.5414 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.639e-05/0.5094, allocations: 25.22 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/0.5098, allocations: 118.8 kB / 0.5415 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.5134, allocations: 2.433 MB / 0.5439 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.5314, allocations: 9.84 MB / 0.5535 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05054/0.5819, allocations: 34.6 MB / 0.5873 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007714/0.5897, allocations: 4.307 MB / 0.5915 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/0.5927, allocations: 2.154 MB / 0.5936 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.5938, allocations: 1.32 MB / 0.5949 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.5938, allocations: 58.38 kB / 0.5949 GB, free: 8.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 4.969e-06/0.5938, allocations: 0 / 0.5949 GB, free: 8.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.04066/0.6345, allocations: 16.72 MB / 0.6112 GB, free: 7.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001482/0.636, allocations: 1.541 MB / 0.6127 GB, free: 5.559 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/0.6418, allocations: 2.668 MB / 0.6154 GB, free: 2.871 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005946/0.6424, allocations: 59.81 kB / 0.6154 GB, free: 2.809 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.6445, allocations: 2.616 MB / 0.618 GB, free: 196 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001576/0.6461, allocations: 0.9205 MB / 0.6189 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002695/0.6488, allocations: 1.104 MB / 0.6199 GB, free: 14.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.6489, allocations: 305.1 kB / 0.6202 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/0.6525, allocations: 2.412 MB / 0.6226 GB, free: 11.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/0.6576, allocations: 5.342 MB / 0.6278 GB, free: 4.723 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.6691, allocations: 8.418 MB / 0.636 GB, free: 11.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.542e-05/0.6692, allocations: 28 kB / 0.6361 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02649/0.6957, allocations: 9.7 MB / 0.6455 GB, free: 1.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.6958, allocations: 48.94 kB / 0.6456 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01413/0.71, allocations: 4.891 MB / 0.6503 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.7215, allocations: 2.464 MB / 0.6528 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004899/0.7264, allocations: 1.252 MB / 0.654 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008901/0.7353, allocations: 5.866 MB / 0.6597 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005027/0.7404, allocations: 397.9 kB / 0.6601 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/0.742, allocations: 312 kB / 0.6604 GB, free: 2.184 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.005953/0.7479, allocations: 2.029 MB / 0.6624 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009956/0.7489, allocations: 268.6 kB / 0.6626 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.7616, allocations: 5.327 MB / 0.6678 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00946/0.7712, allocations: 4.595 MB / 0.6723 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.7712, allocations: 4 kB / 0.6723 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/0.7713, allocations: 11.95 kB / 0.6723 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03097/0.8023, allocations: 14.32 MB / 0.6863 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-05/0.8023, allocations: 12.12 kB / 0.6863 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.8042, allocations: 407.4 kB / 0.6867 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004382/0.8086, allocations: 1.236 MB / 0.6879 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004382/0.8091, allocations: 67.09 kB / 0.688 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00522/0.8143, allocations: 4.425 MB / 0.6923 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001283/0.8156, allocations: 1.471 MB / 0.6937 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.8301, allocations: 7.994 MB / 0.7015 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.8312, allocations: 329.9 kB / 0.7019 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009604/0.8322, allocations: 51.98 kB / 0.7019 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.8343, allocations: 194.4 kB / 0.7021 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005483/0.8348, allocations: 168.8 kB / 0.7023 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/0.8351, allocations: 79.97 kB / 0.7023 GB, free: 6.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003917/0.8391, allocations: 1.644 MB / 0.7039 GB, free: 4.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8391, allocations: 0 / 0.7039 GB, free: 4.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006248/0.8453, allocations: 1.022 MB / 0.7049 GB, free: 3.672 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.0007906/0.8461, allocations: 214.1 kB / 0.7051 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2592/1.105, allocations: 6.409 MB / 0.7114 GB, free: 197.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.105, allocations: 6.156 kB / 0.7114 GB, free: 197.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005338/1.111, allocations: 2.847 MB / 0.7142 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/1.113, allocations: 376 kB / 0.7145 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/1.135, allocations: 12.75 MB / 0.727 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/1.139, allocations: 3.187 MB / 0.7301 GB, free: 189.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.141, allocations: 262.4 kB / 0.7304 GB, free: 189.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.141, allocations: 2.734 kB / 0.7304 GB, free: 189.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1165/1.257, allocations: 127.6 MB / 0.855 GB, free: 71.25 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/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