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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 167 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.024/1.024, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.272/0.272, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.57e-05, allocations: 4.391 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.008898/0.008923, allocations: 11.04 MB / 337 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.01583, allocations: 3.987 MB / 341 MB, free: 8.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.01721, allocations: 67.75 kB / 341.1 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.01936, allocations: 1.233 MB / 342.3 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.02339, allocations: 1.82 MB / 344.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.0244, allocations: 0.5181 MB / 344.6 MB, free: 4.367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004617/0.02902, allocations: 4.738 MB / 349.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.03174, allocations: 2.097 MB / 351.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.0342, allocations: 1.816 MB / 353.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.03695, allocations: 1.956 MB / 355.2 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005919/0.03754, allocations: 224 kB / 355.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.03911, allocations: 1.084 MB / 356.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.04044, allocations: 1.714 MB / 358.3 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.04149, allocations: 0.9808 MB / 359.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.04644, allocations: 4.082 MB / 363.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.04645, allocations: 0 / 363.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04645, allocations: 0 / 363.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.712e-05/0.04654, allocations: 0 / 363.3 MB, free: 1.602 MB / 330.7 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.006329/0.05287, allocations: 3.794 MB / 367.1 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.05291, allocations: 8.031 kB / 367.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00441/0.05732, allocations: 1.46 MB / 368.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.05918, allocations: 1.487 MB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/0.05927, allocations: 176.8 kB / 370.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/0.05975, allocations: 336.3 kB / 370.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005051/0.0648, allocations: 4.437 MB / 375 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.06485, allocations: 31.75 kB / 375 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.06508, allocations: 111.8 kB / 375.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/0.06688, allocations: 2.12 MB / 377.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004864/0.07174, allocations: 2.743 MB / 380 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/0.09562, allocations: 24.5 MB / 404.5 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.09945, allocations: 1.47 MB / 406 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.1002, allocations: 454.7 kB / 406.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.1008, allocations: 405.3 kB / 406.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.1008, allocations: 56.5 kB / 406.9 MB, free: 4.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=236): time 5.731e-06/0.1008, allocations: 0 / 406.9 MB, free: 4.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.02004/0.1209, allocations: 6.823 MB / 413.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000883/0.1217, allocations: 1.411 MB / 415.1 MB, free: 12.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.1243, allocations: 2.29 MB / 417.4 MB, free: 9.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.1245, allocations: 57.7 kB / 417.4 MB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.1259, allocations: 2.602 MB / 420 MB, free: 7.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007626/0.1267, allocations: 0.9492 MB / 421 MB, free: 6.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.1279, allocations: 1.002 MB / 422 MB, free: 5.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.1279, allocations: 305.1 kB / 422.3 MB, free: 4.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.1296, allocations: 0.8231 MB / 423.1 MB, free: 4.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/0.133, allocations: 3.609 MB / 426.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00573/0.1387, allocations: 5.03 MB / 431.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.967e-05/0.1388, allocations: 28 kB / 431.8 MB, free: 8.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01037/0.1492, allocations: 4.215 MB / 436 MB, free: 4.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/0.1493, allocations: 51.98 kB / 436.1 MB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005716/0.155, allocations: 1.334 MB / 437.4 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.1606, allocations: 0.6072 MB / 438 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/0.1649, allocations: 1.209 MB / 439.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.1695, allocations: 3.02 MB / 442.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/0.1742, allocations: 207.9 kB / 442.4 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/0.1753, allocations: 276 kB / 442.7 MB, free: 13.45 MB / 426.7 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 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],freeMotion.arrowColor[1],freeMotion.arrowColor[2],freeMotion.arrowColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],frame_a.color_x[1],frame_a.color_x[2],frame_a.color_x[3],frame_a1.color_x[1],frame_a1.color_x[2],frame_a1.color_x[3],freeMotion.arrow.headAtOrigin,freeMotion.arrow.twoHeadedArrow) * 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.002463/0.1778, allocations: 0.5358 MB / 443.2 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/0.1785, allocations: 207.8 kB / 443.4 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005262/0.1838, allocations: 1.942 MB / 445.4 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003644/0.1874, allocations: 1.161 MB / 446.5 MB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.1874, allocations: 0 / 446.5 MB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.1874, allocations: 11.91 kB / 446.5 MB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.2009, allocations: 5.87 MB / 452.4 MB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.2009, allocations: 8 kB / 452.4 MB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008888/0.2018, allocations: 324.4 kB / 452.7 MB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.2034, allocations: 0.5557 MB / 453.3 MB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.2036, allocations: 55.97 kB / 453.4 MB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.14/0.3436, allocations: 2.803 MB / 456.2 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005799/0.3442, allocations: 1.362 MB / 457.5 MB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/0.3487, allocations: 2.53 MB / 460 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.3491, allocations: 266.9 kB / 460.3 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.3494, allocations: 54.41 kB / 460.4 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/0.3501, allocations: 47.2 kB / 460.4 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/0.3514, allocations: 169.4 kB / 460.6 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004574/0.3519, allocations: 61.14 kB / 460.6 MB, free: 118.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001632/0.3535, allocations: 0.803 MB / 461.4 MB, free: 118 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3535, allocations: 2.375 kB / 461.4 MB, free: 118 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005058/0.3586, allocations: 1.118 MB / 462.6 MB, free: 118 MB / 426.7 MB 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.0005965/0.3592, allocations: 196 kB / 462.7 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005637/0.3648, allocations: 2.843 MB / 465.6 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001279/0.3649, allocations: 62.34 kB / 465.7 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.3664, allocations: 1.072 MB / 466.7 MB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.3683, allocations: 0.5797 MB / 467.3 MB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.3782, allocations: 7.817 MB / 475.1 MB, free: 113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.3793, allocations: 1.174 MB / 476.3 MB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001239/0.3805, allocations: 412.3 kB / 476.7 MB, free: 112 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008425/0.3814, allocations: 465.2 kB / 477.2 MB, free: 111.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/0.3814, allocations: 0 / 477.2 MB, free: 111.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04199/0.4234, allocations: 34.71 MB / 0.4999 GB, free: 79.68 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.031508507207036]