Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 170.4 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.953/0.953, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.241/0.241, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.285e-05, allocations: 3.156 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.009331/0.009344, allocations: 11 MB / 336.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006447/0.01579, allocations: 3.983 MB / 340.2 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.01655, allocations: 67.75 kB / 340.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.01824, allocations: 1.257 MB / 341.6 MB, free: 7.336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.02085, allocations: 1.844 MB / 343.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.02167, allocations: 0.5299 MB / 343.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004116/0.02579, allocations: 4.733 MB / 348.7 MB, free: 220 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.0282, allocations: 2.308 MB / 351 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.03022, allocations: 1.875 MB / 352.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.03242, allocations: 1.956 MB / 354.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.03281, allocations: 224 kB / 355 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.03422, allocations: 1.049 MB / 356.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.03544, allocations: 1.71 MB / 357.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009865/0.03643, allocations: 0.9886 MB / 358.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.04024, allocations: 4.082 MB / 362.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.04024, allocations: 0 / 362.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.04025, allocations: 4 kB / 362.8 MB, free: 1.949 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.04035, allocations: 0 / 362.8 MB, free: 1.949 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.004548/0.0449, allocations: 3.788 MB / 366.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.04493, allocations: 8.031 kB / 366.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.04997, allocations: 1.464 MB / 368.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.05193, allocations: 1.487 MB / 369.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.05205, allocations: 176.8 kB / 369.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006156/0.05266, allocations: 327.8 kB / 370.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.05701, allocations: 4.441 MB / 374.5 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.05706, allocations: 31.78 kB / 374.6 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.05728, allocations: 115.8 kB / 374.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.0591, allocations: 2.112 MB / 376.8 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/0.06303, allocations: 2.75 MB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/0.08046, allocations: 24.5 MB / 404 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.08301, allocations: 1.461 MB / 405.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.08354, allocations: 450.7 kB / 405.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.08397, allocations: 409.2 kB / 406.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.084, allocations: 56.59 kB / 406.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=236): time 3.236e-06/0.084, allocations: 0 / 406.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.01329/0.09729, allocations: 6.839 MB / 413.2 MB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006964/0.09798, allocations: 1.415 MB / 414.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.09953, allocations: 2.286 MB / 416.9 MB, free: 10.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.09964, allocations: 61.69 kB / 417 MB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009473/0.1006, allocations: 2.591 MB / 419.6 MB, free: 7.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.1011, allocations: 0.953 MB / 420.5 MB, free: 6.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008304/0.1019, allocations: 1.006 MB / 421.5 MB, free: 5.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.102, allocations: 305.1 kB / 421.8 MB, free: 5.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.1032, allocations: 0.8231 MB / 422.7 MB, free: 4.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.1055, allocations: 3.605 MB / 426.3 MB, free: 15.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/0.1093, allocations: 5.026 MB / 431.3 MB, free: 8.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.97e-05/0.1093, allocations: 31.94 kB / 431.3 MB, free: 8.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.006609/0.1159, allocations: 4.214 MB / 435.5 MB, free: 4.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.116, allocations: 55.92 kB / 435.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003892/0.1199, allocations: 1.331 MB / 436.9 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/0.1233, allocations: 0.615 MB / 437.5 MB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.1253, allocations: 1.154 MB / 438.7 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.1282, allocations: 3.016 MB / 441.7 MB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.1299, allocations: 211.9 kB / 441.9 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.1301, allocations: 272 kB / 442.2 MB, free: 13.84 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.001058/0.1312, allocations: 0.5359 MB / 442.7 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.1315, allocations: 203.8 kB / 442.9 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.1343, allocations: 1.934 MB / 444.8 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002129/0.1364, allocations: 1.161 MB / 446 MB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1364, allocations: 3.984 kB / 446 MB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.1364, allocations: 7.969 kB / 446 MB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008176/0.1446, allocations: 5.875 MB / 451.9 MB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.1446, allocations: 8 kB / 451.9 MB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.1453, allocations: 311.5 kB / 452.2 MB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.1469, allocations: 0.5479 MB / 452.8 MB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.147, allocations: 55.97 kB / 452.8 MB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1569/0.3039, allocations: 2.807 MB / 455.6 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005553/0.3044, allocations: 1.358 MB / 457 MB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/0.3085, allocations: 2.528 MB / 459.5 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.3089, allocations: 266.7 kB / 459.8 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.3091, allocations: 53.75 kB / 459.8 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.3098, allocations: 41 kB / 459.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.31, allocations: 180 kB / 460 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/0.31, allocations: 61.27 kB / 460.1 MB, free: 118.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008075/0.3109, allocations: 0.8069 MB / 460.9 MB, free: 118 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3109, allocations: 0 / 460.9 MB, free: 118 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002637/0.3135, allocations: 1.114 MB / 462 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.0003356/0.3138, allocations: 195.3 kB / 462.2 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.3169, allocations: 2.851 MB / 465.1 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.811e-05/0.317, allocations: 61.06 kB / 465.1 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3182, allocations: 1.06 MB / 466.2 MB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.3196, allocations: 0.5841 MB / 466.8 MB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.3267, allocations: 7.823 MB / 474.6 MB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/0.3275, allocations: 1.169 MB / 475.7 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008864/0.3284, allocations: 416.3 kB / 476.2 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/0.3291, allocations: 461.2 kB / 476.6 MB, free: 111.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3291, allocations: 0 / 476.6 MB, free: 111.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03775/0.3668, allocations: 34.71 MB / 0.4993 GB, free: 79.49 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.9002652000635862]