Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00105/0.00105, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001818/0.001818, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9296/0.9296, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1324/0.1324, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.727e-05, allocations: 2.312 kB / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.146/0.146, allocations: 11.49 MB / 310.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007707/0.1537, allocations: 4.062 MB / 314.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.1552, allocations: 70.44 kB / 314.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.1574, allocations: 1.26 MB / 316 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.1615, allocations: 1.931 MB / 317.9 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.1626, allocations: 0.5265 MB / 318.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.1674, allocations: 4.743 MB / 323.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002774/0.1702, allocations: 2.179 MB / 325.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.1724, allocations: 1.921 MB / 327.3 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.1746, allocations: 2.057 MB / 329.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005017/0.1751, allocations: 240 kB / 329.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.1769, allocations: 1.115 MB / 330.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.1783, allocations: 1.827 MB / 332.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.1798, allocations: 1.067 MB / 333.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.1842, allocations: 4.346 MB / 337.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1842, allocations: 0 / 337.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1842, allocations: 4 kB / 337.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001235/0.1844, allocations: 0 / 337.9 MB, free: 7.254 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.005342/0.1897, allocations: 3.989 MB / 341.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1897, allocations: 12.03 kB / 341.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.1951, allocations: 1.464 MB / 343.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.1974, allocations: 1.561 MB / 345 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1976, allocations: 189.1 kB / 345.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006243/0.1982, allocations: 333.6 kB / 345.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006505/0.2047, allocations: 4.639 MB / 350.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.938e-05/0.2048, allocations: 23.77 kB / 350.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.2051, allocations: 123.8 kB / 350.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002602/0.2077, allocations: 2.237 MB / 352.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006515/0.2142, allocations: 2.855 MB / 355.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.2407, allocations: 25.36 MB / 380.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.2436, allocations: 1.523 MB / 382.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/0.2443, allocations: 470.8 kB / 382.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/0.2447, allocations: 417.2 kB / 383.1 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.2448, allocations: 56.59 kB / 383.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=245): time 4.699e-06/0.2448, allocations: 0 / 383.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=261): time 0.01563/0.2604, allocations: 6.962 MB / 390.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001097/0.2615, allocations: 1.415 MB / 391.5 MB, free: 52 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.2637, allocations: 2.372 MB / 393.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.2639, allocations: 57.7 kB / 394 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.2652, allocations: 2.727 MB / 396.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007529/0.2659, allocations: 0.984 MB / 397.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.2671, allocations: 1.05 MB / 398.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.2671, allocations: 313.2 kB / 399 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.2685, allocations: 0.8512 MB / 399.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.2711, allocations: 3.748 MB / 403.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.2759, allocations: 5.215 MB / 408.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.088e-05/0.276, allocations: 32 kB / 408.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.008291/0.2843, allocations: 4.355 MB / 413.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.2843, allocations: 52 kB / 413.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004117/0.2885, allocations: 1.37 MB / 414.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.2922, allocations: 0.6152 MB / 415.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/0.2953, allocations: 1.259 MB / 416.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.299, allocations: 3.017 MB / 419.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.3025, allocations: 212 kB / 419.8 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/0.3035, allocations: 280 kB / 420 MB, free: 236 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 688 * 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.002076/0.3056, allocations: 0.5513 MB / 420.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/0.3061, allocations: 211.8 kB / 420.8 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.3095, allocations: 1.993 MB / 422.8 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002738/0.3123, allocations: 1.193 MB / 424 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3123, allocations: 4 kB / 424 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.3123, allocations: 12.05 kB / 424 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.3229, allocations: 6.075 MB / 430.1 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.3229, allocations: 8 kB / 430.1 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/0.3239, allocations: 347.6 kB / 430.4 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/0.3261, allocations: 0.5559 MB / 431 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.3263, allocations: 67.95 kB / 431 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.3286, allocations: 2.807 MB / 433.8 MB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007286/0.3293, allocations: 1.363 MB / 435.2 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00566/0.335, allocations: 2.592 MB / 437.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008853/0.3358, allocations: 282 kB / 438.1 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/0.3362, allocations: 55.98 kB / 438.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/0.3372, allocations: 47.98 kB / 438.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/0.3376, allocations: 173.5 kB / 438.3 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.3377, allocations: 63.97 kB / 438.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.339, allocations: 0.8464 MB / 439.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.339, allocations: 0 / 439.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004689/0.3437, allocations: 1.172 MB / 440.4 MB, free: 10.86 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 (202): * Single equations (assignments): 192 * 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.0006413/0.3444, allocations: 207.8 kB / 440.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01156/0.3559, allocations: 2.936 MB / 443.6 MB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001709/0.3561, allocations: 63.94 kB / 443.6 MB, free: 7.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01127/0.3674, allocations: 1.097 MB / 444.7 MB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01179/0.3792, allocations: 0.5955 MB / 445.3 MB, free: 5.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/0.4179, allocations: 8.155 MB / 453.5 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.4193, allocations: 1.23 MB / 454.7 MB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004221/0.4235, allocations: 435.1 kB / 455.1 MB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.4247, allocations: 485.2 kB / 455.6 MB, free: 11.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4247, allocations: 4 kB / 455.6 MB, free: 11.34 MB / 426.7 MB Notification: Performance of Templates: time 0.1728/0.5974, allocations: 35.73 MB / 491.3 MB, free: 128.6 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.370169930160046]