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.001043/0.001043, 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.00115/0.00115, allocations: 160.2 kB / 24.91 MB, free: 8.766 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 0.9891/0.9891, allocations: 177 MB / 205.2 MB, free: 5.066 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.2973/0.2973, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 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.112e-06/1.112e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.625e-05, allocations: 10.66 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.00825/0.008266, allocations: 10.99 MB / 336.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006368/0.01463, allocations: 3.979 MB / 340.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007831/0.01542, allocations: 67.75 kB / 341 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.01683, allocations: 1.257 MB / 342.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.01915, allocations: 1.848 MB / 344.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.01989, allocations: 0.526 MB / 344.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.02317, allocations: 4.734 MB / 349.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.02463, allocations: 2.315 MB / 351.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.026, allocations: 1.871 MB / 353.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.02765, allocations: 1.96 MB / 355.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.02786, allocations: 227.9 kB / 355.7 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.02897, allocations: 1.037 MB / 356.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008875/0.02985, allocations: 1.714 MB / 358.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000669/0.03052, allocations: 0.9808 MB / 359.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.0335, allocations: 4.089 MB / 363.5 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03351, allocations: 0 / 363.5 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.03351, allocations: 4 kB / 363.5 MB, free: 1.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.21e-05/0.03355, allocations: 0 / 363.5 MB, free: 1.422 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.003624/0.03717, allocations: 3.783 MB / 367.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.03722, allocations: 12.03 kB / 367.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.0412, allocations: 1.456 MB / 368.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.04272, allocations: 1.491 MB / 370.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.04281, allocations: 184.8 kB / 370.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004889/0.0433, allocations: 324.4 kB / 370.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.04734, allocations: 4.434 MB / 375.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.04739, allocations: 39.66 kB / 375.2 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.04762, allocations: 115.8 kB / 375.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001899/0.04952, allocations: 2.112 MB / 377.4 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.05325, allocations: 2.739 MB / 380.2 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.07314, allocations: 24.51 MB / 404.7 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/0.07598, allocations: 1.464 MB / 406.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.07652, allocations: 446.7 kB / 406.6 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.07698, allocations: 409.3 kB / 407 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.07701, allocations: 52.56 kB / 407 MB, free: 4.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=236): time 5.05e-06/0.07702, allocations: 4 kB / 407 MB, free: 4.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.01423/0.09125, allocations: 6.839 MB / 413.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000692/0.09194, allocations: 1.414 MB / 415.3 MB, free: 12.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.09361, allocations: 2.286 MB / 417.6 MB, free: 9.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.09372, allocations: 57.7 kB / 417.6 MB, free: 9.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.0948, allocations: 2.599 MB / 420.2 MB, free: 7.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004932/0.0953, allocations: 0.9531 MB / 421.2 MB, free: 6.113 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008544/0.09615, allocations: 1.01 MB / 422.2 MB, free: 5.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.09621, allocations: 301.1 kB / 422.5 MB, free: 4.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.09739, allocations: 0.8231 MB / 423.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.09981, allocations: 3.612 MB / 426.9 MB, free: 14.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/0.1035, allocations: 5.026 MB / 432 MB, free: 8.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-05/0.1035, allocations: 28 kB / 432 MB, free: 8.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.006793/0.1103, allocations: 4.215 MB / 436.2 MB, free: 4.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.1103, allocations: 53.84 kB / 436.3 MB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003989/0.1143, allocations: 1.33 MB / 437.6 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00368/0.118, allocations: 0.6111 MB / 438.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.1202, allocations: 1.162 MB / 439.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.123, allocations: 3.024 MB / 442.4 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.1249, allocations: 204 kB / 442.6 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.1252, allocations: 272 kB / 442.8 MB, free: 13.31 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.001115/0.1263, allocations: 0.5278 MB / 443.4 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.1266, allocations: 207.9 kB / 443.6 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.1296, allocations: 1.938 MB / 445.5 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002093/0.1317, allocations: 1.169 MB / 446.7 MB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1317, allocations: 4 kB / 446.7 MB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.1317, allocations: 7.969 kB / 446.7 MB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008088/0.1398, allocations: 5.867 MB / 452.6 MB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.1398, allocations: 12 kB / 452.6 MB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.1405, allocations: 303.5 kB / 452.9 MB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.1421, allocations: 0.5599 MB / 453.4 MB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.1422, allocations: 55.97 kB / 453.5 MB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.154/0.2962, allocations: 2.797 MB / 456.3 MB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004814/0.2967, allocations: 1.357 MB / 457.6 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.3007, allocations: 2.526 MB / 460.2 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.301, allocations: 260.9 kB / 460.4 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3013, allocations: 56.64 kB / 460.5 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.3019, allocations: 45.02 kB / 460.5 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.3021, allocations: 174.9 kB / 460.7 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.27e-05/0.3022, allocations: 65.3 kB / 460.8 MB, free: 117.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007381/0.3029, allocations: 0.8037 MB / 461.6 MB, free: 117.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3029, allocations: 2.25 kB / 461.6 MB, free: 117.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002418/0.3053, allocations: 1.111 MB / 462.7 MB, free: 117.1 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.0003403/0.3057, allocations: 196.5 kB / 462.9 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.3088, allocations: 2.857 MB / 465.7 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.461e-05/0.3088, allocations: 60.59 kB / 465.8 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.31, allocations: 1.066 MB / 466.8 MB, free: 116.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.3114, allocations: 0.5809 MB / 467.4 MB, free: 116.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.3182, allocations: 7.818 MB / 475.2 MB, free: 112 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.319, allocations: 1.165 MB / 476.4 MB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008801/0.3199, allocations: 420.1 kB / 476.8 MB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007056/0.3206, allocations: 461.4 kB / 477.3 MB, free: 110.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3206, allocations: 4 kB / 477.3 MB, free: 110.7 MB / 426.7 MB Notification: Performance of Templates: time 0.03723/0.3578, allocations: 34.71 MB / 0.5 GB, free: 78.7 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 -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.11995767429471]