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: 112.8 kB / 17.78 MB, free: 5.285 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.001211/0.001211, allocations: 184.8 kB / 18.71 MB, free: 4.371 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2096/0.2096, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3704, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01422/0.3847, allocations: 13.56 MB / 0.5321 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3948, allocations: 4.159 MB / 0.5362 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.3976, allocations: 72.38 kB / 0.5363 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.4013, allocations: 1.82 MB / 0.538 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.4069, allocations: 1.876 MB / 0.5399 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.4086, allocations: 0.5583 MB / 0.5404 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.4151, allocations: 3.87 MB / 0.5442 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003656/0.4188, allocations: 2.706 MB / 0.5468 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.4215, allocations: 1.374 MB / 0.5482 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.4247, allocations: 1.958 MB / 0.5501 GB, free: 12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009196/0.4256, allocations: 292 kB / 0.5504 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.4284, allocations: 1.006 MB / 0.5514 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.4303, allocations: 1.769 MB / 0.5531 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002496/0.4328, allocations: 2.116 MB / 0.5552 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008512/0.4413, allocations: 6.946 MB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.4413, allocations: 0 / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4413, allocations: 0 / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001998/0.4415, allocations: 4 kB / 0.5619 GB, free: 15.83 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.00955/0.4511, allocations: 4.551 MB / 0.5664 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4512, allocations: 8.031 kB / 0.5664 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.4621, allocations: 3.118 MB / 0.5694 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.4665, allocations: 2.151 MB / 0.5715 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.4667, allocations: 221.8 kB / 0.5718 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007363/0.4674, allocations: 283.8 kB / 0.572 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.4852, allocations: 11.11 MB / 0.5829 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.4853, allocations: 27.81 kB / 0.5829 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003836/0.4857, allocations: 143.8 kB / 0.583 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004172/0.4899, allocations: 2.624 MB / 0.5856 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/0.5082, allocations: 10.37 MB / 0.5957 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04555/0.5538, allocations: 36.48 MB / 0.6313 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/0.5676, allocations: 4.565 MB / 0.6358 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00475/0.5724, allocations: 2.408 MB / 0.6382 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/0.574, allocations: 1.315 MB / 0.6394 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.5741, allocations: 56.5 kB / 0.6395 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 7.253e-06/0.5741, allocations: 0 / 0.6395 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04344/0.6176, allocations: 17.59 MB / 0.6567 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.6177, allocations: 77.34 kB / 0.6567 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005223/0.6229, allocations: 2.735 MB / 0.6594 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.6232, allocations: 57.7 kB / 0.6595 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.6253, allocations: 2.779 MB / 0.6622 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/0.6263, allocations: 0.9095 MB / 0.6631 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/0.6283, allocations: 1.076 MB / 0.6641 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.6284, allocations: 305.1 kB / 0.6644 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/0.6319, allocations: 2.314 MB / 0.6667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005485/0.6374, allocations: 5.222 MB / 0.6718 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009531/0.647, allocations: 8.28 MB / 0.6799 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.904e-05/0.6471, allocations: 28 kB / 0.6799 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01424/0.6613, allocations: 8.293 MB / 0.688 GB, free: 9.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.6615, allocations: 48 kB / 0.688 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/0.6616, allocations: 100 kB / 0.6881 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.6644, allocations: 0.9455 MB / 0.689 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/0.6685, allocations: 1.22 MB / 0.6902 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006807/0.6753, allocations: 5.142 MB / 0.6953 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/0.679, allocations: 295.8 kB / 0.6955 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008658/0.6799, allocations: 308 kB / 0.6958 GB, free: 1.535 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.004458/0.6844, allocations: 2.147 MB / 0.6979 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007052/0.6851, allocations: 280.4 kB / 0.6982 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009631/0.6947, allocations: 5.125 MB / 0.7032 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-05/0.6948, allocations: 47.91 kB / 0.7032 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.6949, allocations: 7.938 kB / 0.7033 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.6949, allocations: 15.95 kB / 0.7033 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02292/0.7178, allocations: 11.87 MB / 0.7149 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.7179, allocations: 12 kB / 0.7149 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/0.72, allocations: 399.3 kB / 0.7153 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.7227, allocations: 0.7736 MB / 0.716 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004498/0.7232, allocations: 63.91 kB / 0.7161 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006221/0.7294, allocations: 4.374 MB / 0.7203 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.7294, allocations: 19.92 kB / 0.7204 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.7422, allocations: 7.634 MB / 0.7278 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3869/1.129, allocations: 319.5 kB / 0.7281 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.13, allocations: 48.55 kB / 0.7282 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.132, allocations: 145.4 kB / 0.7283 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/1.132, allocations: 155.2 kB / 0.7285 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/1.132, allocations: 73.22 kB / 0.7285 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003072/1.136, allocations: 1.689 MB / 0.7302 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.136, allocations: 0 / 0.7302 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004377/1.14, allocations: 0.985 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.0005048/1.14, allocations: 187.2 kB / 0.7313 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009715/1.15, allocations: 5.687 MB / 0.7369 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/1.15, allocations: 2.406 kB / 0.7369 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003399/1.154, allocations: 2.149 MB / 0.739 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.002534/1.156, allocations: 391.8 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.01712/1.173, allocations: 10.11 MB / 0.7492 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/1.177, allocations: 3.376 MB / 0.7525 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003916/1.181, allocations: 1.984 MB / 0.7545 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/1.181, allocations: 212.2 kB / 0.7547 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.923e-06/1.181, allocations: 3.969 kB / 0.7547 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05255/1.234, allocations: 31.57 MB / 0.7855 GB, free: 145.8 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