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.001082/0.001082, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001222/0.001222, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9882/0.9882, allocations: 177.1 MB / 205 MB, free: 5.234 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.2614/0.2614, allocations: 34.25 MB / 295.7 MB, free: 0.7305 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.593e-06/1.593e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.495e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.009683/0.009708, allocations: 11.29 MB / 389.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.01721, allocations: 3.859 MB / 393.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.01898, allocations: 67.75 kB / 393.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.02095, allocations: 1.269 MB / 394.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.02401, allocations: 1.848 MB / 396.4 MB, free: 244 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.02491, allocations: 0.5221 MB / 396.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004153/0.02906, allocations: 4.736 MB / 401.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.03175, allocations: 2.247 MB / 403.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.03437, allocations: 1.882 MB / 405.8 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.03674, allocations: 2.061 MB / 407.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005901/0.03733, allocations: 224 kB / 408 MB, free: 4.527 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.03876, allocations: 1.049 MB / 409.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.03984, allocations: 1.702 MB / 410.8 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.04128, allocations: 0.9847 MB / 411.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.0455, allocations: 4.093 MB / 415.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.04551, allocations: 4 kB / 415.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04551, allocations: 0 / 415.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001979/0.04571, allocations: 0 / 415.9 MB, free: 12.67 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.006247/0.05196, allocations: 4.614 MB / 420.5 MB, free: 7.988 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.052, allocations: 11.97 kB / 420.5 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006797/0.0588, allocations: 3.735 MB / 424.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.06145, allocations: 1.819 MB / 426.1 MB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.06184, allocations: 184.8 kB / 426.2 MB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/0.06236, allocations: 320.4 kB / 426.5 MB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007152/0.06951, allocations: 5.296 MB / 431.8 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.932e-05/0.06958, allocations: 27.77 kB / 431.9 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.06984, allocations: 115.8 kB / 432 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/0.07247, allocations: 2.436 MB / 434.4 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007548/0.08002, allocations: 3.434 MB / 437.9 MB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1879/0.2679, allocations: 34.24 MB / 472.1 MB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.2711, allocations: 1.598 MB / 473.7 MB, free: 65.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008259/0.2719, allocations: 0.6526 MB / 474.3 MB, free: 65.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/0.2724, allocations: 424.7 kB / 474.8 MB, free: 65.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2724, allocations: 53.83 kB / 474.8 MB, free: 65.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 5.3e-06/0.2724, allocations: 3.703 kB / 474.8 MB, free: 65.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.01796/0.2904, allocations: 9.546 MB / 484.4 MB, free: 63.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006764/0.291, allocations: 1.972 MB / 486.3 MB, free: 61.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.2933, allocations: 2.575 MB / 488.9 MB, free: 60.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.2934, allocations: 63.42 kB / 489 MB, free: 60.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.2945, allocations: 2.837 MB / 491.8 MB, free: 58.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005829/0.295, allocations: 1.003 MB / 492.8 MB, free: 57.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.2962, allocations: 1.169 MB / 494 MB, free: 56.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.2962, allocations: 476.8 kB / 494.4 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.2975, allocations: 0.7605 MB / 495.2 MB, free: 56.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.3003, allocations: 5.091 MB / 0.4886 GB, free: 50.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004632/0.3049, allocations: 6.507 MB / 0.4949 GB, free: 44.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-05/0.305, allocations: 29.25 kB / 0.495 GB, free: 44.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01074/0.3157, allocations: 6.492 MB / 0.5013 GB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.3158, allocations: 49.94 kB / 0.5013 GB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006345/0.3221, allocations: 2.864 MB / 0.5041 GB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005854/0.328, allocations: 2.104 MB / 0.5062 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.3305, allocations: 1.257 MB / 0.5074 GB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.3342, allocations: 4.623 MB / 0.5119 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/0.3377, allocations: 449.7 kB / 0.5124 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/0.3382, allocations: 316.2 kB / 0.5127 GB, free: 37.2 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.001344/0.3395, allocations: 0.5862 MB / 0.5132 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.3399, allocations: 337.8 kB / 0.5136 GB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.3438, allocations: 2.887 MB / 0.5164 GB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00321/0.347, allocations: 2.094 MB / 0.5184 GB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.347, allocations: 0 / 0.5184 GB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.347, allocations: 9.984 kB / 0.5184 GB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.3576, allocations: 8.711 MB / 0.5269 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.3577, allocations: 10.08 kB / 0.5269 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.3585, allocations: 406.7 kB / 0.5273 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/0.3604, allocations: 0.8807 MB / 0.5282 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.3606, allocations: 62.31 kB / 0.5283 GB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.3623, allocations: 4.147 MB / 0.5323 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004165/0.3627, allocations: 1.909 MB / 0.5342 GB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.3673, allocations: 3.649 MB / 0.5377 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.3678, allocations: 278.1 kB / 0.538 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.368, allocations: 55.98 kB / 0.5381 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008501/0.3689, allocations: 244.4 kB / 0.5383 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.3691, allocations: 168.8 kB / 0.5384 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.3692, allocations: 75.97 kB / 0.5385 GB, free: 11.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001448/0.3707, allocations: 1.101 MB / 0.5396 GB, free: 10.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3707, allocations: 0 / 0.5396 GB, free: 10.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003648/0.3743, allocations: 1.112 MB / 0.5407 GB, free: 9.754 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.0004391/0.3748, allocations: 215.2 kB / 0.5409 GB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005106/0.3799, allocations: 3.627 MB / 0.5444 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.3799, allocations: 0 / 0.5444 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.3818, allocations: 1.608 MB / 0.546 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.3831, allocations: 336.1 kB / 0.5463 GB, free: 3.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.3933, allocations: 8.195 MB / 0.5543 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.3943, allocations: 1.182 MB / 0.5555 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002531/0.3968, allocations: 1.685 MB / 0.5571 GB, free: 8.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.3974, allocations: 216.4 kB / 0.5573 GB, free: 8.379 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3974, allocations: 0 / 0.5573 GB, free: 8.379 MB / 426.7 MB Notification: Performance of Templates: time 0.04696/0.4444, allocations: 33.22 MB / 0.5898 GB, free: 7.547 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.259312144946307]