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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 108.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 69.08 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1526, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01464/0.1673, allocations: 13.55 MB / 484.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008954/0.1763, allocations: 4.162 MB / 488.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.1784, allocations: 75.75 kB / 488.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003673/0.1821, allocations: 1.818 MB / 490.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.1867, allocations: 1.841 MB / 492.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.1884, allocations: 0.5537 MB / 492.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005661/0.1941, allocations: 3.867 MB / 496.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004182/0.1983, allocations: 2.697 MB / 499.3 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.2013, allocations: 1.378 MB / 0.4889 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.2046, allocations: 1.951 MB / 0.4908 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.2057, allocations: 292 kB / 0.4911 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.2084, allocations: 1.014 MB / 0.4921 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002474/0.2109, allocations: 1.769 MB / 0.4938 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.2138, allocations: 2.116 MB / 0.4959 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007877/0.2217, allocations: 6.948 MB / 0.5027 GB, free: 1.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2217, allocations: 0 / 0.5027 GB, free: 1.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2217, allocations: 3.938 kB / 0.5027 GB, free: 1.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002168/0.222, allocations: 4 kB / 0.5027 GB, free: 1.41 MB / 382.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.2332/0.4552, allocations: 4.542 MB / 0.5071 GB, free: 46.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.729e-05/0.4553, allocations: 10.28 kB / 0.5071 GB, free: 46.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.4677, allocations: 3.11 MB / 0.5102 GB, free: 46.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/0.4743, allocations: 2.154 MB / 0.5123 GB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.4746, allocations: 221.7 kB / 0.5125 GB, free: 45.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.4756, allocations: 285 kB / 0.5127 GB, free: 45.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.4953, allocations: 11.11 MB / 0.5236 GB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.4955, allocations: 28.47 kB / 0.5236 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004093/0.4959, allocations: 142.1 kB / 0.5238 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003398/0.4993, allocations: 2.615 MB / 0.5263 GB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.5161, allocations: 10.38 MB / 0.5364 GB, free: 26.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/0.568, allocations: 36.47 MB / 0.5721 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00939/0.5775, allocations: 4.568 MB / 0.5765 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/0.5807, allocations: 2.398 MB / 0.5789 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.5819, allocations: 1.311 MB / 0.5801 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.582, allocations: 56.55 kB / 0.5802 GB, free: 12.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 6.152e-06/0.582, allocations: 0 / 0.5802 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.04086/0.6229, allocations: 17.59 MB / 0.5974 GB, free: 10.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.623, allocations: 73.41 kB / 0.5975 GB, free: 10.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004865/0.6279, allocations: 2.735 MB / 0.6001 GB, free: 8.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004003/0.6283, allocations: 65.62 kB / 0.6002 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.6306, allocations: 2.776 MB / 0.6029 GB, free: 5.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.632, allocations: 0.9173 MB / 0.6038 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/0.6341, allocations: 1.068 MB / 0.6048 GB, free: 3.207 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6343, allocations: 301.1 kB / 0.6051 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/0.6381, allocations: 2.314 MB / 0.6074 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006672/0.6448, allocations: 5.218 MB / 0.6125 GB, free: 9.949 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/0.6571, allocations: 8.274 MB / 0.6206 GB, free: 268 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.6572, allocations: 28 kB / 0.6206 GB, free: 240 kB / 446.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01684/0.6741, allocations: 8.296 MB / 0.6287 GB, free: 7.922 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6743, allocations: 48 kB / 0.6287 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/0.6744, allocations: 103.9 kB / 0.6288 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/0.6772, allocations: 0.9418 MB / 0.6297 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/0.6817, allocations: 1.228 MB / 0.6309 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/0.6892, allocations: 5.141 MB / 0.636 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/0.6941, allocations: 295.8 kB / 0.6362 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.6953, allocations: 304.1 kB / 0.6365 GB, free: 15.73 MB / 478.1 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.004827/0.7002, allocations: 2.158 MB / 0.6386 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007831/0.701, allocations: 272.4 kB / 0.6389 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009458/0.7105, allocations: 5.131 MB / 0.6439 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/0.7106, allocations: 51.98 kB / 0.644 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.7106, allocations: 7.938 kB / 0.644 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/0.7106, allocations: 7.969 kB / 0.644 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/0.736, allocations: 11.87 MB / 0.6556 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/0.7361, allocations: 12 kB / 0.6556 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.7378, allocations: 399.3 kB / 0.656 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/0.7404, allocations: 0.7777 MB / 0.6567 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004508/0.7408, allocations: 48 kB / 0.6568 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006671/0.7475, allocations: 4.386 MB / 0.6611 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/0.7476, allocations: 15.94 kB / 0.6611 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.7607, allocations: 7.618 MB / 0.6685 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.762, allocations: 329.5 kB / 0.6688 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008238/0.7629, allocations: 48.03 kB / 0.6689 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.7646, allocations: 147.8 kB / 0.669 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/0.7651, allocations: 160.9 kB / 0.6692 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/0.7654, allocations: 68 kB / 0.6692 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003789/0.7692, allocations: 1.693 MB / 0.6709 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7692, allocations: 4 kB / 0.6709 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006329/0.7755, allocations: 0.9831 MB / 0.6718 GB, free: 11 MB / 0.4981 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.0007031/0.7762, allocations: 196.6 kB / 0.672 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009876/0.7861, allocations: 5.668 MB / 0.6776 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.866e-05/0.7862, allocations: 8.062 kB / 0.6776 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003299/0.7895, allocations: 2.156 MB / 0.6797 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/0.7928, allocations: 396.3 kB / 0.6801 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.813, allocations: 10.1 MB / 0.6899 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005948/0.819, allocations: 3.371 MB / 0.6932 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005082/0.8241, allocations: 1.982 MB / 0.6951 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.8253, allocations: 219.3 kB / 0.6954 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of SimCode: time 1.834e-06/0.8253, allocations: 0 / 0.6954 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of Templates: time 0.3382/1.164, allocations: 29.77 MB / 0.7244 GB, free: 163.3 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches