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.001147/0.001147, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00106/0.00106, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.5/1.5, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2259/0.2259, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4407, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.016/0.4568, allocations: 13.55 MB / 0.5321 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.4674, allocations: 4.156 MB / 0.5362 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0045/0.472, allocations: 72.03 kB / 0.5363 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004539/0.4765, allocations: 1.823 MB / 0.5381 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006776/0.4834, allocations: 1.83 MB / 0.5398 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.4853, allocations: 0.554 MB / 0.5404 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006737/0.4921, allocations: 3.87 MB / 0.5442 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003792/0.4959, allocations: 2.705 MB / 0.5468 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.4986, allocations: 1.386 MB / 0.5482 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.5013, allocations: 1.954 MB / 0.5501 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007363/0.5021, allocations: 292 kB / 0.5503 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.5043, allocations: 0.9986 MB / 0.5513 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.5062, allocations: 1.769 MB / 0.553 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.5084, allocations: 2.12 MB / 0.5551 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007144/0.5156, allocations: 6.946 MB / 0.5619 GB, free: 15.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.5156, allocations: 0 / 0.5619 GB, free: 15.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5156, allocations: 0 / 0.5619 GB, free: 15.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001522/0.5158, allocations: 4 kB / 0.5619 GB, free: 15.88 MB / 430.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.008693/0.5245, allocations: 4.559 MB / 0.5664 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5245, allocations: 8.031 kB / 0.5664 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.5346, allocations: 3.111 MB / 0.5694 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/0.5394, allocations: 2.151 MB / 0.5715 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.5396, allocations: 217.8 kB / 0.5717 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.5408, allocations: 291.7 kB / 0.572 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.5616, allocations: 11.11 MB / 0.5828 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.5617, allocations: 27.8 kB / 0.5829 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005881/0.5623, allocations: 135.8 kB / 0.583 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004582/0.5669, allocations: 2.62 MB / 0.5856 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02097/0.5879, allocations: 10.38 MB / 0.5957 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06267/0.6506, allocations: 36.48 MB / 0.6313 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.6611, allocations: 4.569 MB / 0.6358 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003646/0.6648, allocations: 2.392 MB / 0.6381 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.6663, allocations: 1.315 MB / 0.6394 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.6663, allocations: 60.5 kB / 0.6394 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.983e-06/0.6664, allocations: 0 / 0.6394 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.0426/0.709, allocations: 17.59 MB / 0.6566 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.7091, allocations: 81.28 kB / 0.6567 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005242/0.7143, allocations: 2.731 MB / 0.6594 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003842/0.7147, allocations: 65.69 kB / 0.6594 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.717, allocations: 2.779 MB / 0.6621 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/0.7183, allocations: 0.9134 MB / 0.663 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002354/0.7206, allocations: 1.072 MB / 0.6641 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7208, allocations: 301.1 kB / 0.6644 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003782/0.7246, allocations: 2.318 MB / 0.6666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006083/0.7307, allocations: 5.218 MB / 0.6717 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.7413, allocations: 8.273 MB / 0.6798 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.7414, allocations: 28 kB / 0.6798 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01668/0.7581, allocations: 8.301 MB / 0.6879 GB, free: 9.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.7583, allocations: 48 kB / 0.688 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/0.7585, allocations: 104 kB / 0.6881 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/0.7614, allocations: 0.9451 MB / 0.689 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/0.7657, allocations: 1.22 MB / 0.6902 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/0.7726, allocations: 5.14 MB / 0.6952 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/0.7765, allocations: 299.8 kB / 0.6955 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009459/0.7775, allocations: 308 kB / 0.6958 GB, free: 1.594 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.004202/0.7817, allocations: 2.146 MB / 0.6979 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006762/0.7824, allocations: 276.4 kB / 0.6982 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008954/0.7914, allocations: 5.129 MB / 0.7032 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/0.7915, allocations: 47.97 kB / 0.7032 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/0.7915, allocations: 4 kB / 0.7032 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/0.7915, allocations: 11.95 kB / 0.7032 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0224/0.8139, allocations: 11.88 MB / 0.7148 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/0.814, allocations: 12 kB / 0.7148 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/0.8159, allocations: 395.4 kB / 0.7152 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/0.8183, allocations: 0.7849 MB / 0.716 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/0.8185, allocations: 51.98 kB / 0.716 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008538/0.8271, allocations: 4.378 MB / 0.7203 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-05/0.8271, allocations: 15.94 kB / 0.7203 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.8453, allocations: 7.622 MB / 0.7278 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.419/1.264, allocations: 324.4 kB / 0.7281 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.266, allocations: 47 kB / 0.7281 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.268, allocations: 152.1 kB / 0.7283 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/1.268, allocations: 153.9 kB / 0.7284 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.268, allocations: 71.25 kB / 0.7285 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003814/1.272, allocations: 1.691 MB / 0.7301 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/1.272, allocations: 0 / 0.7301 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006191/1.278, allocations: 0.9861 MB / 0.7311 GB, free: 182.4 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.0006452/1.279, allocations: 190.2 kB / 0.7313 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.289, allocations: 5.677 MB / 0.7368 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.289, allocations: 4.875 kB / 0.7368 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/1.293, allocations: 2.153 MB / 0.7389 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.296, allocations: 399.3 kB / 0.7393 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.313, allocations: 10.1 MB / 0.7492 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003535/1.316, allocations: 3.374 MB / 0.7525 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00388/1.32, allocations: 1.985 MB / 0.7544 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.321, allocations: 212.8 kB / 0.7546 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.835e-06/1.321, allocations: 3.938 kB / 0.7546 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05413/1.375, allocations: 31.38 MB / 0.7852 GB, free: 146 MB / 0.5762 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 -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/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) Reference file matches