Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.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.001826/0.001826, allocations: 106.5 kB / 21.22 MB, free: 0.5273 MB / 14.72 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.002094/0.002094, allocations: 213.3 kB / 24.54 MB, free: 3.895 MB / 14.72 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 1.533/1.533, allocations: 230.3 MB / 258 MB, free: 8.207 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2471/0.2471, allocations: 46.94 MB / 361.4 MB, free: 4.41 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 79.86 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4228, allocations: 66.04 MB / 0.5617 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01735/0.4402, allocations: 13.59 MB / 0.5749 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.4527, allocations: 4.221 MB / 0.5791 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.4557, allocations: 75.75 kB / 0.5791 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004686/0.4604, allocations: 1.841 MB / 0.5809 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00668/0.4671, allocations: 1.88 MB / 0.5828 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.469, allocations: 0.5497 MB / 0.5833 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006768/0.4757, allocations: 3.887 MB / 0.5871 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003184/0.4789, allocations: 2.048 MB / 0.5891 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.4815, allocations: 1.398 MB / 0.5905 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.4854, allocations: 2.134 MB / 0.5925 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008522/0.4862, allocations: 295.9 kB / 0.5928 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.4886, allocations: 1.026 MB / 0.5938 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.4905, allocations: 1.78 MB / 0.5956 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.4929, allocations: 2.096 MB / 0.5976 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008821/0.5018, allocations: 6.912 MB / 0.6044 GB, free: 8.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5018, allocations: 0 / 0.6044 GB, free: 8.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5018, allocations: 4 kB / 0.6044 GB, free: 8.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002012/0.502, allocations: 0 / 0.6044 GB, free: 8.602 MB / 446.1 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.009209/0.5112, allocations: 4.573 MB / 0.6088 GB, free: 3.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5112, allocations: 8.031 kB / 0.6088 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.5219, allocations: 3.137 MB / 0.6119 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008992/0.5309, allocations: 2.072 MB / 0.6139 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.5312, allocations: 213.8 kB / 0.6141 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.533, allocations: 291.7 kB / 0.6144 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.5573, allocations: 11.11 MB / 0.6253 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/0.5576, allocations: 31.7 kB / 0.6253 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/0.5589, allocations: 131.8 kB / 0.6254 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00501/0.5639, allocations: 2.624 MB / 0.628 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/0.5883, allocations: 10.37 MB / 0.6381 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07207/0.6604, allocations: 36.4 MB / 0.6737 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00973/0.6701, allocations: 3.479 MB / 0.6771 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003938/0.6741, allocations: 2.224 MB / 0.6792 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.6751, allocations: 453.2 kB / 0.6797 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/0.6752, allocations: 56.5 kB / 0.6797 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.811e-06/0.6752, allocations: 0 / 0.6797 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04853/0.7237, allocations: 17.43 MB / 0.6967 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.7239, allocations: 73.41 kB / 0.6968 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006424/0.7303, allocations: 2.743 MB / 0.6995 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000522/0.7308, allocations: 61.64 kB / 0.6995 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002841/0.7336, allocations: 2.886 MB / 0.7024 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/0.7352, allocations: 0.9571 MB / 0.7033 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002967/0.7382, allocations: 1.084 MB / 0.7044 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7383, allocations: 305.1 kB / 0.7046 GB, free: 284 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00433/0.7426, allocations: 2.314 MB / 0.7069 GB, free: 13.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007258/0.7499, allocations: 5.226 MB / 0.712 GB, free: 7.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/0.7624, allocations: 8.265 MB / 0.7201 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/0.7625, allocations: 28 kB / 0.7201 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01928/0.7818, allocations: 8.298 MB / 0.7282 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.7819, allocations: 50.03 kB / 0.7283 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/0.7822, allocations: 104 kB / 0.7284 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/0.7851, allocations: 0.9418 MB / 0.7293 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/0.7898, allocations: 1.22 MB / 0.7305 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.401/1.191, allocations: 5.039 MB / 0.7354 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/1.195, allocations: 296 kB / 0.7357 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000963/1.196, allocations: 306.7 kB / 0.736 GB, free: 149.8 MB / 0.5606 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.004178/1.2, allocations: 2.152 MB / 0.7381 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/1.201, allocations: 295.6 kB / 0.7383 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007783/1.209, allocations: 5.107 MB / 0.7433 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/1.209, allocations: 55.03 kB / 0.7434 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.209, allocations: 6.5 kB / 0.7434 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.209, allocations: 9.891 kB / 0.7434 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.227, allocations: 11.83 MB / 0.755 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.227, allocations: 19.22 kB / 0.755 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.228, allocations: 398.5 kB / 0.7554 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/1.23, allocations: 0.7705 MB / 0.7561 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.231, allocations: 51.28 kB / 0.7562 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004593/1.235, allocations: 4.278 MB / 0.7603 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.235, allocations: 15.94 kB / 0.7604 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.246, allocations: 7.631 MB / 0.7678 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.248, allocations: 263.8 kB / 0.7681 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000614/1.248, allocations: 47.98 kB / 0.7681 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.25, allocations: 151.5 kB / 0.7682 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004075/1.25, allocations: 160.4 kB / 0.7684 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.25, allocations: 71.98 kB / 0.7685 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002595/1.253, allocations: 1.687 MB / 0.7701 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/1.253, allocations: 0 / 0.7701 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004329/1.257, allocations: 0.9672 MB / 0.7711 GB, free: 127.8 MB / 0.5606 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.0004772/1.258, allocations: 189.2 kB / 0.7712 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007332/1.265, allocations: 5.441 MB / 0.7766 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.237e-05/1.265, allocations: 0 / 0.7766 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/1.268, allocations: 2 MB / 0.7785 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.27, allocations: 399 kB / 0.7789 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.288, allocations: 10.36 MB / 0.789 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003864/1.291, allocations: 3.367 MB / 0.7923 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003809/1.295, allocations: 1.984 MB / 0.7942 GB, free: 104 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/1.296, allocations: 215.4 kB / 0.7944 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.333e-06/1.296, allocations: 0 / 0.7944 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05743/1.353, allocations: 35.58 MB / 0.8292 GB, free: 68.41 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.471604607068002]