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.0009733/0.0009733, allocations: 82.59 kB / 21.42 MB, free: 3.074 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.001031/0.001031, allocations: 171 kB / 24.82 MB, free: 9.312 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.023/1.023, allocations: 177 MB / 205.1 MB, free: 5.484 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.291/0.291, allocations: 34.87 MB / 296.6 MB, free: 452 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.824e-06/1.824e-06, allocations: 0 / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.251e-05, allocations: 2.312 kB / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.008656/0.008679, allocations: 11 MB / 390.2 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006409/0.01509, allocations: 3.843 MB / 394.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.01652, allocations: 67.75 kB / 394.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.01838, allocations: 1.233 MB / 395.4 MB, free: 1.578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.02172, allocations: 1.848 MB / 397.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.02267, allocations: 0.5221 MB / 397.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.02696, allocations: 4.735 MB / 402.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.02922, allocations: 2.259 MB / 404.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.03141, allocations: 1.867 MB / 406.6 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.03395, allocations: 2.065 MB / 408.7 MB, free: 4.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.03433, allocations: 224 kB / 408.9 MB, free: 4.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.03579, allocations: 1.057 MB / 410 MB, free: 2.953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.0369, allocations: 1.71 MB / 411.7 MB, free: 1.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009997/0.0379, allocations: 0.9847 MB / 412.6 MB, free: 256 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004116/0.04202, allocations: 4.086 MB / 416.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.04202, allocations: 0 / 416.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04202, allocations: 0 / 416.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.123e-05/0.04211, allocations: 3.938 kB / 416.7 MB, free: 12.14 MB / 394.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.004996/0.04711, allocations: 4.399 MB / 421.1 MB, free: 7.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.04715, allocations: 12.03 kB / 421.1 MB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.05212, allocations: 1.902 MB / 423 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.05497, allocations: 1.616 MB / 424.7 MB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.05509, allocations: 176.8 kB / 424.8 MB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006879/0.05578, allocations: 324.4 kB / 425.2 MB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008371/0.06415, allocations: 4.795 MB / 429.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.532e-05/0.06423, allocations: 31.7 kB / 430 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.06448, allocations: 111.8 kB / 430.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001978/0.06646, allocations: 2.12 MB / 432.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006012/0.07247, allocations: 2.766 MB / 435 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2312/0.3037, allocations: 32.39 MB / 467.4 MB, free: 66.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.3069, allocations: 1.432 MB / 468.8 MB, free: 66.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000748/0.3076, allocations: 0.5466 MB / 469.3 MB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004808/0.3081, allocations: 419 kB / 469.8 MB, free: 66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3081, allocations: 57.61 kB / 469.8 MB, free: 65.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 4.388e-06/0.3081, allocations: 3.469 kB / 469.8 MB, free: 65.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.0164/0.3245, allocations: 7.658 MB / 477.5 MB, free: 65.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007616/0.3253, allocations: 1.937 MB / 479.4 MB, free: 63.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.3279, allocations: 2.568 MB / 482 MB, free: 62.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.3281, allocations: 60.73 kB / 482 MB, free: 62.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.3293, allocations: 2.86 MB / 484.9 MB, free: 61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007631/0.3301, allocations: 1.019 MB / 485.9 MB, free: 60.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/0.3311, allocations: 1.192 MB / 487.1 MB, free: 59.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.3311, allocations: 476.8 kB / 487.6 MB, free: 59.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.3321, allocations: 0.6772 MB / 488.3 MB, free: 59.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.3347, allocations: 5.039 MB / 493.3 MB, free: 53.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.3394, allocations: 6.365 MB / 499.7 MB, free: 46.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/0.3395, allocations: 29.47 kB / 499.7 MB, free: 46.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.009361/0.3489, allocations: 4.891 MB / 0.4928 GB, free: 45.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.349, allocations: 53.25 kB / 0.4928 GB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004558/0.3535, allocations: 1.518 MB / 0.4943 GB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/0.3573, allocations: 0.63 MB / 0.4949 GB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/0.3605, allocations: 1.156 MB / 0.496 GB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.3639, allocations: 4.131 MB / 0.5001 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/0.3677, allocations: 206.4 kB / 0.5003 GB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007345/0.3684, allocations: 273.6 kB / 0.5005 GB, free: 40.85 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.00179/0.3702, allocations: 0.5858 MB / 0.5011 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000562/0.3707, allocations: 342 kB / 0.5014 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.3739, allocations: 2.281 MB / 0.5036 GB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002586/0.3765, allocations: 1.45 MB / 0.5051 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.3765, allocations: 3.344 kB / 0.5051 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.3765, allocations: 9.844 kB / 0.5051 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.3871, allocations: 6.863 MB / 0.5118 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.3871, allocations: 10.47 kB / 0.5118 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.3879, allocations: 309.6 kB / 0.5121 GB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.3896, allocations: 453.1 kB / 0.5125 GB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.3898, allocations: 63.41 kB / 0.5126 GB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.392, allocations: 3.935 MB / 0.5164 GB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005878/0.3926, allocations: 1.875 MB / 0.5182 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005179/0.3977, allocations: 2.929 MB / 0.5211 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.3988, allocations: 266.7 kB / 0.5214 GB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.3991, allocations: 55.75 kB / 0.5214 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/0.3998, allocations: 44.88 kB / 0.5215 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/0.4002, allocations: 174.4 kB / 0.5216 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.4003, allocations: 66.42 kB / 0.5217 GB, free: 27.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001427/0.4018, allocations: 1.028 MB / 0.5227 GB, free: 26.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4018, allocations: 0 / 0.5227 GB, free: 26.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004115/0.4059, allocations: 1.115 MB / 0.5238 GB, free: 25.31 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.0004947/0.4064, allocations: 217.6 kB / 0.524 GB, free: 25.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004749/0.4111, allocations: 3.188 MB / 0.5271 GB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.4111, allocations: 5.938 kB / 0.5271 GB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.4126, allocations: 1.286 MB / 0.5284 GB, free: 21.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.4141, allocations: 344 kB / 0.5287 GB, free: 20.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009691/0.4238, allocations: 8.1 MB / 0.5366 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.4248, allocations: 1.183 MB / 0.5378 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001331/0.4261, allocations: 415.5 kB / 0.5382 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007931/0.4269, allocations: 498.9 kB / 0.5386 GB, free: 11.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/0.4269, allocations: 0 / 0.5386 GB, free: 11.52 MB / 410.7 MB Notification: Performance of Templates: time 0.04898/0.4759, allocations: 34.83 MB / 0.5726 GB, free: 9.852 MB / 442.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.472644621971995]