Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.0008893/0.0008893, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005113/0.005113, allocations: 163.5 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8514/0.8514, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2471/0.2471, allocations: 34.25 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.517e-06/3.517e-06, allocations: 3.984 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.909e-05, allocations: 2.281 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1777/0.1777, allocations: 11.8 MB / 455.2 MB, free: 37.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.1832, allocations: 3.984 MB / 459.2 MB, free: 35.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.1839, allocations: 76.97 kB / 459.3 MB, free: 35.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1854, allocations: 1.861 MB / 461.2 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.1872, allocations: 1.921 MB / 463.1 MB, free: 33.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.1879, allocations: 0.5986 MB / 463.7 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.1898, allocations: 4.265 MB / 467.9 MB, free: 31.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.1911, allocations: 2.53 MB / 470.5 MB, free: 30.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.1923, allocations: 2.109 MB / 472.6 MB, free: 29.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.1937, allocations: 2.14 MB / 474.7 MB, free: 29.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.1939, allocations: 300.4 kB / 475 MB, free: 29.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000922/0.1948, allocations: 0.9649 MB / 476 MB, free: 28.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.1955, allocations: 1.847 MB / 477.8 MB, free: 28.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.1961, allocations: 1.15 MB / 479 MB, free: 27.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.2006, allocations: 6.889 MB / 485.9 MB, free: 25.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2006, allocations: 2.047 kB / 485.9 MB, free: 25.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2006, allocations: 0 / 485.9 MB, free: 25.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.197e-05/0.2007, allocations: 0 / 485.9 MB, free: 25.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.005729/0.2064, allocations: 4.572 MB / 490.4 MB, free: 22.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2065, allocations: 9.312 kB / 490.5 MB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006889/0.2134, allocations: 3.193 MB / 493.6 MB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/0.2168, allocations: 2.077 MB / 495.7 MB, free: 20.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.217, allocations: 217.9 kB / 495.9 MB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/0.2174, allocations: 287.3 kB / 496.2 MB, free: 20.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.2291, allocations: 11.12 MB / 0.4954 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-05/0.2292, allocations: 28.25 kB / 0.4955 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.2295, allocations: 137.4 kB / 0.4956 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/0.2318, allocations: 2.62 MB / 0.4982 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009791/0.2416, allocations: 10.36 MB / 0.5083 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03061/0.2722, allocations: 33.75 MB / 0.5412 GB, free: 428 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/0.2775, allocations: 3.598 MB / 0.5447 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.2794, allocations: 2.223 MB / 0.5469 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/0.2799, allocations: 449.2 kB / 0.5473 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2799, allocations: 52.56 kB / 0.5474 GB, free: 10.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 4.909e-06/0.2799, allocations: 0 / 0.5474 GB, free: 10.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02476/0.3047, allocations: 17.95 MB / 0.5649 GB, free: 8.145 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3048, allocations: 73.41 kB / 0.565 GB, free: 8.059 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.3077, allocations: 2.761 MB / 0.5677 GB, free: 5.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.3078, allocations: 57.7 kB / 0.5677 GB, free: 5.207 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.3091, allocations: 2.878 MB / 0.5706 GB, free: 2.301 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007717/0.3099, allocations: 0.9454 MB / 0.5715 GB, free: 1.348 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.3109, allocations: 1.069 MB / 0.5725 GB, free: 276 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.311, allocations: 305.1 kB / 0.5728 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.3131, allocations: 2.318 MB / 0.5751 GB, free: 13.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003402/0.3165, allocations: 5.218 MB / 0.5802 GB, free: 7.008 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00613/0.3227, allocations: 8.269 MB / 0.5883 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-05/0.3227, allocations: 28 kB / 0.5883 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.008775/0.3315, allocations: 8.281 MB / 0.5964 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.3315, allocations: 52.06 kB / 0.5964 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.493e-05/0.3316, allocations: 103.9 kB / 0.5965 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.3334, allocations: 0.9449 MB / 0.5974 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.3353, allocations: 1.22 MB / 0.5986 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.3396, allocations: 4.977 MB / 0.6035 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.3416, allocations: 327.7 kB / 0.6038 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004298/0.342, allocations: 307.9 kB / 0.6041 GB, free: 12.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (657): * Single equations (assignments): 650 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002989/0.345, allocations: 2.148 MB / 0.6062 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.3454, allocations: 270.2 kB / 0.6064 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005494/0.3509, allocations: 5.122 MB / 0.6115 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/0.3509, allocations: 47.98 kB / 0.6115 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.3509, allocations: 4 kB / 0.6115 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.3509, allocations: 7.969 kB / 0.6115 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.3626, allocations: 10.46 MB / 0.6217 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.3627, allocations: 12.22 kB / 0.6217 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.3636, allocations: 399.4 kB / 0.6221 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.3648, allocations: 0.7722 MB / 0.6229 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.3649, allocations: 59.92 kB / 0.6229 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003761/0.3687, allocations: 4.234 MB / 0.6271 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/0.3687, allocations: 15.94 kB / 0.6271 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1971/0.5658, allocations: 7.588 MB / 0.6345 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.5665, allocations: 260.9 kB / 0.6347 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.5667, allocations: 42.91 kB / 0.6348 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.5674, allocations: 177.6 kB / 0.6349 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.5676, allocations: 165.2 kB / 0.6351 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-05/0.5677, allocations: 74.92 kB / 0.6352 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001429/0.5692, allocations: 1.582 MB / 0.6367 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5692, allocations: 0 / 0.6367 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002908/0.5721, allocations: 1.03 MB / 0.6377 GB, free: 151 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,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.0003702/0.5725, allocations: 206.3 kB / 0.6379 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004486/0.5769, allocations: 5.419 MB / 0.6432 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.5769, allocations: 0 / 0.6432 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.5785, allocations: 2.004 MB / 0.6452 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5797, allocations: 301.2 kB / 0.6455 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.59, allocations: 10.76 MB / 0.656 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/0.5924, allocations: 2.833 MB / 0.6587 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008608/0.5933, allocations: 253 kB / 0.659 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/0.5933, allocations: 0 / 0.659 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.06866/0.6619, allocations: 76.46 MB / 0.7336 GB, free: 88.2 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.378826305270195]