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.001024/0.001024, allocations: 95.5 kB / 21.2 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.001375/0.001375, allocations: 160.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.9859/0.9859, allocations: 177 MB / 204.8 MB, free: 5.59 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.3227/0.3227, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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 2.044e-06/2.044e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.097e-05, allocations: 7.156 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01013/0.01016, allocations: 11.28 MB / 390.1 MB, free: 6.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.01582, allocations: 3.878 MB / 393.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.01644, allocations: 67.75 kB / 394 MB, free: 2.785 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.01789, allocations: 1.253 MB / 395.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.02, allocations: 1.84 MB / 397.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.02073, allocations: 0.526 MB / 397.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.02362, allocations: 4.739 MB / 402.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.02511, allocations: 2.251 MB / 404.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.02642, allocations: 1.878 MB / 406.5 MB, free: 6.246 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.02796, allocations: 2.061 MB / 408.5 MB, free: 4.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.02818, allocations: 224 kB / 408.8 MB, free: 3.961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.02937, allocations: 1.045 MB / 409.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009908/0.03036, allocations: 1.714 MB / 411.5 MB, free: 1.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.03108, allocations: 0.9808 MB / 412.5 MB, free: 216 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.03427, allocations: 4.093 MB / 416.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.03428, allocations: 0 / 416.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03428, allocations: 0 / 416.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.03431, allocations: 0 / 416.6 MB, free: 12.1 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.004138/0.03845, allocations: 4.614 MB / 421.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.03848, allocations: 15.97 kB / 421.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006906/0.04539, allocations: 3.731 MB / 425 MB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.04908, allocations: 1.827 MB / 426.8 MB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.04924, allocations: 180.8 kB / 427 MB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008874/0.05012, allocations: 320.5 kB / 427.3 MB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009487/0.05961, allocations: 5.292 MB / 432.6 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.0597, allocations: 31.7 kB / 432.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.06005, allocations: 111.8 kB / 432.7 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003065/0.06311, allocations: 2.44 MB / 435.1 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009496/0.07261, allocations: 3.428 MB / 438.6 MB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1986/0.2712, allocations: 34.24 MB / 472.8 MB, free: 65.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.2743, allocations: 1.603 MB / 474.4 MB, free: 65.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/0.2751, allocations: 0.6445 MB / 475.1 MB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.2756, allocations: 428 kB / 475.5 MB, free: 65.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2756, allocations: 53.77 kB / 475.5 MB, free: 65.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 4.218e-06/0.2756, allocations: 0 / 475.5 MB, free: 65.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.0181/0.2937, allocations: 9.551 MB / 485.1 MB, free: 63.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007875/0.2945, allocations: 1.979 MB / 487.1 MB, free: 61.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/0.2975, allocations: 2.568 MB / 489.6 MB, free: 60.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.2976, allocations: 59.27 kB / 489.7 MB, free: 59.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.299, allocations: 2.843 MB / 492.5 MB, free: 58.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007622/0.2997, allocations: 1.005 MB / 493.5 MB, free: 57.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.301, allocations: 1.162 MB / 494.7 MB, free: 56.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.3011, allocations: 482 kB / 495.2 MB, free: 56.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3025, allocations: 0.7535 MB / 495.9 MB, free: 56.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/0.3054, allocations: 5.091 MB / 0.4893 GB, free: 50.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004863/0.3102, allocations: 6.509 MB / 0.4956 GB, free: 43.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.474e-05/0.3103, allocations: 29.41 kB / 0.4957 GB, free: 43.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01094/0.3213, allocations: 6.489 MB / 0.502 GB, free: 42.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/0.3213, allocations: 50.61 kB / 0.502 GB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006779/0.3281, allocations: 2.87 MB / 0.5048 GB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006315/0.3344, allocations: 2.099 MB / 0.5069 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.3374, allocations: 1.255 MB / 0.5081 GB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.341, allocations: 4.635 MB / 0.5127 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/0.3448, allocations: 451.5 kB / 0.5131 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007137/0.3455, allocations: 319.5 kB / 0.5134 GB, free: 36.85 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.001863/0.3473, allocations: 0.5798 MB / 0.514 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.3479, allocations: 334.2 kB / 0.5143 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.3519, allocations: 2.885 MB / 0.5171 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003287/0.3552, allocations: 2.095 MB / 0.5191 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.3552, allocations: 0 / 0.5191 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3552, allocations: 9.938 kB / 0.5191 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.3667, allocations: 8.708 MB / 0.5276 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.3667, allocations: 8.188 kB / 0.5277 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/0.3676, allocations: 411.3 kB / 0.528 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.3695, allocations: 0.8721 MB / 0.5289 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.3697, allocations: 63.97 kB / 0.529 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.3716, allocations: 4.141 MB / 0.533 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004556/0.372, allocations: 1.924 MB / 0.5349 GB, free: 16.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/0.3767, allocations: 3.643 MB / 0.5384 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/0.3775, allocations: 286.1 kB / 0.5387 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/0.3778, allocations: 54.86 kB / 0.5388 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009264/0.3787, allocations: 242.5 kB / 0.539 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.379, allocations: 168.8 kB / 0.5392 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.3791, allocations: 75.97 kB / 0.5392 GB, free: 11.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.3803, allocations: 1.097 MB / 0.5403 GB, free: 10.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3803, allocations: 0 / 0.5403 GB, free: 10.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003443/0.3837, allocations: 1.12 MB / 0.5414 GB, free: 9.273 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.0005042/0.3842, allocations: 217.1 kB / 0.5416 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005053/0.3893, allocations: 3.623 MB / 0.5451 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.3893, allocations: 4.125 kB / 0.5451 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.3912, allocations: 1.61 MB / 0.5467 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.3927, allocations: 334.8 kB / 0.547 GB, free: 3.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4029, allocations: 8.185 MB / 0.555 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.404, allocations: 1.186 MB / 0.5562 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002583/0.4066, allocations: 1.684 MB / 0.5578 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/0.4072, allocations: 216.4 kB / 0.558 GB, free: 7.898 MB / 426.7 MB Notification: Performance of SimCode: time 2.435e-06/0.4072, allocations: 0 / 0.558 GB, free: 7.898 MB / 426.7 MB Notification: Performance of Templates: time 0.0458/0.4531, allocations: 33.22 MB / 0.5905 GB, free: 7.031 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.363584368024021]