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.001086/0.001086, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.11 MB / 343.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 76.47 kB / 416.8 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1626, allocations: 62.44 MB / 479.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02705/0.1897, allocations: 25.51 MB / 0.493 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.2089, allocations: 6.228 MB / 0.4991 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006663/0.2156, allocations: 103.8 kB / 0.4992 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003922/0.2196, allocations: 1.137 MB / 0.5003 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.2254, allocations: 1.62 MB / 0.5018 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.2272, allocations: 471.2 kB / 0.5023 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.314/0.5412, allocations: 5.51 MB / 0.5077 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.5445, allocations: 1.759 MB / 0.5094 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.5471, allocations: 1.001 MB / 0.5104 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004104/0.5512, allocations: 1.761 MB / 0.5121 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007691/0.552, allocations: 151.1 kB / 0.5122 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.5547, allocations: 1.07 MB / 0.5133 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.5574, allocations: 1.546 MB / 0.5148 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.56, allocations: 1.778 MB / 0.5165 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007956/0.568, allocations: 5.759 MB / 0.5221 GB, free: 9.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.568, allocations: 1.656 kB / 0.5221 GB, free: 9.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.568, allocations: 0 / 0.5221 GB, free: 9.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002227/0.5683, allocations: 0 / 0.5221 GB, free: 9.652 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.01052/0.5788, allocations: 4.108 MB / 0.5262 GB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.5788, allocations: 8.812 kB / 0.5262 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.5901, allocations: 3.18 MB / 0.5293 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005671/0.5958, allocations: 2.003 MB / 0.5312 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.5961, allocations: 181.1 kB / 0.5314 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.5978, allocations: 334 kB / 0.5317 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01866/0.6164, allocations: 10.29 MB / 0.5418 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.6166, allocations: 27.62 kB / 0.5418 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000456/0.617, allocations: 117.2 kB / 0.5419 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0039/0.6209, allocations: 2.434 MB / 0.5443 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.6412, allocations: 9.842 MB / 0.5539 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06184/0.7031, allocations: 34.6 MB / 0.5877 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009114/0.7123, allocations: 4.304 MB / 0.5919 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/0.716, allocations: 2.16 MB / 0.594 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.7174, allocations: 1.309 MB / 0.5953 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.7174, allocations: 57.81 kB / 0.5953 GB, free: 7.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 6.162e-06/0.7175, allocations: 4 kB / 0.5953 GB, free: 7.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.04597/0.7634, allocations: 16.72 MB / 0.6117 GB, free: 6.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001514/0.765, allocations: 1.54 MB / 0.6132 GB, free: 4.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005572/0.7706, allocations: 2.668 MB / 0.6158 GB, free: 1.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009086/0.7715, allocations: 57.7 kB / 0.6158 GB, free: 1.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.7738, allocations: 2.615 MB / 0.6184 GB, free: 15.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001542/0.7753, allocations: 0.9179 MB / 0.6193 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002112/0.7775, allocations: 1.104 MB / 0.6204 GB, free: 13.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7776, allocations: 305.1 kB / 0.6206 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/0.7812, allocations: 2.416 MB / 0.623 GB, free: 10.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005692/0.7869, allocations: 5.34 MB / 0.6282 GB, free: 3.738 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/0.7989, allocations: 8.425 MB / 0.6365 GB, free: 10.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.259e-05/0.799, allocations: 28 kB / 0.6365 GB, free: 10.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02598/0.825, allocations: 9.695 MB / 0.6459 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.8251, allocations: 48 kB / 0.646 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01414/0.8393, allocations: 4.893 MB / 0.6508 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/0.8508, allocations: 2.464 MB / 0.6532 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/0.8558, allocations: 1.255 MB / 0.6544 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009069/0.8649, allocations: 5.854 MB / 0.6601 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/0.8699, allocations: 395.5 kB / 0.6605 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/0.8713, allocations: 318.8 kB / 0.6608 GB, free: 1.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.005054/0.8763, allocations: 2.031 MB / 0.6628 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/0.877, allocations: 272.5 kB / 0.663 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.8875, allocations: 5.315 MB / 0.6682 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00905/0.8966, allocations: 4.605 MB / 0.6727 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.8966, allocations: 4 kB / 0.6727 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.8967, allocations: 7.969 kB / 0.6727 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/0.924, allocations: 14.33 MB / 0.6867 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.924, allocations: 11.94 kB / 0.6867 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.9258, allocations: 407.3 kB / 0.6871 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00454/0.9304, allocations: 1.24 MB / 0.6883 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000358/0.9307, allocations: 59.97 kB / 0.6884 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005157/0.9359, allocations: 4.435 MB / 0.6927 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001094/0.937, allocations: 1.471 MB / 0.6942 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.9511, allocations: 7.995 MB / 0.702 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009428/0.9521, allocations: 321.6 kB / 0.7023 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/0.9526, allocations: 55.98 kB / 0.7023 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.954, allocations: 191.7 kB / 0.7025 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/0.9545, allocations: 171.4 kB / 0.7027 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.9547, allocations: 71.98 kB / 0.7027 GB, free: 5.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002794/0.9575, allocations: 1.644 MB / 0.7044 GB, free: 3.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9575, allocations: 0 / 0.7044 GB, free: 3.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005602/0.9631, allocations: 1.026 MB / 0.7054 GB, free: 2.668 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.000698/0.9638, allocations: 205.8 kB / 0.7056 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2617/1.226, allocations: 6.413 MB / 0.7118 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.226, allocations: 2.156 kB / 0.7118 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00595/1.232, allocations: 2.839 MB / 0.7146 GB, free: 170.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.234, allocations: 375.8 kB / 0.7149 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.256, allocations: 12.3 MB / 0.727 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00491/1.261, allocations: 3.188 MB / 0.7301 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005583/1.266, allocations: 2.059 MB / 0.7321 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/1.267, allocations: 220.5 kB / 0.7323 GB, free: 164 MB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/1.267, allocations: 0 / 0.7323 GB, free: 164 MB / 0.545 GB Notification: Performance of Templates: time 0.05726/1.324, allocations: 35.2 MB / 0.7667 GB, free: 138.5 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