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.001042/0.001042, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001217/0.001217, allocations: 168.9 kB / 24.82 MB, free: 9.297 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 1.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3055/0.3055, allocations: 34.27 MB / 296.1 MB, free: 0.7148 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 3.016e-06/3.016e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.161e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.009732/0.009764, allocations: 11 MB / 389.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009059/0.01882, allocations: 3.843 MB / 393.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.02134, allocations: 67.75 kB / 393.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.02411, allocations: 1.245 MB / 394.7 MB, free: 2.148 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.02885, allocations: 1.844 MB / 396.5 MB, free: 304 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.03025, allocations: 0.526 MB / 397 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00536/0.03561, allocations: 4.733 MB / 401.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.03871, allocations: 2.255 MB / 404 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.04214, allocations: 1.874 MB / 405.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.04503, allocations: 2.057 MB / 407.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007344/0.04576, allocations: 224 kB / 408.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.04795, allocations: 1.053 MB / 409.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.04951, allocations: 1.71 MB / 410.9 MB, free: 1.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.05132, allocations: 0.9847 MB / 411.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.05709, allocations: 4.089 MB / 416 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.0571, allocations: 0 / 416 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.0571, allocations: 0 / 416 MB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003351/0.05743, allocations: 0 / 416 MB, free: 12.73 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.009516/0.06695, allocations: 4.407 MB / 420.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.06702, allocations: 8.031 kB / 420.4 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004979/0.07199, allocations: 1.902 MB / 422.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.07455, allocations: 1.616 MB / 423.9 MB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.07466, allocations: 180.8 kB / 424.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.07517, allocations: 320.4 kB / 424.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007447/0.08262, allocations: 4.803 MB / 429.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.49e-05/0.08269, allocations: 23.77 kB / 429.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.08294, allocations: 111.8 kB / 429.4 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/0.0849, allocations: 2.124 MB / 431.5 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00662/0.09152, allocations: 2.771 MB / 434.3 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2449/0.3364, allocations: 32.39 MB / 466.6 MB, free: 66.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.3394, allocations: 1.43 MB / 468.1 MB, free: 66.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006091/0.34, allocations: 0.5391 MB / 468.6 MB, free: 66.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.3405, allocations: 423.6 kB / 469 MB, free: 66.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3405, allocations: 59.8 kB / 469.1 MB, free: 66.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 4.619e-06/0.3405, allocations: 0 / 469.1 MB, free: 66.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.01504/0.3555, allocations: 7.666 MB / 476.8 MB, free: 65.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006982/0.3562, allocations: 1.939 MB / 478.7 MB, free: 63.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.3585, allocations: 2.563 MB / 481.3 MB, free: 62.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.3586, allocations: 55.39 kB / 481.3 MB, free: 62.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.3597, allocations: 2.868 MB / 484.2 MB, free: 61.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000588/0.3602, allocations: 1.007 MB / 485.2 MB, free: 60.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009559/0.3612, allocations: 1.198 MB / 486.4 MB, free: 60.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.3612, allocations: 480.2 kB / 486.9 MB, free: 59.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009878/0.3622, allocations: 0.672 MB / 487.5 MB, free: 59.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.3645, allocations: 5.042 MB / 492.6 MB, free: 53.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.3688, allocations: 6.352 MB / 498.9 MB, free: 47.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.379e-05/0.3688, allocations: 32.16 kB / 498.9 MB, free: 47.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.009353/0.3782, allocations: 4.895 MB / 0.492 GB, free: 45.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.3782, allocations: 48.59 kB / 0.4921 GB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00477/0.383, allocations: 1.526 MB / 0.4936 GB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003737/0.3867, allocations: 0.625 MB / 0.4942 GB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/0.3896, allocations: 1.161 MB / 0.4953 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.3926, allocations: 4.139 MB / 0.4994 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/0.3956, allocations: 203.7 kB / 0.4996 GB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004701/0.3961, allocations: 274.4 kB / 0.4998 GB, free: 41.31 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.00147/0.3976, allocations: 0.5737 MB / 0.5004 GB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/0.398, allocations: 337.8 kB / 0.5007 GB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.4013, allocations: 2.291 MB / 0.5029 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002512/0.4038, allocations: 1.449 MB / 0.5043 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4038, allocations: 3.062 kB / 0.5043 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4038, allocations: 10.55 kB / 0.5044 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.4145, allocations: 6.855 MB / 0.5111 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.4146, allocations: 6.719 kB / 0.5111 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/0.4154, allocations: 308.5 kB / 0.5114 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.4173, allocations: 454.8 kB / 0.5118 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.4176, allocations: 71.02 kB / 0.5119 GB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.4197, allocations: 3.925 MB / 0.5157 GB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006259/0.4203, allocations: 1.884 MB / 0.5175 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.4254, allocations: 2.942 MB / 0.5204 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.4265, allocations: 266.5 kB / 0.5207 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/0.4269, allocations: 56.17 kB / 0.5207 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.4277, allocations: 45.16 kB / 0.5208 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.4281, allocations: 170.8 kB / 0.5209 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.4282, allocations: 62.42 kB / 0.521 GB, free: 28.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001676/0.4299, allocations: 1.028 MB / 0.522 GB, free: 27.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4299, allocations: 0 / 0.522 GB, free: 27.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004671/0.4346, allocations: 1.115 MB / 0.5231 GB, free: 26.1 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.0005944/0.4352, allocations: 206.1 kB / 0.5233 GB, free: 25.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005412/0.4406, allocations: 3.197 MB / 0.5264 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.4406, allocations: 1 kB / 0.5264 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.4423, allocations: 1.295 MB / 0.5277 GB, free: 21.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.4441, allocations: 339.2 kB / 0.528 GB, free: 21.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.4549, allocations: 8.106 MB / 0.5359 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.4561, allocations: 1.187 MB / 0.5371 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001404/0.4575, allocations: 413.5 kB / 0.5374 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007805/0.4583, allocations: 498 kB / 0.5379 GB, free: 12.32 MB / 410.7 MB Notification: Performance of SimCode: time 3.136e-06/0.4583, allocations: 0 / 0.5379 GB, free: 12.32 MB / 410.7 MB Notification: Performance of Templates: time 0.05718/0.5155, allocations: 34.83 MB / 0.5719 GB, free: 10.88 MB / 442.7 MB " [Timeout remaining time 659] 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.46382268005982]