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.0008766/0.0008766, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001016/0.001016, allocations: 161.3 kB / 25.61 MB, free: 8.895 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 0.9937/0.9937, allocations: 177 MB / 205.9 MB, free: 4.449 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.1625/0.1625, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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 2.225e-06/2.225e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.3e-05/4.523e-05, allocations: 5.094 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01166/0.01171, allocations: 10.98 MB / 391 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007211/0.01892, allocations: 3.841 MB / 394.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.0201, allocations: 67.75 kB / 394.9 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.0216, allocations: 1.245 MB / 396.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.02374, allocations: 1.844 MB / 398 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008034/0.02455, allocations: 0.526 MB / 398.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.02723, allocations: 4.736 MB / 403.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.02921, allocations: 2.251 MB / 405.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.03084, allocations: 1.875 MB / 407.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.03248, allocations: 2.061 MB / 409.4 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.0327, allocations: 224 kB / 409.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.03387, allocations: 1.057 MB / 410.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008772/0.03474, allocations: 1.706 MB / 412.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.03545, allocations: 0.9886 MB / 413.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.03813, allocations: 4.086 MB / 417.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.03813, allocations: 0 / 417.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.03813, allocations: 0 / 417.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.03817, allocations: 4 kB / 417.5 MB, free: 1.102 MB / 330.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.003894/0.04206, allocations: 4.403 MB / 421.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.04209, allocations: 8.031 kB / 421.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/0.04639, allocations: 1.906 MB / 423.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.04809, allocations: 1.616 MB / 425.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.04818, allocations: 176.8 kB / 425.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.04864, allocations: 324.3 kB / 425.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/0.0535, allocations: 4.795 MB / 430.7 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.05355, allocations: 31.77 kB / 430.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.05378, allocations: 111.8 kB / 430.9 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001815/0.05559, allocations: 2.128 MB / 433 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004454/0.06005, allocations: 2.76 MB / 435.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/0.0821, allocations: 32.41 MB / 468.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.08488, allocations: 1.437 MB / 469.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009919/0.08587, allocations: 0.5332 MB / 470.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.08634, allocations: 401.3 kB / 470.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.08637, allocations: 63.33 kB / 470.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=236): time 3.436e-06/0.08638, allocations: 0 / 470.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.01537/0.1017, allocations: 7.668 MB / 478.3 MB, free: 2.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008199/0.1026, allocations: 1.939 MB / 480.2 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.1045, allocations: 2.561 MB / 482.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.1046, allocations: 57.7 kB / 482.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.1061, allocations: 2.869 MB / 485.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/0.1066, allocations: 1.012 MB / 486.7 MB, free: 9.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009783/0.1076, allocations: 1.189 MB / 487.9 MB, free: 8.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.1077, allocations: 480.8 kB / 488.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009388/0.1086, allocations: 0.6744 MB / 489 MB, free: 7.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.1117, allocations: 5.041 MB / 494.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1675/0.2793, allocations: 6.355 MB / 0.4887 GB, free: 99.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/0.2793, allocations: 31.94 kB / 0.4887 GB, free: 99.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.009151/0.2885, allocations: 4.891 MB / 0.4935 GB, free: 98.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.2885, allocations: 50.47 kB / 0.4935 GB, free: 98.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004382/0.2929, allocations: 1.528 MB / 0.495 GB, free: 98.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/0.2969, allocations: 0.6219 MB / 0.4956 GB, free: 98.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.2988, allocations: 1.158 MB / 0.4968 GB, free: 98.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.3015, allocations: 4.128 MB / 0.5008 GB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.3034, allocations: 210.1 kB / 0.501 GB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.3037, allocations: 271.2 kB / 0.5013 GB, free: 94.53 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.001057/0.3047, allocations: 0.5772 MB / 0.5018 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.305, allocations: 342 kB / 0.5022 GB, free: 94.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/0.3082, allocations: 2.289 MB / 0.5044 GB, free: 92.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002452/0.3106, allocations: 1.455 MB / 0.5058 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3106, allocations: 0 / 0.5058 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3106, allocations: 11.8 kB / 0.5058 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008376/0.319, allocations: 6.855 MB / 0.5125 GB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.319, allocations: 8 kB / 0.5125 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.3198, allocations: 307.5 kB / 0.5128 GB, free: 86.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.3213, allocations: 455.8 kB / 0.5133 GB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.3214, allocations: 69.03 kB / 0.5133 GB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.3229, allocations: 3.93 MB / 0.5172 GB, free: 81.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003871/0.3233, allocations: 1.881 MB / 0.519 GB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.3268, allocations: 2.931 MB / 0.5219 GB, free: 76.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.3271, allocations: 264.9 kB / 0.5221 GB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.3273, allocations: 51.98 kB / 0.5222 GB, free: 76.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/0.328, allocations: 50.34 kB / 0.5222 GB, free: 76.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.3282, allocations: 172.7 kB / 0.5224 GB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/0.3283, allocations: 63.98 kB / 0.5224 GB, free: 75.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000695/0.329, allocations: 1.032 MB / 0.5234 GB, free: 74.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 0 / 0.5234 GB, free: 74.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00255/0.3315, allocations: 1.106 MB / 0.5245 GB, free: 73.82 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.0003314/0.3318, allocations: 209.2 kB / 0.5247 GB, free: 73.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003359/0.3352, allocations: 3.201 MB / 0.5278 GB, free: 70.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3352, allocations: 0 / 0.5278 GB, free: 70.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.3366, allocations: 1.294 MB / 0.5291 GB, free: 69.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3377, allocations: 339.3 kB / 0.5294 GB, free: 68.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.3451, allocations: 8.113 MB / 0.5374 GB, free: 60.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.3459, allocations: 1.186 MB / 0.5385 GB, free: 59.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008952/0.3468, allocations: 414.2 kB / 0.5389 GB, free: 58.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/0.3474, allocations: 498.1 kB / 0.5394 GB, free: 58.46 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3474, allocations: 0 / 0.5394 GB, free: 58.46 MB / 410.7 MB Notification: Performance of Templates: time 0.03867/0.3861, allocations: 35.64 MB / 0.5742 GB, free: 23.21 MB / 410.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.713843749370426]