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.001571/0.001571, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001505/0.001505, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.3041/0.3041, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 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 0.002163/0.002163, allocations: 71.89 kB / 0.4914 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1636, allocations: 65.99 MB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01743/0.1811, allocations: 13.57 MB / 0.5691 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.1918, allocations: 4.19 MB / 0.5732 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.1945, allocations: 79.69 kB / 0.5733 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004193/0.1987, allocations: 1.841 MB / 0.5751 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.204, allocations: 1.86 MB / 0.5769 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.2057, allocations: 0.5459 MB / 0.5774 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006789/0.2125, allocations: 3.894 MB / 0.5812 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003803/0.2163, allocations: 2.314 MB / 0.5835 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.2192, allocations: 1.394 MB / 0.5848 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004054/0.2232, allocations: 2.134 MB / 0.5869 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009343/0.2242, allocations: 296 kB / 0.5872 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.2269, allocations: 1.034 MB / 0.5882 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.2291, allocations: 1.776 MB / 0.59 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003181/0.2322, allocations: 2.104 MB / 0.592 GB, free: 112 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3448/0.577, allocations: 6.899 MB / 0.5987 GB, free: 10.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5771, allocations: 0.7812 kB / 0.5988 GB, free: 10.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5771, allocations: 0.75 kB / 0.5988 GB, free: 10.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002628/0.5773, allocations: 0 / 0.5988 GB, free: 10.44 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.01257/0.5899, allocations: 4.644 MB / 0.6033 GB, free: 8.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5899, allocations: 10.42 kB / 0.6033 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.6021, allocations: 3.145 MB / 0.6064 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/0.6085, allocations: 2.128 MB / 0.6084 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.6087, allocations: 218.8 kB / 0.6087 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.6098, allocations: 289 kB / 0.6089 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.6322, allocations: 11.12 MB / 0.6198 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.6323, allocations: 28.27 kB / 0.6198 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004976/0.6328, allocations: 136.5 kB / 0.6199 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005394/0.6382, allocations: 2.627 MB / 0.6225 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.6607, allocations: 10.37 MB / 0.6326 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07255/0.7333, allocations: 36.55 MB / 0.6683 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.7443, allocations: 4.393 MB / 0.6726 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004381/0.7487, allocations: 2.217 MB / 0.6748 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.7503, allocations: 1.32 MB / 0.6761 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.7504, allocations: 60.12 kB / 0.6761 GB, free: 1.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 8.446e-06/0.7504, allocations: 0 / 0.6761 GB, free: 1.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.05378/0.8042, allocations: 17.65 MB / 0.6934 GB, free: 332 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.8043, allocations: 73.41 kB / 0.6934 GB, free: 248 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007167/0.8114, allocations: 2.743 MB / 0.6961 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006744/0.8121, allocations: 58.27 kB / 0.6962 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003046/0.8151, allocations: 2.884 MB / 0.699 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/0.817, allocations: 0.9586 MB / 0.6999 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003553/0.8205, allocations: 1.079 MB / 0.701 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.8207, allocations: 301.1 kB / 0.7013 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/0.8254, allocations: 2.314 MB / 0.7035 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008467/0.8339, allocations: 5.227 MB / 0.7086 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/0.8483, allocations: 8.266 MB / 0.7167 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/0.8484, allocations: 32 kB / 0.7167 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0215/0.8699, allocations: 8.299 MB / 0.7248 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.8701, allocations: 48.94 kB / 0.7249 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/0.8703, allocations: 100 kB / 0.725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003358/0.8736, allocations: 0.9419 MB / 0.7259 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/0.8788, allocations: 1.228 MB / 0.7271 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/0.8873, allocations: 5.144 MB / 0.7321 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004987/0.8923, allocations: 291.8 kB / 0.7324 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/0.8939, allocations: 308 kB / 0.7327 GB, free: 5.941 MB / 0.545 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.00661/0.9005, allocations: 2.163 MB / 0.7348 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/0.9017, allocations: 294 kB / 0.7351 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.9155, allocations: 5.112 MB / 0.7401 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-05/0.9156, allocations: 47.98 kB / 0.7401 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/0.9156, allocations: 4 kB / 0.7401 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/0.9157, allocations: 7.969 kB / 0.7401 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02997/0.9457, allocations: 11.86 MB / 0.7517 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/0.9457, allocations: 8.938 kB / 0.7517 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/0.9478, allocations: 399.3 kB / 0.7521 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/0.9507, allocations: 0.7776 MB / 0.7529 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004431/0.9511, allocations: 46.73 kB / 0.7529 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/0.9581, allocations: 4.39 MB / 0.7572 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.9581, allocations: 11.94 kB / 0.7572 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.9734, allocations: 7.634 MB / 0.7647 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.9745, allocations: 343.2 kB / 0.765 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009642/0.9755, allocations: 47.98 kB / 0.765 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/0.9775, allocations: 155.1 kB / 0.7652 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.978, allocations: 152.9 kB / 0.7653 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002913/0.9783, allocations: 72 kB / 0.7654 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004316/0.9826, allocations: 1.689 MB / 0.767 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9826, allocations: 0 / 0.767 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006437/0.9891, allocations: 0.9628 MB / 0.768 GB, free: 1.285 MB / 0.5762 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.0009557/0.99, allocations: 201.9 kB / 0.7682 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.002, allocations: 5.423 MB / 0.7735 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/1.002, allocations: 4 kB / 0.7735 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004217/1.006, allocations: 2.003 MB / 0.7754 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/1.01, allocations: 404.2 kB / 0.7758 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/1.036, allocations: 10.23 MB / 0.7858 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007179/1.043, allocations: 3.373 MB / 0.7891 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005781/1.049, allocations: 1.978 MB / 0.791 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.05, allocations: 219.4 kB / 0.7912 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/1.05, allocations: 0 / 0.7912 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.07363/1.123, allocations: 31.96 MB / 0.8225 GB, free: 9.516 MB / 0.6387 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.6144410483539104]