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.001398/0.001398, allocations: 77 kB / 20.65 MB, free: 3.848 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.001302/0.001302, allocations: 177 kB / 24.06 MB, free: 456 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.9306/0.9306, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1528/0.1528, allocations: 32.36 MB / 270.7 MB, free: 14.56 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 1.963e-06/1.963e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.823e-05, allocations: 2.312 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.007359/0.007378, allocations: 11.46 MB / 359.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0055/0.01288, allocations: 3.902 MB / 363.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.01346, allocations: 75.75 kB / 363.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.01488, allocations: 1.257 MB / 364.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.01699, allocations: 1.956 MB / 366.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.01762, allocations: 0.526 MB / 367.3 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00284/0.02046, allocations: 4.735 MB / 372 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.02199, allocations: 2.349 MB / 374.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.02351, allocations: 1.976 MB / 376.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.0256, allocations: 2.167 MB / 378.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.02589, allocations: 244 kB / 378.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.02716, allocations: 1.08 MB / 379.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.02814, allocations: 1.827 MB / 381.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007109/0.02885, allocations: 1.055 MB / 382.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.03188, allocations: 4.358 MB / 387.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.03188, allocations: 4 kB / 387.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.03188, allocations: 0 / 387.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.417e-05/0.03191, allocations: 0 / 387.1 MB, free: 2.059 MB / 314.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.004236/0.03615, allocations: 4.623 MB / 391.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.03619, allocations: 8.031 kB / 391.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004473/0.04066, allocations: 1.925 MB / 393.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.0423, allocations: 1.694 MB / 395.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.0424, allocations: 193 kB / 395.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/0.04288, allocations: 336.3 kB / 395.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004779/0.04766, allocations: 4.994 MB / 400.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.04771, allocations: 31.7 kB / 400.9 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.04795, allocations: 123.8 kB / 401 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001943/0.04989, allocations: 2.237 MB / 403.2 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.05404, allocations: 2.88 MB / 406.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/0.07792, allocations: 33.52 MB / 439.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.08174, allocations: 1.516 MB / 441.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008796/0.08262, allocations: 0.5482 MB / 441.7 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.08322, allocations: 421.2 kB / 442.1 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.08325, allocations: 51.39 kB / 442.2 MB, free: 9.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 4.809e-06/0.08326, allocations: 0 / 442.2 MB, free: 9.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=261): time 0.02037/0.1036, allocations: 7.814 MB / 450 MB, free: 1.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1357/0.2393, allocations: 1.929 MB / 451.9 MB, free: 86.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.2418, allocations: 2.649 MB / 454.6 MB, free: 86.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005015/0.2423, allocations: 61.45 kB / 454.6 MB, free: 86.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000966/0.2432, allocations: 2.995 MB / 457.6 MB, free: 84.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006576/0.2439, allocations: 1.054 MB / 458.7 MB, free: 84.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.2451, allocations: 1.237 MB / 459.9 MB, free: 83.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.2452, allocations: 479.3 kB / 460.4 MB, free: 83.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.2464, allocations: 0.6971 MB / 461.1 MB, free: 83.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/0.2491, allocations: 5.242 MB / 466.3 MB, free: 77.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/0.2533, allocations: 6.606 MB / 472.9 MB, free: 72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.129e-05/0.2534, allocations: 31.25 kB / 472.9 MB, free: 72 MB / 378.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.007819/0.2612, allocations: 5.061 MB / 478 MB, free: 71.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.2612, allocations: 53.22 kB / 478.1 MB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004211/0.2654, allocations: 1.574 MB / 479.6 MB, free: 71.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/0.2691, allocations: 0.6276 MB / 480.3 MB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.2709, allocations: 1.207 MB / 481.5 MB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.2735, allocations: 4.131 MB / 485.6 MB, free: 67.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.2758, allocations: 216.4 kB / 485.8 MB, free: 67.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.2761, allocations: 281.1 kB / 486.1 MB, free: 67.1 MB / 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.001078/0.2772, allocations: 0.6013 MB / 486.7 MB, free: 66.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.2775, allocations: 345.9 kB / 487 MB, free: 66.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.2807, allocations: 2.371 MB / 489.4 MB, free: 64.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002339/0.283, allocations: 1.487 MB / 490.9 MB, free: 63.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.283, allocations: 4 kB / 490.9 MB, free: 63.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.283, allocations: 9.938 kB / 490.9 MB, free: 63.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.2936, allocations: 7.109 MB / 498 MB, free: 56.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.2936, allocations: 12.17 kB / 498 MB, free: 56.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.295, allocations: 327.5 kB / 498.3 MB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.2966, allocations: 448.5 kB / 498.8 MB, free: 55.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.2968, allocations: 70.22 kB / 498.8 MB, free: 55.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.2988, allocations: 3.933 MB / 0.491 GB, free: 51.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005593/0.2994, allocations: 1.882 MB / 0.4928 GB, free: 49.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.3031, allocations: 3.014 MB / 0.4958 GB, free: 46.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/0.3037, allocations: 274.1 kB / 0.496 GB, free: 46.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.3039, allocations: 55.11 kB / 0.4961 GB, free: 46.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.3046, allocations: 55.92 kB / 0.4961 GB, free: 46.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.3048, allocations: 173.5 kB / 0.4963 GB, free: 46.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.3049, allocations: 67.97 kB / 0.4964 GB, free: 45.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.306, allocations: 1.066 MB / 0.4974 GB, free: 44.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.306, allocations: 1.312 kB / 0.4974 GB, free: 44.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003531/0.3096, allocations: 1.178 MB / 0.4986 GB, free: 43.82 MB / 378.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.0004451/0.31, allocations: 213.3 kB / 0.4988 GB, free: 43.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005016/0.315, allocations: 3.296 MB / 0.502 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.315, allocations: 4 kB / 0.502 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.3167, allocations: 1.329 MB / 0.5033 GB, free: 38.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.3183, allocations: 335.5 kB / 0.5036 GB, free: 38.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.3285, allocations: 8.469 MB / 0.5119 GB, free: 30.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.3298, allocations: 1.238 MB / 0.5131 GB, free: 28.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001431/0.3313, allocations: 438.1 kB / 0.5135 GB, free: 28.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/0.3321, allocations: 0.5059 MB / 0.514 GB, free: 27.81 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3321, allocations: 0 / 0.514 GB, free: 27.81 MB / 378.7 MB Notification: Performance of Templates: time 0.04783/0.3799, allocations: 35.84 MB / 0.549 GB, free: 8.117 MB / 394.7 MB " [Timeout remaining time 660] 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 -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.21918703103438]