Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001162/0.001162, allocations: 81.95 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.001229/0.001229, allocations: 168.1 kB / 24.82 MB, free: 8.773 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2846/0.2846, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.37e-06, allocations: 4 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.862e-05, allocations: 6.25 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01026/0.0103, allocations: 10.99 MB / 387.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007401/0.0177, allocations: 3.835 MB / 391.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.01952, allocations: 67.75 kB / 391.4 MB, free: 5.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.02134, allocations: 1.245 MB / 392.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.02461, allocations: 1.848 MB / 394.5 MB, free: 2.348 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.02558, allocations: 0.5221 MB / 395 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005049/0.03063, allocations: 4.728 MB / 399.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003335/0.03396, allocations: 2.259 MB / 402 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.0372, allocations: 1.875 MB / 403.9 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.03995, allocations: 2.065 MB / 405.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006016/0.04055, allocations: 224 kB / 406.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.04237, allocations: 1.045 MB / 407.2 MB, free: 5.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.0437, allocations: 1.71 MB / 408.9 MB, free: 3.875 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.04501, allocations: 0.9886 MB / 409.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.05009, allocations: 4.093 MB / 414 MB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.0501, allocations: 0 / 414 MB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.0501, allocations: 4 kB / 414 MB, free: 14.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001895/0.05029, allocations: 0 / 414 MB, free: 14.77 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.006298/0.05659, allocations: 4.395 MB / 418.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.05663, allocations: 8.031 kB / 418.4 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.06157, allocations: 1.898 MB / 420.3 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.06432, allocations: 1.624 MB / 421.9 MB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.886e-05/0.06442, allocations: 180.8 kB / 422.1 MB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005799/0.065, allocations: 328.4 kB / 422.4 MB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006221/0.07122, allocations: 4.791 MB / 427.2 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/0.07129, allocations: 35.73 kB / 427.2 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.07154, allocations: 111.8 kB / 427.3 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/0.07346, allocations: 2.116 MB / 429.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006087/0.07954, allocations: 2.773 MB / 432.2 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2146/0.2941, allocations: 32.4 MB / 464.6 MB, free: 69.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.2975, allocations: 1.423 MB / 466.1 MB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.2982, allocations: 0.5428 MB / 466.6 MB, free: 69.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.2988, allocations: 411 kB / 467 MB, free: 69.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.2988, allocations: 62.27 kB / 467.1 MB, free: 69.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 5.771e-06/0.2989, allocations: 0 / 467.1 MB, free: 69.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.01625/0.3151, allocations: 7.663 MB / 474.7 MB, free: 68.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008672/0.316, allocations: 1.95 MB / 476.7 MB, free: 66.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.3186, allocations: 2.56 MB / 479.2 MB, free: 65.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.3188, allocations: 60.09 kB / 479.3 MB, free: 65.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.3201, allocations: 2.856 MB / 482.1 MB, free: 64.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007924/0.3209, allocations: 1.017 MB / 483.2 MB, free: 63.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/0.3221, allocations: 1.193 MB / 484.4 MB, free: 63.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.3221, allocations: 477.3 kB / 484.8 MB, free: 63.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.3234, allocations: 0.6788 MB / 485.5 MB, free: 62.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.3265, allocations: 5.034 MB / 490.5 MB, free: 57.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/0.3315, allocations: 6.363 MB / 496.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.3316, allocations: 29.97 kB / 496.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01013/0.3418, allocations: 4.896 MB / 0.4901 GB, free: 49.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.207e-05/0.3418, allocations: 48.5 kB / 0.4901 GB, free: 49.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004833/0.3467, allocations: 1.522 MB / 0.4916 GB, free: 48.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003999/0.3507, allocations: 0.6245 MB / 0.4922 GB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.3535, allocations: 1.155 MB / 0.4933 GB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.3567, allocations: 4.136 MB / 0.4974 GB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.3601, allocations: 202.1 kB / 0.4976 GB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007473/0.3608, allocations: 272 kB / 0.4978 GB, free: 44.75 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.001681/0.3625, allocations: 0.5797 MB / 0.4984 GB, free: 44.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005908/0.3631, allocations: 337.4 kB / 0.4987 GB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.3665, allocations: 2.291 MB / 0.5009 GB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002618/0.3691, allocations: 1.456 MB / 0.5024 GB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3691, allocations: 3.312 kB / 0.5024 GB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.3691, allocations: 10.36 kB / 0.5024 GB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.3803, allocations: 6.858 MB / 0.5091 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.3803, allocations: 10 kB / 0.5091 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/0.3812, allocations: 310.3 kB / 0.5094 GB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.3829, allocations: 459.5 kB / 0.5098 GB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.3831, allocations: 60.81 kB / 0.5099 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.3856, allocations: 3.938 MB / 0.5137 GB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006562/0.3862, allocations: 1.87 MB / 0.5156 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005238/0.3914, allocations: 2.932 MB / 0.5184 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008359/0.3923, allocations: 270.2 kB / 0.5187 GB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.3925, allocations: 56.12 kB / 0.5187 GB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.3932, allocations: 45.27 kB / 0.5188 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.3936, allocations: 174.9 kB / 0.5189 GB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.3937, allocations: 61.81 kB / 0.519 GB, free: 31.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001351/0.395, allocations: 1.036 MB / 0.52 GB, free: 30.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.395, allocations: 0 / 0.52 GB, free: 30.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003645/0.3987, allocations: 1.107 MB / 0.5211 GB, free: 29.57 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.000418/0.3991, allocations: 209.7 kB / 0.5213 GB, free: 29.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004581/0.4037, allocations: 3.194 MB / 0.5244 GB, free: 26.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.4037, allocations: 4 kB / 0.5244 GB, free: 26.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.4053, allocations: 1.294 MB / 0.5257 GB, free: 25.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.4068, allocations: 331.7 kB / 0.526 GB, free: 25.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.4177, allocations: 8.115 MB / 0.5339 GB, free: 17.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.4189, allocations: 1.184 MB / 0.5351 GB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001413/0.4204, allocations: 417.6 kB / 0.5355 GB, free: 16.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000828/0.4212, allocations: 0.4892 MB / 0.536 GB, free: 15.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.404e-06/0.4212, allocations: 0 / 0.536 GB, free: 15.78 MB / 410.7 MB Notification: Performance of Templates: time 0.04947/0.4706, allocations: 34.82 MB / 0.57 GB, free: 14.58 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.459179237019271]