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.001382/0.001382, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001464/0.001464, allocations: 168.4 kB / 25.61 MB, free: 8.906 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.9616/0.9616, allocations: 177.1 MB / 206 MB, free: 4.449 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.1402/0.1402, allocations: 34.27 MB / 296.8 MB, free: 13.91 MB / 282.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.382e-06/1.382e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.107e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.006722/0.006743, allocations: 10.99 MB / 390.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005744/0.01249, allocations: 3.829 MB / 394.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.0142, allocations: 67.75 kB / 394.2 MB, free: 8.438 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.01576, allocations: 1.253 MB / 395.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.01834, allocations: 1.836 MB / 397.3 MB, free: 5.336 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.02022, allocations: 0.526 MB / 397.8 MB, free: 4.809 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.02355, allocations: 4.73 MB / 402.5 MB, free: 76 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.02654, allocations: 2.263 MB / 404.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.0297, allocations: 1.875 MB / 406.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.03271, allocations: 2.061 MB / 408.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005622/0.03327, allocations: 224 kB / 408.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.03495, allocations: 1.053 MB / 410 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.03631, allocations: 1.71 MB / 411.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.03766, allocations: 0.9886 MB / 412.7 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004372/0.04203, allocations: 4.078 MB / 416.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.04203, allocations: 4 kB / 416.8 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.04204, allocations: 4 kB / 416.8 MB, free: 1.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001247/0.04216, allocations: 3.938 kB / 416.8 MB, free: 1.746 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.005459/0.04762, allocations: 4.399 MB / 421.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.04768, allocations: 8.031 kB / 421.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.05262, allocations: 1.914 MB / 423.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.055, allocations: 1.605 MB / 424.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.05509, allocations: 184.8 kB / 424.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006225/0.05572, allocations: 332.3 kB / 425.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006684/0.0624, allocations: 4.791 MB / 430 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.484e-05/0.06247, allocations: 23.77 kB / 430 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.06274, allocations: 115.8 kB / 430.1 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001888/0.06463, allocations: 2.12 MB / 432.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.07057, allocations: 2.762 MB / 435 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/0.1015, allocations: 32.43 MB / 467.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.1045, allocations: 1.426 MB / 468.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.1053, allocations: 0.5398 MB / 469.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.1057, allocations: 409.3 kB / 469.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1058, allocations: 59.33 kB / 469.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=236): time 4.839e-06/0.1058, allocations: 0 / 469.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.01647/0.1223, allocations: 7.66 MB / 477.5 MB, free: 3.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009206/0.1232, allocations: 1.943 MB / 479.5 MB, free: 1.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.1259, allocations: 2.561 MB / 482 MB, free: 14.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.1261, allocations: 61.69 kB / 482.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.1274, allocations: 2.861 MB / 485 MB, free: 11.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009349/0.1283, allocations: 1.008 MB / 486 MB, free: 10.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.1294, allocations: 1.196 MB / 487.2 MB, free: 9.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003721/0.1298, allocations: 480.8 kB / 487.6 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.1309, allocations: 0.6743 MB / 488.3 MB, free: 8.215 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/0.1341, allocations: 5.041 MB / 493.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1511/0.2852, allocations: 6.352 MB / 499.7 MB, free: 100.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.288e-05/0.2852, allocations: 28.5 kB / 499.7 MB, free: 100.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.008321/0.2936, allocations: 4.9 MB / 0.4928 GB, free: 99.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2936, allocations: 50.75 kB / 0.4928 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004101/0.2977, allocations: 1.524 MB / 0.4943 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003842/0.3015, allocations: 0.6241 MB / 0.4949 GB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.3034, allocations: 1.156 MB / 0.4961 GB, free: 99.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.3061, allocations: 4.139 MB / 0.5001 GB, free: 95.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.308, allocations: 198.8 kB / 0.5003 GB, free: 95.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/0.3083, allocations: 279.8 kB / 0.5006 GB, free: 95.58 MB / 410.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.001029/0.3093, allocations: 0.5782 MB / 0.5011 GB, free: 95.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.3097, allocations: 340.6 kB / 0.5015 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.3127, allocations: 2.291 MB / 0.5037 GB, free: 93.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002286/0.3149, allocations: 1.443 MB / 0.5051 GB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3149, allocations: 7.656 kB / 0.5051 GB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.315, allocations: 11.27 kB / 0.5051 GB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008247/0.3232, allocations: 6.849 MB / 0.5118 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.3232, allocations: 12.25 kB / 0.5118 GB, free: 87.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/0.324, allocations: 311.5 kB / 0.5121 GB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.3256, allocations: 457.2 kB / 0.5126 GB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.3257, allocations: 63.97 kB / 0.5126 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.3273, allocations: 3.922 MB / 0.5165 GB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004601/0.3277, allocations: 1.887 MB / 0.5183 GB, free: 80.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.3315, allocations: 2.929 MB / 0.5212 GB, free: 77.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.3319, allocations: 272.1 kB / 0.5214 GB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.3321, allocations: 51.98 kB / 0.5215 GB, free: 77.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.3327, allocations: 40 kB / 0.5215 GB, free: 77.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.333, allocations: 172.8 kB / 0.5217 GB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/0.3331, allocations: 63.97 kB / 0.5217 GB, free: 77.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008038/0.3339, allocations: 1.032 MB / 0.5227 GB, free: 76.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3339, allocations: 0 / 0.5227 GB, free: 76.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003037/0.3369, allocations: 1.11 MB / 0.5238 GB, free: 75 MB / 410.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.0003828/0.3373, allocations: 214.4 kB / 0.524 GB, free: 74.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003766/0.341, allocations: 3.202 MB / 0.5272 GB, free: 71.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3411, allocations: 4 kB / 0.5272 GB, free: 71.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.3425, allocations: 1.29 MB / 0.5284 GB, free: 70.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3436, allocations: 334.1 kB / 0.5287 GB, free: 70 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/0.3513, allocations: 8.108 MB / 0.5367 GB, free: 61.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.3521, allocations: 1.186 MB / 0.5378 GB, free: 60.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.3532, allocations: 412.2 kB / 0.5382 GB, free: 60.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/0.3539, allocations: 0.4903 MB / 0.5387 GB, free: 59.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3539, allocations: 0 / 0.5387 GB, free: 59.62 MB / 410.7 MB Notification: Performance of Templates: time 0.03927/0.3931, allocations: 35.63 MB / 0.5735 GB, free: 24.38 MB / 410.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: 4.533045328222215]