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.0009075/0.0009075, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.000991/0.000991, allocations: 174.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.9827/0.9827, allocations: 177.1 MB / 205.3 MB, free: 5.074 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.2887/0.2887, allocations: 34.26 MB / 296.1 MB, free: 0.6133 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.984e-06/1.984e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.333e-05, allocations: 2.969 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.008431/0.008454, allocations: 11.04 MB / 336.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006068/0.01452, allocations: 3.983 MB / 340.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/0.01515, allocations: 71.69 kB / 340.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.01656, allocations: 1.237 MB / 341.6 MB, free: 7.227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.01871, allocations: 1.82 MB / 343.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.01942, allocations: 0.5298 MB / 344 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003087/0.02251, allocations: 4.725 MB / 348.7 MB, free: 140 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.02413, allocations: 2.093 MB / 350.8 MB, free: 14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.02569, allocations: 1.824 MB / 352.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.02751, allocations: 1.956 MB / 354.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.02778, allocations: 224 kB / 354.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.02905, allocations: 1.084 MB / 355.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.03006, allocations: 1.714 MB / 357.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008253/0.03089, allocations: 0.9808 MB / 358.6 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.03423, allocations: 4.089 MB / 362.7 MB, free: 2.102 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.03424, allocations: 0 / 362.7 MB, free: 2.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03424, allocations: 0 / 362.7 MB, free: 2.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.0343, allocations: 0 / 362.7 MB, free: 2.102 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.003824/0.03812, allocations: 3.782 MB / 366.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.03816, allocations: 12.03 kB / 366.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.04197, allocations: 1.46 MB / 367.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.04364, allocations: 1.484 MB / 369.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.04374, allocations: 180.8 kB / 369.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/0.04423, allocations: 324.4 kB / 369.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/0.04866, allocations: 4.442 MB / 374.3 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/0.04872, allocations: 27.77 kB / 374.4 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.04894, allocations: 115.8 kB / 374.5 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001883/0.05083, allocations: 2.12 MB / 376.6 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004057/0.05488, allocations: 2.742 MB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02013/0.07501, allocations: 24.49 MB / 403.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.07769, allocations: 1.479 MB / 405.3 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/0.07827, allocations: 449.4 kB / 405.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.07875, allocations: 413.2 kB / 406.2 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.07878, allocations: 56.56 kB / 406.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=236): time 3.837e-06/0.07879, allocations: 0 / 406.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.01421/0.09299, allocations: 6.816 MB / 413 MB, free: 14.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007258/0.09372, allocations: 1.422 MB / 414.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.09559, allocations: 2.282 MB / 416.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.0957, allocations: 61.69 kB / 416.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.09671, allocations: 2.599 MB / 419.4 MB, free: 7.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/0.09725, allocations: 0.9531 MB / 420.3 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008966/0.09815, allocations: 1.006 MB / 421.3 MB, free: 5.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.09822, allocations: 301.1 kB / 421.6 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.09951, allocations: 0.8231 MB / 422.5 MB, free: 4.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.102, allocations: 3.605 MB / 426.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/0.1062, allocations: 5.026 MB / 431.1 MB, free: 9.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-05/0.1062, allocations: 32 kB / 431.1 MB, free: 9.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.007503/0.1137, allocations: 4.222 MB / 435.3 MB, free: 4.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.1138, allocations: 52 kB / 435.4 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00405/0.1178, allocations: 1.331 MB / 436.7 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/0.1215, allocations: 0.6072 MB / 437.3 MB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.1238, allocations: 1.201 MB / 438.5 MB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.1266, allocations: 3.028 MB / 441.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.1286, allocations: 204 kB / 441.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/0.1289, allocations: 268.2 kB / 442 MB, free: 13.96 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.001215/0.1301, allocations: 0.5473 MB / 442.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.1304, allocations: 203.8 kB / 442.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/0.1333, allocations: 1.93 MB / 444.7 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002186/0.1355, allocations: 1.165 MB / 445.9 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1355, allocations: 4 kB / 445.9 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.1355, allocations: 7.969 kB / 445.9 MB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008855/0.1444, allocations: 5.878 MB / 451.8 MB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.1444, allocations: 12 kB / 451.8 MB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.1452, allocations: 327.7 kB / 452.1 MB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.1468, allocations: 0.5556 MB / 452.6 MB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.1469, allocations: 63.95 kB / 452.7 MB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1612/0.3081, allocations: 2.796 MB / 455.5 MB, free: 120 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006556/0.3088, allocations: 1.349 MB / 456.9 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004678/0.3135, allocations: 2.539 MB / 459.4 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.3139, allocations: 264.1 kB / 459.7 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.3141, allocations: 51.44 kB / 459.7 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.3147, allocations: 41.53 kB / 459.7 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.315, allocations: 173.5 kB / 459.9 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.3151, allocations: 67.95 kB / 460 MB, free: 117.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008164/0.3159, allocations: 0.804 MB / 460.8 MB, free: 117.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3159, allocations: 0 / 460.8 MB, free: 117.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002637/0.3186, allocations: 1.114 MB / 461.9 MB, free: 117.8 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.0003542/0.3189, allocations: 195.4 kB / 462.1 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.3222, allocations: 2.849 MB / 464.9 MB, free: 117.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.472e-05/0.3223, allocations: 64.47 kB / 465 MB, free: 117.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.3235, allocations: 1.059 MB / 466.1 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.3251, allocations: 0.5951 MB / 466.7 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.3336, allocations: 7.809 MB / 474.5 MB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.3344, allocations: 1.166 MB / 475.6 MB, free: 112 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008805/0.3353, allocations: 417.9 kB / 476 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/0.336, allocations: 472.2 kB / 476.5 MB, free: 111.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.336, allocations: 0 / 476.5 MB, free: 111.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03775/0.3738, allocations: 34.71 MB / 0.4992 GB, free: 79.39 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 -s gbode -gbm=radauIIA3 -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.9989129030145705]