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.001168/0.001168, allocations: 107 kB / 17.33 MB, free: 6 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.001235/0.001236, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.43/1.43, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2149/0.2149, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.55 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 60.82 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03645/0.1684, allocations: 37.94 MB / 0.4948 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.1904, allocations: 8.144 MB / 0.5027 GB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01009/0.2006, allocations: 163.6 kB / 0.5029 GB, free: 312 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2906/0.4912, allocations: 1.72 MB / 0.5046 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.4972, allocations: 1.718 MB / 0.5062 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.4989, allocations: 0.5259 MB / 0.5068 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006869/0.5058, allocations: 3.876 MB / 0.5105 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004999/0.5109, allocations: 2.813 MB / 0.5133 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.5149, allocations: 1.385 MB / 0.5146 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00509/0.5201, allocations: 2.132 MB / 0.5167 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001674/0.5218, allocations: 291.4 kB / 0.517 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.5254, allocations: 1.026 MB / 0.518 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003468/0.5289, allocations: 1.793 MB / 0.5198 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00557/0.5345, allocations: 2.134 MB / 0.5218 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.5449, allocations: 6.691 MB / 0.5284 GB, free: 5.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.545, allocations: 3.984 kB / 0.5284 GB, free: 5.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.545, allocations: 0 / 0.5284 GB, free: 5.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003424/0.5453, allocations: 0 / 0.5284 GB, free: 5.078 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.01317/0.5585, allocations: 4.555 MB / 0.5328 GB, free: 1.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5586, allocations: 9.906 kB / 0.5328 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.5694, allocations: 3.112 MB / 0.5359 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.5747, allocations: 2.132 MB / 0.538 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.575, allocations: 224.1 kB / 0.5382 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/0.5766, allocations: 287.5 kB / 0.5384 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/0.5995, allocations: 11.11 MB / 0.5493 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/0.5997, allocations: 30.95 kB / 0.5493 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.601, allocations: 134.6 kB / 0.5495 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004959/0.6059, allocations: 2.622 MB / 0.552 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/0.6298, allocations: 10.37 MB / 0.5621 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06427/0.6941, allocations: 36.69 MB / 0.598 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/0.7039, allocations: 4.572 MB / 0.6024 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/0.7074, allocations: 2.4 MB / 0.6048 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.7088, allocations: 1.314 MB / 0.6061 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.7088, allocations: 59.19 kB / 0.6061 GB, free: 9.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.841e-06/0.7089, allocations: 0 / 0.6061 GB, free: 9.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04471/0.7536, allocations: 17.59 MB / 0.6233 GB, free: 7.922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.7537, allocations: 73.41 kB / 0.6234 GB, free: 7.836 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005652/0.7594, allocations: 2.737 MB / 0.626 GB, free: 5.086 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000329/0.7597, allocations: 61.7 kB / 0.6261 GB, free: 5.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002306/0.762, allocations: 2.773 MB / 0.6288 GB, free: 2.242 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001566/0.7636, allocations: 0.9134 MB / 0.6297 GB, free: 1.336 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002794/0.7664, allocations: 1.075 MB / 0.6307 GB, free: 260 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7666, allocations: 301.1 kB / 0.631 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/0.7704, allocations: 2.318 MB / 0.6333 GB, free: 13.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005841/0.7762, allocations: 5.22 MB / 0.6384 GB, free: 7.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.7863, allocations: 8.27 MB / 0.6465 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.7864, allocations: 28 kB / 0.6465 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01594/0.8024, allocations: 8.303 MB / 0.6546 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.8026, allocations: 48 kB / 0.6547 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/0.8027, allocations: 108 kB / 0.6548 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/0.8056, allocations: 0.9374 MB / 0.6557 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/0.81, allocations: 1.224 MB / 0.6569 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/0.8175, allocations: 5.139 MB / 0.6619 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/0.8223, allocations: 311.7 kB / 0.6622 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/0.8238, allocations: 306.7 kB / 0.6625 GB, free: 13.34 MB / 0.5137 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.005872/0.8297, allocations: 2.151 MB / 0.6646 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008084/0.8305, allocations: 276.4 kB / 0.6648 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009785/0.8403, allocations: 5.124 MB / 0.6698 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/0.8404, allocations: 47.98 kB / 0.6699 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.8405, allocations: 4 kB / 0.6699 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.8405, allocations: 7.969 kB / 0.6699 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/0.8635, allocations: 11.91 MB / 0.6815 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-05/0.8636, allocations: 12 kB / 0.6815 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.8653, allocations: 399.3 kB / 0.6819 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.8678, allocations: 0.7785 MB / 0.6827 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/0.8681, allocations: 52 kB / 0.6827 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005772/0.8739, allocations: 4.389 MB / 0.687 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/0.874, allocations: 15.92 kB / 0.687 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.8856, allocations: 7.624 MB / 0.6945 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/0.8866, allocations: 325.6 kB / 0.6948 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006574/0.8872, allocations: 44 kB / 0.6948 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.8889, allocations: 146.5 kB / 0.695 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/0.8893, allocations: 160.9 kB / 0.6951 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/0.8895, allocations: 68 kB / 0.6952 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003632/0.8932, allocations: 1.693 MB / 0.6968 GB, free: 9.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8932, allocations: 0 / 0.6968 GB, free: 9.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005507/0.8987, allocations: 0.9914 MB / 0.6978 GB, free: 8.637 MB / 0.545 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.0006334/0.8994, allocations: 189.4 kB / 0.698 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2663/1.166, allocations: 9.101 MB / 0.7069 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/1.166, allocations: 1.625 kB / 0.7069 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004314/1.17, allocations: 2.153 MB / 0.709 GB, free: 166.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.173, allocations: 395.1 kB / 0.7094 GB, free: 166.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.195, allocations: 12.42 MB / 0.7215 GB, free: 161.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005815/1.2, allocations: 3.377 MB / 0.7248 GB, free: 160.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005647/1.206, allocations: 1.987 MB / 0.7267 GB, free: 160.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/1.207, allocations: 212.7 kB / 0.7269 GB, free: 160.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/1.207, allocations: 0 / 0.7269 GB, free: 160.7 MB / 0.545 GB Notification: Performance of Templates: time 0.06103/1.268, allocations: 33.85 MB / 0.76 GB, free: 138.5 MB / 0.545 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