Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.00267, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000964/0.000964, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002286, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.051/1.051, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1676/1.219, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1681/0.1681, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02438/0.1925, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.516e-05, allocations: 2.312 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01318/0.01322, allocations: 12.89 MB / 298.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008729/0.02195, allocations: 4.246 MB / 303 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.02389, allocations: 79.69 kB / 303.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.02625, allocations: 1.884 MB / 305 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.02984, allocations: 1.944 MB / 306.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.03102, allocations: 0.5534 MB / 307.5 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.035, allocations: 4.138 MB / 311.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.0375, allocations: 2.384 MB / 314 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.03996, allocations: 2.221 MB / 316.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.04198, allocations: 1.987 MB / 318.2 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000427/0.0424, allocations: 291.9 kB / 318.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.04391, allocations: 0.9907 MB / 319.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.04516, allocations: 1.691 MB / 321.2 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.04625, allocations: 0.95 MB / 322.1 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1655/0.2118, allocations: 4.179 MB / 326.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.18e-05/0.2118, allocations: 0 / 326.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2118, allocations: 0 / 326.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002721/0.2121, allocations: 0 / 326.3 MB, free: 11.21 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.007715/0.2198, allocations: 5.126 MB / 331.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2198, allocations: 9.625 kB / 331.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.2241, allocations: 1.449 MB / 332.9 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.2262, allocations: 1.565 MB / 334.4 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.2263, allocations: 221 kB / 334.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.2266, allocations: 288.7 kB / 334.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005281/0.2319, allocations: 4.776 MB / 339.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.076e-05/0.2319, allocations: 25.95 kB / 339.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/0.2322, allocations: 137.3 kB / 339.9 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.2338, allocations: 2.123 MB / 342 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/0.2381, allocations: 2.71 MB / 344.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.2589, allocations: 26.86 MB / 371.6 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.2616, allocations: 1.454 MB / 373 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.2621, allocations: 364.5 kB / 373.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005291/0.2674, allocations: 3.746 MB / 377.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2674, allocations: 47.88 kB / 377.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=180): time 3.537e-06/0.2674, allocations: 0 / 377.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.01024/0.2777, allocations: 5.33 MB / 382.5 MB, free: 6.312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2777, allocations: 64.72 kB / 382.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.2797, allocations: 2.472 MB / 385 MB, free: 4.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.2797, allocations: 48.98 kB / 385.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.281, allocations: 2.966 MB / 388 MB, free: 1.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.2815, allocations: 0.7226 MB / 388.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007928/0.2823, allocations: 0.9883 MB / 389.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.2823, allocations: 305.1 kB / 390 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.2833, allocations: 0.6716 MB / 390.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.2858, allocations: 3.605 MB / 394.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/0.29, allocations: 5.087 MB / 399.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.742e-05/0.29, allocations: 28 kB / 399.4 MB, free: 3.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.004777/0.2948, allocations: 3.493 MB / 402.9 MB, free: 396 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/0.2949, allocations: 55.94 kB / 403 MB, free: 340 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.295, allocations: 120 kB / 403.1 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.2954, allocations: 179.7 kB / 403.3 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.2978, allocations: 1.279 MB / 404.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.2988, allocations: 1.448 MB / 406 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.3009, allocations: 205.9 kB / 406.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.3012, allocations: 276 kB / 406.5 MB, free: 12.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 491 * 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 (654): * Single equations (assignments): 647 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001189/0.3024, allocations: 0.5435 MB / 407 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.3026, allocations: 178.4 kB / 407.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.3037, allocations: 0.9164 MB / 408.1 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.3038, allocations: 19.98 kB / 408.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3038, allocations: 0 / 408.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3038, allocations: 7.922 kB / 408.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005231/0.309, allocations: 4.049 MB / 412.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.309, allocations: 27.64 kB / 412.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.3097, allocations: 251.7 kB / 412.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.31, allocations: 249.3 kB / 412.7 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.3101, allocations: 47.64 kB / 412.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.79e-05/0.3102, allocations: 39.98 kB / 412.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008113/0.311, allocations: 1.385 MB / 414.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.311, allocations: 13.34 kB / 414.2 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3125, allocations: 1.48 MB / 415.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.3127, allocations: 35.91 kB / 415.7 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.3131, allocations: 28 kB / 415.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.3133, allocations: 120.6 kB / 415.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002751/0.3136, allocations: 51.98 kB / 415.9 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006925/0.3143, allocations: 0.87 MB / 416.8 MB, free: 2.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3143, allocations: 0 / 416.8 MB, free: 2.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002569/0.3168, allocations: 0.9335 MB / 417.7 MB, free: 1.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 134 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003323/0.3172, allocations: 179 kB / 417.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.3196, allocations: 2.286 MB / 420.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001202/0.3197, allocations: 74.56 kB / 420.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.3203, allocations: 0.647 MB / 420.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.3226, allocations: 2.123 MB / 423 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.3339, allocations: 7.829 MB / 430.8 MB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.3349, allocations: 1.26 MB / 432.1 MB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001104/0.336, allocations: 413.8 kB / 432.5 MB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/0.3366, allocations: 437.2 kB / 432.9 MB, free: 2.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3366, allocations: 0 / 432.9 MB, free: 2.48 MB / 394.7 MB Notification: Performance of Templates: time 0.04121/0.3778, allocations: 22.12 MB / 455 MB, free: 12.57 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.588694619014859]