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.001168/0.001168, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001347/0.001347, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9958/0.9958, allocations: 177 MB / 204.8 MB, free: 5.582 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.3067/0.3067, allocations: 34.87 MB / 296.3 MB, free: 0.5234 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.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.062e-05, allocations: 6.25 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02384/0.02387, allocations: 11.28 MB / 390.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.0389, allocations: 3.874 MB / 393.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.04187, allocations: 67.75 kB / 394 MB, free: 2.785 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.04501, allocations: 1.249 MB / 395.2 MB, free: 1.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.05023, allocations: 1.848 MB / 397.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.0515, allocations: 0.5221 MB / 397.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005786/0.05729, allocations: 4.735 MB / 402.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.06082, allocations: 2.255 MB / 404.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.06414, allocations: 1.874 MB / 406.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.06769, allocations: 2.057 MB / 408.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007277/0.06842, allocations: 224 kB / 408.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.07085, allocations: 1.049 MB / 409.8 MB, free: 2.918 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.07213, allocations: 1.706 MB / 411.5 MB, free: 1.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.07314, allocations: 0.9925 MB / 412.5 MB, free: 216 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.07677, allocations: 4.085 MB / 416.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.07678, allocations: 0 / 416.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.07678, allocations: 0 / 416.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.629e-05/0.07682, allocations: 0 / 416.6 MB, free: 12.11 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.004364/0.08119, allocations: 4.622 MB / 421.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.08122, allocations: 12.03 kB / 421.2 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/0.08733, allocations: 3.731 MB / 425 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.08924, allocations: 1.771 MB / 426.7 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.039e-05/0.08933, allocations: 184.8 kB / 426.9 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/0.08979, allocations: 316.4 kB / 427.2 MB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005904/0.0957, allocations: 5.296 MB / 432.5 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.09575, allocations: 27.77 kB / 432.5 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.09598, allocations: 119.8 kB / 432.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002249/0.09823, allocations: 2.436 MB / 435.1 MB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008981/0.1072, allocations: 3.425 MB / 438.5 MB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1961/0.3033, allocations: 34.24 MB / 472.8 MB, free: 65.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/0.308, allocations: 1.596 MB / 474.4 MB, free: 65.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.3092, allocations: 0.6512 MB / 475 MB, free: 65.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.3098, allocations: 421.8 kB / 475.4 MB, free: 65.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.3098, allocations: 57.2 kB / 475.5 MB, free: 65.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 5.19e-06/0.3099, allocations: 3.469 kB / 475.5 MB, free: 65.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.01874/0.3286, allocations: 9.555 MB / 485 MB, free: 63.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008928/0.3295, allocations: 1.974 MB / 487 MB, free: 61.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/0.3326, allocations: 2.569 MB / 489.6 MB, free: 60.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.3327, allocations: 57.64 kB / 489.6 MB, free: 60.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.3341, allocations: 2.837 MB / 492.5 MB, free: 58.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007744/0.3349, allocations: 1.012 MB / 493.5 MB, free: 57.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.3362, allocations: 1.167 MB / 494.6 MB, free: 56.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.3363, allocations: 477.8 kB / 495.1 MB, free: 56.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.3378, allocations: 0.7576 MB / 495.9 MB, free: 56.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.3409, allocations: 5.087 MB / 0.4892 GB, free: 50.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/0.3465, allocations: 6.511 MB / 0.4956 GB, free: 43.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.3466, allocations: 32.81 kB / 0.4956 GB, free: 43.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01187/0.3585, allocations: 6.485 MB / 0.5019 GB, free: 42.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.3586, allocations: 53.94 kB / 0.502 GB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006728/0.3653, allocations: 2.862 MB / 0.5048 GB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00639/0.3717, allocations: 2.109 MB / 0.5068 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/0.3747, allocations: 1.253 MB / 0.5081 GB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.3785, allocations: 4.628 MB / 0.5126 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/0.3824, allocations: 454.3 kB / 0.513 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007001/0.3831, allocations: 311.3 kB / 0.5133 GB, free: 36.89 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.001749/0.3849, allocations: 0.5776 MB / 0.5139 GB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/0.3854, allocations: 334.2 kB / 0.5142 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.3898, allocations: 2.893 MB / 0.517 GB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003488/0.3933, allocations: 2.091 MB / 0.5191 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3933, allocations: 0.875 kB / 0.5191 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.3933, allocations: 15.38 kB / 0.5191 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.4068, allocations: 8.707 MB / 0.5276 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.4068, allocations: 8 kB / 0.5276 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009855/0.4078, allocations: 411.2 kB / 0.528 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/0.4099, allocations: 0.8729 MB / 0.5288 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.4101, allocations: 59.97 kB / 0.5289 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.4123, allocations: 4.152 MB / 0.533 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000548/0.4129, allocations: 1.917 MB / 0.5348 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/0.4181, allocations: 3.653 MB / 0.5384 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/0.4189, allocations: 274.2 kB / 0.5387 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.4192, allocations: 55.98 kB / 0.5387 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.4202, allocations: 243.6 kB / 0.5389 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.4205, allocations: 172.7 kB / 0.5391 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.4206, allocations: 78.86 kB / 0.5392 GB, free: 11.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001339/0.4219, allocations: 1.101 MB / 0.5403 GB, free: 10.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4219, allocations: 0 / 0.5403 GB, free: 10.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003782/0.4257, allocations: 1.116 MB / 0.5413 GB, free: 9.324 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.0005015/0.4262, allocations: 211 kB / 0.5415 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006038/0.4322, allocations: 3.619 MB / 0.5451 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.4322, allocations: 0 / 0.5451 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.4344, allocations: 1.619 MB / 0.5467 GB, free: 3.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.4363, allocations: 329.9 kB / 0.547 GB, free: 3.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.4485, allocations: 8.192 MB / 0.555 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.45, allocations: 1.179 MB / 0.5561 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002971/0.453, allocations: 1.684 MB / 0.5578 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/0.4537, allocations: 220.4 kB / 0.558 GB, free: 7.949 MB / 426.7 MB Notification: Performance of SimCode: time 2.394e-06/0.4537, allocations: 0 / 0.558 GB, free: 7.949 MB / 426.7 MB Notification: Performance of Templates: time 0.04802/0.5017, allocations: 32.37 MB / 0.5896 GB, free: 7.957 MB / 458.7 MB " [Timeout remaining time 659] 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.469618834089488]