Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 166.9 kB / 24.99 MB, free: 8.246 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.086/1.086, allocations: 177 MB / 205.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2761/0.2761, allocations: 34.87 MB / 296.6 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.267e-05, allocations: 2.312 kB / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.008692/0.008715, allocations: 11.24 MB / 390 MB, free: 7.125 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.01538, allocations: 3.866 MB / 393.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.01657, allocations: 67.75 kB / 393.9 MB, free: 3.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.01827, allocations: 1.245 MB / 395.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.02125, allocations: 1.844 MB / 397 MB, free: 80 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.02215, allocations: 0.526 MB / 397.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.02543, allocations: 4.731 MB / 402.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.02704, allocations: 2.259 MB / 404.5 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.02848, allocations: 1.871 MB / 406.4 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.03016, allocations: 2.065 MB / 408.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.0304, allocations: 224 kB / 408.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.03207, allocations: 1.041 MB / 409.7 MB, free: 3.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.03349, allocations: 1.706 MB / 411.4 MB, free: 1.609 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009912/0.03448, allocations: 0.9964 MB / 412.4 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.03921, allocations: 4.082 MB / 416.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.03922, allocations: 0 / 416.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.03922, allocations: 0 / 416.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.719e-05/0.03928, allocations: 0 / 416.5 MB, free: 12.51 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.005528/0.0448, allocations: 4.626 MB / 421.1 MB, free: 7.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.04486, allocations: 11.97 kB / 421.2 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/0.05212, allocations: 3.731 MB / 424.9 MB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.05435, allocations: 1.767 MB / 426.6 MB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.05445, allocations: 180.8 kB / 426.8 MB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005041/0.05495, allocations: 316.5 kB / 427.1 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/0.06075, allocations: 5.296 MB / 432.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.0608, allocations: 31.7 kB / 432.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.06105, allocations: 119.8 kB / 432.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002211/0.06326, allocations: 2.432 MB / 435 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005825/0.06909, allocations: 3.429 MB / 438.4 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2166/0.2857, allocations: 34.24 MB / 472.7 MB, free: 71.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.2891, allocations: 1.591 MB / 474.3 MB, free: 71.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009573/0.2901, allocations: 0.6513 MB / 474.9 MB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.2907, allocations: 421.5 kB / 475.3 MB, free: 71.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.2907, allocations: 56.95 kB / 475.4 MB, free: 71.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 6.011e-06/0.2908, allocations: 0 / 475.4 MB, free: 71.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.01924/0.31, allocations: 9.568 MB / 485 MB, free: 68.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007537/0.3107, allocations: 1.985 MB / 486.9 MB, free: 66.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.3132, allocations: 2.564 MB / 489.5 MB, free: 65.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.3133, allocations: 57.42 kB / 489.6 MB, free: 65.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.3145, allocations: 2.839 MB / 492.4 MB, free: 63.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006273/0.3151, allocations: 1.012 MB / 493.4 MB, free: 62.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.3163, allocations: 1.17 MB / 494.6 MB, free: 62.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.3164, allocations: 476.8 kB / 495.1 MB, free: 61.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3178, allocations: 0.7574 MB / 495.8 MB, free: 61.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/0.3209, allocations: 5.088 MB / 0.4892 GB, free: 55.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/0.3268, allocations: 6.512 MB / 0.4955 GB, free: 48.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001566/0.327, allocations: 28.56 kB / 0.4955 GB, free: 48.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01325/0.3402, allocations: 6.487 MB / 0.5019 GB, free: 47.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.3403, allocations: 46.59 kB / 0.5019 GB, free: 47.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006603/0.3469, allocations: 2.87 MB / 0.5047 GB, free: 46.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006372/0.3532, allocations: 2.104 MB / 0.5068 GB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/0.3564, allocations: 1.257 MB / 0.508 GB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.3602, allocations: 4.633 MB / 0.5125 GB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/0.364, allocations: 448.9 kB / 0.513 GB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007294/0.3647, allocations: 316 kB / 0.5133 GB, free: 40.97 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.001589/0.3663, allocations: 0.5706 MB / 0.5138 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005407/0.3668, allocations: 338.2 kB / 0.5141 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.3711, allocations: 2.898 MB / 0.517 GB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003475/0.3746, allocations: 2.087 MB / 0.519 GB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3746, allocations: 0 / 0.519 GB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.3747, allocations: 10.78 kB / 0.519 GB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.3865, allocations: 8.693 MB / 0.5275 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.3865, allocations: 11.98 kB / 0.5275 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009201/0.3874, allocations: 407.3 kB / 0.5279 GB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.3894, allocations: 0.8764 MB / 0.5288 GB, free: 26.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.3895, allocations: 67.56 kB / 0.5288 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.3916, allocations: 4.139 MB / 0.5329 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004796/0.392, allocations: 1.92 MB / 0.5347 GB, free: 19.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/0.3971, allocations: 3.656 MB / 0.5383 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/0.398, allocations: 282.1 kB / 0.5386 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.3983, allocations: 51.98 kB / 0.5386 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009501/0.3993, allocations: 243 kB / 0.5389 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.3995, allocations: 172.9 kB / 0.539 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.3997, allocations: 75.97 kB / 0.5391 GB, free: 14.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.4009, allocations: 1.101 MB / 0.5402 GB, free: 13.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4009, allocations: 0 / 0.5402 GB, free: 13.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003276/0.4041, allocations: 1.12 MB / 0.5413 GB, free: 12.76 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.00041/0.4045, allocations: 222.2 kB / 0.5415 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005298/0.4098, allocations: 3.619 MB / 0.545 GB, free: 8.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.4098, allocations: 0 / 0.545 GB, free: 8.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.4118, allocations: 1.613 MB / 0.5466 GB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.4136, allocations: 322 kB / 0.5469 GB, free: 6.922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.4241, allocations: 8.191 MB / 0.5549 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.4253, allocations: 1.19 MB / 0.5561 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002637/0.4279, allocations: 1.682 MB / 0.5577 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/0.4285, allocations: 212.4 kB / 0.5579 GB, free: 11.39 MB / 426.7 MB Notification: Performance of SimCode: time 2.535e-06/0.4285, allocations: 4 kB / 0.5579 GB, free: 11.39 MB / 426.7 MB Notification: Performance of Templates: time 0.04616/0.4747, allocations: 32.38 MB / 0.5895 GB, free: 11.35 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.6905684468802065]