Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.0009931/0.0009931, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00102/0.00102, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9362/0.9362, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1314/0.1314, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.42e-05, allocations: 6.25 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.007949/0.007973, allocations: 12.16 MB / 359.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005008/0.01298, allocations: 3.891 MB / 363.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000604/0.01359, allocations: 67.75 kB / 363.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.01508, allocations: 1.405 MB / 365.2 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.01711, allocations: 1.917 MB / 367.1 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.01776, allocations: 0.5182 MB / 367.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.0202, allocations: 4.013 MB / 371.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.02163, allocations: 2.2 MB / 373.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.0229, allocations: 1.902 MB / 375.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.02429, allocations: 1.968 MB / 377.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.02452, allocations: 244 kB / 378 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008868/0.0254, allocations: 0.9203 MB / 378.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009187/0.02632, allocations: 1.749 MB / 380.6 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.02709, allocations: 1.043 MB / 381.7 MB, free: 7.633 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003621/0.03071, allocations: 4.194 MB / 385.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.03071, allocations: 0 / 385.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.03071, allocations: 0 / 385.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001391/0.03085, allocations: 4 kB / 385.9 MB, free: 3.418 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.0059/0.03675, allocations: 4.71 MB / 390.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.03679, allocations: 8.031 kB / 390.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006815/0.0436, allocations: 3.66 MB / 394.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.04668, allocations: 1.728 MB / 396 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.04682, allocations: 201.1 kB / 396.2 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006619/0.04748, allocations: 256.1 kB / 396.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009315/0.05679, allocations: 5.452 MB / 401.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.22e-05/0.05687, allocations: 31.7 kB / 401.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.05716, allocations: 123.8 kB / 402 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/0.05997, allocations: 2.624 MB / 404.6 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008987/0.06895, allocations: 3.387 MB / 408 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04061/0.1096, allocations: 34.54 MB / 442.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005696/0.1153, allocations: 2.527 MB / 445.1 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.1166, allocations: 0.6694 MB / 445.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/0.1173, allocations: 0.5244 MB / 446.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1173, allocations: 55.39 kB / 446.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=229): time 4.117e-06/0.1173, allocations: 0 / 446.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=235): time 0.1607/0.278, allocations: 8.243 MB / 454.6 MB, free: 104 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.2781, allocations: 71.06 kB / 454.7 MB, free: 103.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.281, allocations: 2.508 MB / 457.2 MB, free: 103.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.23e-05/0.2811, allocations: 52.48 kB / 457.2 MB, free: 103.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.2822, allocations: 2.94 MB / 460.2 MB, free: 101.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/0.2827, allocations: 0.9214 MB / 461.1 MB, free: 101.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008147/0.2835, allocations: 1.126 MB / 462.2 MB, free: 100.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.2836, allocations: 0.5364 MB / 462.7 MB, free: 100.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009474/0.2845, allocations: 0.6709 MB / 463.4 MB, free: 100.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.2865, allocations: 4.988 MB / 468.4 MB, free: 94.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/0.2901, allocations: 6.279 MB / 474.7 MB, free: 87.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.098e-05/0.2901, allocations: 29.84 kB / 474.7 MB, free: 87.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.006079/0.2962, allocations: 4.992 MB / 479.7 MB, free: 84.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.2962, allocations: 51.94 kB / 479.8 MB, free: 84.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.213e-05/0.2963, allocations: 100 kB / 479.9 MB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.2977, allocations: 0.5577 MB / 480.4 MB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.3002, allocations: 1.204 MB / 481.6 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.3029, allocations: 3.04 MB / 484.7 MB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.3052, allocations: 332.7 kB / 485 MB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003002/0.3055, allocations: 303.9 kB / 485.3 MB, free: 79.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (644): * Single equations (assignments): 637 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.3066, allocations: 0.5657 MB / 485.8 MB, free: 78.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.3069, allocations: 314.3 kB / 486.1 MB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.3107, allocations: 2.426 MB / 488.6 MB, free: 76.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/0.3108, allocations: 47.94 kB / 488.6 MB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3108, allocations: 6.875 kB / 488.6 MB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.3108, allocations: 11.95 kB / 488.6 MB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008547/0.3193, allocations: 6.186 MB / 494.8 MB, free: 70.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.3193, allocations: 4 kB / 494.8 MB, free: 70.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.3204, allocations: 359.4 kB / 495.2 MB, free: 69.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3216, allocations: 443 kB / 495.6 MB, free: 69.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.3217, allocations: 47.59 kB / 495.7 MB, free: 69.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.3237, allocations: 2.448 MB / 498.1 MB, free: 66.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3237, allocations: 12.81 kB / 498.1 MB, free: 66.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.3281, allocations: 2.951 MB / 0.4893 GB, free: 63.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.3288, allocations: 0.5488 MB / 0.4899 GB, free: 63.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.3291, allocations: 39.98 kB / 0.4899 GB, free: 63.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/0.33, allocations: 179.7 kB / 0.4901 GB, free: 62.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.3303, allocations: 136.9 kB / 0.4902 GB, free: 62.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.3304, allocations: 67.19 kB / 0.4903 GB, free: 62.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.3315, allocations: 1.069 MB / 0.4913 GB, free: 61.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3315, allocations: 0 / 0.4913 GB, free: 61.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002866/0.3344, allocations: 1.035 MB / 0.4923 GB, free: 60.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003674/0.3347, allocations: 198.1 kB / 0.4925 GB, free: 60.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003502/0.3382, allocations: 2.878 MB / 0.4953 GB, free: 57.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3382, allocations: 0 / 0.4953 GB, free: 57.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.3393, allocations: 0.9423 MB / 0.4962 GB, free: 56.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.3405, allocations: 270.7 kB / 0.4965 GB, free: 56.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008608/0.3491, allocations: 7.68 MB / 0.504 GB, free: 48.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009793/0.3501, allocations: 1.196 MB / 0.5052 GB, free: 47.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002552/0.3527, allocations: 1.581 MB / 0.5067 GB, free: 45.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/0.3532, allocations: 200.5 kB / 0.5069 GB, free: 45.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3532, allocations: 0 / 0.5069 GB, free: 45.44 MB / 378.7 MB Notification: Performance of Templates: time 0.04159/0.3948, allocations: 25.52 MB / 0.5318 GB, free: 20.1 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.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.137548601953313]