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.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.00195/0.00195, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002362/0.002362, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 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 1.593/1.593, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3623/0.3623, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.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.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 2.094e-06/2.094e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.416e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01679/0.01682, allocations: 11.8 MB / 387.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02757, allocations: 3.987 MB / 391.1 MB, free: 5.113 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.02911, allocations: 79.69 kB / 391.1 MB, free: 5.035 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.03311, allocations: 1.888 MB / 393 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.03775, allocations: 1.929 MB / 395 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.03928, allocations: 0.5963 MB / 395.6 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.0454, allocations: 4.26 MB / 399.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/0.04914, allocations: 2.622 MB / 402.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.05273, allocations: 2.108 MB / 404.5 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/0.05635, allocations: 2.139 MB / 406.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006892/0.05704, allocations: 296 kB / 407 MB, free: 5.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.05907, allocations: 0.9672 MB / 407.9 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.0612, allocations: 1.858 MB / 409.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.06424, allocations: 1.141 MB / 410.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.07625, allocations: 6.895 MB / 417.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.07626, allocations: 4 kB / 417.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.07626, allocations: 0 / 417.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002265/0.07648, allocations: 0 / 417.8 MB, free: 10.21 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01112/0.08761, allocations: 4.569 MB / 422.4 MB, free: 5.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.08767, allocations: 8.031 kB / 422.4 MB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.1007, allocations: 3.816 MB / 426.2 MB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005696/0.1064, allocations: 2.087 MB / 428.3 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.1067, allocations: 221.7 kB / 428.5 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.1079, allocations: 288.2 kB / 428.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/0.13, allocations: 11.12 MB / 439.9 MB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.1301, allocations: 27.77 kB / 440 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004693/0.1305, allocations: 127.8 kB / 440.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005221/0.1358, allocations: 2.628 MB / 442.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1817/0.3174, allocations: 10.35 MB / 453.1 MB, free: 94.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0434/0.3608, allocations: 33.83 MB / 486.9 MB, free: 74.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00875/0.3696, allocations: 3.594 MB / 490.5 MB, free: 73.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/0.3727, allocations: 2.228 MB / 492.7 MB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/0.3734, allocations: 454.7 kB / 493.2 MB, free: 72.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3735, allocations: 51.86 kB / 493.2 MB, free: 72.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.959e-06/0.3735, allocations: 3.312 kB / 493.2 MB, free: 72.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.03744/0.4109, allocations: 18.01 MB / 0.4993 GB, free: 59.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.411, allocations: 73.41 kB / 0.4993 GB, free: 59.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/0.414, allocations: 2.774 MB / 0.502 GB, free: 57.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002732/0.4143, allocations: 59.73 kB / 0.5021 GB, free: 57.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.4154, allocations: 2.875 MB / 0.5049 GB, free: 55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006831/0.4161, allocations: 0.9427 MB / 0.5058 GB, free: 54.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.4173, allocations: 1.063 MB / 0.5069 GB, free: 53.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.4173, allocations: 305.1 kB / 0.5071 GB, free: 52.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.42, allocations: 2.316 MB / 0.5094 GB, free: 50.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/0.4234, allocations: 5.219 MB / 0.5145 GB, free: 44.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007085/0.4305, allocations: 8.269 MB / 0.5226 GB, free: 34.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.26e-05/0.4306, allocations: 28 kB / 0.5226 GB, free: 34.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.013/0.4436, allocations: 8.564 MB / 0.531 GB, free: 26.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.4437, allocations: 52.91 kB / 0.531 GB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.4438, allocations: 107.3 kB / 0.5311 GB, free: 26.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/0.4464, allocations: 0.9774 MB / 0.5321 GB, free: 25.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/0.45, allocations: 1.224 MB / 0.5333 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/0.4554, allocations: 4.98 MB / 0.5381 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/0.4593, allocations: 327.7 kB / 0.5384 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006977/0.46, allocations: 307.9 kB / 0.5387 GB, free: 18.15 MB / 410.7 MB 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.003076/0.4631, allocations: 2.158 MB / 0.5409 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/0.4638, allocations: 334.2 kB / 0.5412 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007357/0.4711, allocations: 5.114 MB / 0.5462 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.044e-05/0.4712, allocations: 55.92 kB / 0.5462 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4712, allocations: 4 kB / 0.5462 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4712, allocations: 7.969 kB / 0.5462 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.4863, allocations: 10.46 MB / 0.5564 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.4864, allocations: 12 kB / 0.5565 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.4881, allocations: 395.4 kB / 0.5568 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/0.491, allocations: 0.8113 MB / 0.5576 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.4912, allocations: 51.98 kB / 0.5577 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007044/0.4982, allocations: 4.254 MB / 0.5618 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/0.4982, allocations: 15.94 kB / 0.5618 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.5124, allocations: 7.644 MB / 0.5693 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/0.5132, allocations: 258.2 kB / 0.5696 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/0.5136, allocations: 55.58 kB / 0.5696 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.5151, allocations: 179.7 kB / 0.5698 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004311/0.5155, allocations: 156.8 kB / 0.5699 GB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/0.5157, allocations: 71.98 kB / 0.57 GB, free: 1.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002689/0.5184, allocations: 1.577 MB / 0.5715 GB, free: 144 kB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5184, allocations: 3.938 kB / 0.5715 GB, free: 140 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.005987/0.5244, allocations: 1.035 MB / 0.5726 GB, free: 15.1 MB / 442.7 MB 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.0006147/0.525, allocations: 206.3 kB / 0.5727 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009987/0.535, allocations: 5.434 MB / 0.5781 GB, free: 9.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.535, allocations: 0 / 0.5781 GB, free: 9.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003364/0.5384, allocations: 1.997 MB / 0.58 GB, free: 7.477 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.5405, allocations: 325.3 kB / 0.5803 GB, free: 7.168 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/0.5609, allocations: 10.42 MB / 0.5905 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004508/0.5654, allocations: 2.832 MB / 0.5933 GB, free: 9.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005814/0.5712, allocations: 1.965 MB / 0.5952 GB, free: 7.707 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.5724, allocations: 212.5 kB / 0.5954 GB, free: 7.496 MB / 458.7 MB Notification: Performance of SimCode: time 3.838e-06/0.5724, allocations: 0 / 0.5954 GB, free: 7.496 MB / 458.7 MB Notification: Performance of Templates: time 0.2385/0.8109, allocations: 27.79 MB / 0.6225 GB, free: 128.3 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.958667056984268]