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.001421/0.001421, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001437/0.001437, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.082/1.082, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2901/0.2901, allocations: 34.26 MB / 296 MB, free: 0.7656 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 1.133e-06/1.133e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.441e-05, allocations: 2.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.009753/0.009767, allocations: 11.25 MB / 389.3 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008369/0.01814, allocations: 3.855 MB / 393.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.01987, allocations: 71.75 kB / 393.2 MB, free: 3.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.02225, allocations: 1.253 MB / 394.5 MB, free: 2.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.02605, allocations: 1.848 MB / 396.3 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.02755, allocations: 0.5143 MB / 396.8 MB, free: 88 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003361/0.03091, allocations: 4.735 MB / 401.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.03261, allocations: 2.259 MB / 403.8 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.03403, allocations: 1.871 MB / 405.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.03565, allocations: 2.061 MB / 407.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.03587, allocations: 224 kB / 408 MB, free: 4.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.03705, allocations: 1.045 MB / 409 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009412/0.03799, allocations: 1.71 MB / 410.7 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008667/0.03886, allocations: 0.9847 MB / 411.7 MB, free: 1.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.04183, allocations: 4.086 MB / 415.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.04183, allocations: 4 kB / 415.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.04183, allocations: 0 / 415.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.04186, allocations: 0 / 415.8 MB, free: 13.04 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.00441/0.04627, allocations: 4.626 MB / 420.4 MB, free: 8.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.04631, allocations: 8.031 kB / 420.4 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/0.0529, allocations: 3.731 MB / 424.2 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.05499, allocations: 1.775 MB / 425.9 MB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/0.05507, allocations: 176.8 kB / 426.1 MB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/0.05555, allocations: 324.4 kB / 426.4 MB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/0.06107, allocations: 5.296 MB / 431.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/0.06112, allocations: 23.77 kB / 431.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.06137, allocations: 115.8 kB / 431.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.0638, allocations: 2.428 MB / 434.3 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005968/0.06977, allocations: 3.443 MB / 437.7 MB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2076/0.2774, allocations: 34.24 MB / 472 MB, free: 71.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.2806, allocations: 1.602 MB / 473.6 MB, free: 71.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000847/0.2814, allocations: 0.6476 MB / 474.2 MB, free: 71.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000486/0.2819, allocations: 411.5 kB / 474.6 MB, free: 71.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.2819, allocations: 56.67 kB / 474.7 MB, free: 70.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 5.159e-06/0.2819, allocations: 0 / 474.7 MB, free: 70.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.01744/0.2994, allocations: 9.572 MB / 484.2 MB, free: 68.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006826/0.3001, allocations: 1.974 MB / 486.2 MB, free: 66.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.3021, allocations: 2.567 MB / 488.8 MB, free: 65.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.3022, allocations: 61.2 kB / 488.8 MB, free: 65.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3033, allocations: 2.842 MB / 491.7 MB, free: 63.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/0.3038, allocations: 1.009 MB / 492.7 MB, free: 62.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.3049, allocations: 1.166 MB / 493.9 MB, free: 62.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.3049, allocations: 478.5 kB / 494.3 MB, free: 61.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.3062, allocations: 0.7551 MB / 495.1 MB, free: 61.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.3089, allocations: 5.089 MB / 0.4885 GB, free: 55.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004786/0.3137, allocations: 6.513 MB / 0.4948 GB, free: 49.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-05/0.3138, allocations: 29.72 kB / 0.4948 GB, free: 49.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01041/0.3242, allocations: 6.485 MB / 0.5012 GB, free: 47.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.3242, allocations: 47.53 kB / 0.5012 GB, free: 47.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006115/0.3303, allocations: 2.866 MB / 0.504 GB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005953/0.3363, allocations: 2.099 MB / 0.5061 GB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.3385, allocations: 1.261 MB / 0.5073 GB, free: 46.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.3418, allocations: 4.628 MB / 0.5118 GB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.3442, allocations: 452.5 kB / 0.5122 GB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.3445, allocations: 321.5 kB / 0.5126 GB, free: 41.29 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 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * 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.001016/0.3455, allocations: 0.5806 MB / 0.5131 GB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.3458, allocations: 334.2 kB / 0.5134 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.3498, allocations: 2.893 MB / 0.5163 GB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00332/0.3532, allocations: 2.084 MB / 0.5183 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3532, allocations: 4 kB / 0.5183 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3532, allocations: 8.578 kB / 0.5183 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.3634, allocations: 8.704 MB / 0.5268 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.3634, allocations: 8.188 kB / 0.5268 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008945/0.3643, allocations: 411.3 kB / 0.5272 GB, free: 27.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/0.3663, allocations: 0.8721 MB / 0.5281 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.3664, allocations: 59.97 kB / 0.5281 GB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.3683, allocations: 4.143 MB / 0.5322 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004155/0.3687, allocations: 1.926 MB / 0.534 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.3734, allocations: 3.652 MB / 0.5376 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.3738, allocations: 282.1 kB / 0.5379 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.374, allocations: 51.98 kB / 0.5379 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008411/0.3748, allocations: 243.5 kB / 0.5382 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.3751, allocations: 164.8 kB / 0.5383 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.76e-05/0.3752, allocations: 82.7 kB / 0.5384 GB, free: 15.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009808/0.3762, allocations: 1.101 MB / 0.5395 GB, free: 14.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3762, allocations: 0 / 0.5395 GB, free: 14.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003357/0.3795, allocations: 1.111 MB / 0.5406 GB, free: 13.15 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.0004158/0.3799, allocations: 212.7 kB / 0.5408 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004856/0.3848, allocations: 3.628 MB / 0.5443 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3848, allocations: 4.062 kB / 0.5443 GB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.3866, allocations: 1.609 MB / 0.5459 GB, free: 7.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3877, allocations: 336.5 kB / 0.5462 GB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.3958, allocations: 8.184 MB / 0.5542 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.3968, allocations: 1.186 MB / 0.5554 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002574/0.3994, allocations: 1.681 MB / 0.557 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.4, allocations: 220.4 kB / 0.5572 GB, free: 11.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4, allocations: 0 / 0.5572 GB, free: 11.77 MB / 426.7 MB Notification: Performance of Templates: time 0.0448/0.4448, allocations: 32.38 MB / 0.5888 GB, free: 11.76 MB / 458.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.590632640058175]