Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00165/0.00165, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001545/0.001545, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.503/1.503, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 79.86 kB / 0.4971 GB, free: 7.594 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3556, allocations: 66.02 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01547/0.3711, allocations: 13.6 MB / 0.5748 GB, free: 6.977 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00975/0.3809, allocations: 4.219 MB / 0.5789 GB, free: 2.746 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.3838, allocations: 79.69 kB / 0.579 GB, free: 2.668 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004084/0.3879, allocations: 1.845 MB / 0.5808 GB, free: 0.8164 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004774/0.3927, allocations: 1.868 MB / 0.5826 GB, free: 14.94 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.394, allocations: 0.5575 MB / 0.5832 GB, free: 14.38 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005148/0.3992, allocations: 3.897 MB / 0.587 GB, free: 10.48 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.402, allocations: 2.037 MB / 0.589 GB, free: 8.391 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.4047, allocations: 1.394 MB / 0.5903 GB, free: 6.992 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.4081, allocations: 2.134 MB / 0.5924 GB, free: 4.852 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008604/0.409, allocations: 299.9 kB / 0.5927 GB, free: 4.559 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.4111, allocations: 1.03 MB / 0.5937 GB, free: 3.527 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001899/0.413, allocations: 1.784 MB / 0.5955 GB, free: 1.738 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002444/0.4154, allocations: 2.093 MB / 0.5975 GB, free: 15.63 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01054/0.426, allocations: 6.912 MB / 0.6043 GB, free: 8.695 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.426, allocations: 0 / 0.6043 GB, free: 8.695 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.043e-06/0.426, allocations: 0 / 0.6043 GB, free: 8.695 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.000258/0.4262, allocations: 0 / 0.6043 GB, free: 8.695 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.01083/0.4371, allocations: 4.569 MB / 0.6087 GB, free: 4.066 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4371, allocations: 8.031 kB / 0.6087 GB, free: 4.059 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4482, allocations: 3.149 MB / 0.6118 GB, free: 0.9023 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.4539, allocations: 2.064 MB / 0.6138 GB, free: 14.8 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.4541, allocations: 217.8 kB / 0.614 GB, free: 14.58 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.4556, allocations: 295.7 kB / 0.6143 GB, free: 14.29 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.4754, allocations: 11.11 MB / 0.6252 GB, free: 2.719 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.756e-05/0.4755, allocations: 31.77 kB / 0.6252 GB, free: 2.688 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.4759, allocations: 131.8 kB / 0.6253 GB, free: 2.559 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004873/0.4808, allocations: 2.624 MB / 0.6279 GB, free: 15.93 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/0.5036, allocations: 10.37 MB / 0.638 GB, free: 5.539 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06431/0.5679, allocations: 36.39 MB / 0.6735 GB, free: 216 kB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.5811, allocations: 3.479 MB / 0.6769 GB, free: 12.72 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00531/0.5864, allocations: 2.224 MB / 0.6791 GB, free: 10.5 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.588, allocations: 457.2 kB / 0.6795 GB, free: 10.05 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.037e-05/0.588, allocations: 60.44 kB / 0.6796 GB, free: 9.98 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=242): time 9.949e-06/0.5881, allocations: 4 kB / 0.6796 GB, free: 9.977 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=254): time 0.04738/0.6354, allocations: 17.42 MB / 0.6966 GB, free: 8.547 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.6355, allocations: 69.41 kB / 0.6967 GB, free: 8.469 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004988/0.6405, allocations: 2.743 MB / 0.6994 GB, free: 5.711 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005914/0.6411, allocations: 61.7 kB / 0.6994 GB, free: 5.645 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002502/0.6436, allocations: 2.882 MB / 0.7022 GB, free: 2.734 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001714/0.6453, allocations: 0.9571 MB / 0.7032 GB, free: 1.77 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/0.6472, allocations: 1.084 MB / 0.7042 GB, free: 0.6758 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001627/0.6473, allocations: 301.1 kB / 0.7045 GB, free: 388 kB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00379/0.6511, allocations: 2.318 MB / 0.7068 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006669/0.6578, allocations: 5.214 MB / 0.7119 GB, free: 7.422 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.6695, allocations: 8.276 MB / 0.72 GB, free: 13.72 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.6696, allocations: 28 kB / 0.72 GB, free: 13.7 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=718) (initialization): time 0.01854/0.6881, allocations: 8.299 MB / 0.7281 GB, free: 5.383 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/0.6882, allocations: 51.98 kB / 0.7281 GB, free: 5.332 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/0.6884, allocations: 104 kB / 0.7282 GB, free: 5.23 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.6916, allocations: 0.9456 MB / 0.7292 GB, free: 4.281 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004901/0.6965, allocations: 1.217 MB / 0.7304 GB, free: 3.062 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3597/1.056, allocations: 5.031 MB / 0.7353 GB, free: 149.8 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/1.061, allocations: 300.5 kB / 0.7356 GB, free: 149.8 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.062, allocations: 306.1 kB / 0.7358 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.004139/1.066, allocations: 2.154 MB / 0.7379 GB, free: 149.2 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/1.066, allocations: 293.9 kB / 0.7382 GB, free: 149.2 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/1.074, allocations: 5.115 MB / 0.7432 GB, free: 147.5 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/1.074, allocations: 49.23 kB / 0.7433 GB, free: 147.5 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.074, allocations: 6.688 kB / 0.7433 GB, free: 147.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/1.074, allocations: 10.31 kB / 0.7433 GB, free: 147.5 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/1.091, allocations: 11.82 MB / 0.7548 GB, free: 143.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.091, allocations: 18.23 kB / 0.7548 GB, free: 143.4 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/1.093, allocations: 396.6 kB / 0.7552 GB, free: 143.1 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/1.095, allocations: 0.7724 MB / 0.756 GB, free: 142.6 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.095, allocations: 58.09 kB / 0.756 GB, free: 142.6 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/1.099, allocations: 4.281 MB / 0.7602 GB, free: 138.7 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.099, allocations: 14.12 kB / 0.7602 GB, free: 138.7 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009172/1.109, allocations: 7.626 MB / 0.7677 GB, free: 131.1 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.11, allocations: 268.3 kB / 0.7679 GB, free: 131 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004205/1.11, allocations: 55.73 kB / 0.768 GB, free: 130.9 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.111, allocations: 147.8 kB / 0.7681 GB, free: 130.8 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/1.112, allocations: 164.5 kB / 0.7683 GB, free: 130.6 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.112, allocations: 72 kB / 0.7684 GB, free: 130.5 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.002218/1.114, allocations: 1.685 MB / 0.77 GB, free: 128.8 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/1.114, allocations: 0 / 0.77 GB, free: 128.8 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.006257/1.12, allocations: 0.9663 MB / 0.7709 GB, free: 127.9 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.00082/1.121, allocations: 191.5 kB / 0.7711 GB, free: 127.7 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.007468/1.129, allocations: 5.433 MB / 0.7764 GB, free: 122.3 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.129, allocations: 0 / 0.7764 GB, free: 122.3 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.002244/1.131, allocations: 2.003 MB / 0.7784 GB, free: 120.3 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.133, allocations: 396.2 kB / 0.7788 GB, free: 119.9 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.149, allocations: 10.36 MB / 0.7889 GB, free: 109.4 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/1.152, allocations: 3.375 MB / 0.7922 GB, free: 106 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003806/1.155, allocations: 1.982 MB / 0.7941 GB, free: 104 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/1.156, allocations: 215.4 kB / 0.7943 GB, free: 103.8 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.713e-06/1.156, allocations: 0 / 0.7943 GB, free: 103.8 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05676/1.213, allocations: 35.59 MB / 0.8291 GB, free: 68.47 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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.271712244488299]