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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009039/0.0009039, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007723/0.0007724, allocations: 90.52 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3148/0.3148, allocations: 44.14 MB / 388.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3466, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4801, allocations: 107 MB / 0.6153 GB, free: 4.012 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4804, allocations: 83.94 kB / 0.6153 GB, free: 3.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4574/0.9378, allocations: 90.01 MB / 0.7032 GB, free: 96.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.9378, allocations: 0 / 0.7032 GB, free: 96.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.9381, allocations: 74.59 kB / 0.7033 GB, free: 96.71 MB / 490.7 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.01358/0.9517, allocations: 3.925 MB / 0.7071 GB, free: 94.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.9517, allocations: 8.938 kB / 0.7071 GB, free: 94.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.9674, allocations: 3.508 MB / 0.7106 GB, free: 94.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009199/0.9767, allocations: 3.193 MB / 0.7137 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008472/0.9776, allocations: 324.6 kB / 0.714 GB, free: 93.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/0.981, allocations: 426 kB / 0.7144 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0301/1.011, allocations: 10.69 MB / 0.7248 GB, free: 91.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/1.011, allocations: 27.25 kB / 0.7249 GB, free: 91.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/1.012, allocations: 187.2 kB / 0.725 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001412/1.014, allocations: 1.226 MB / 0.7262 GB, free: 90.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/1.033, allocations: 10.29 MB / 0.7363 GB, free: 87.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05175/1.085, allocations: 36.93 MB / 0.7724 GB, free: 65.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007723/1.093, allocations: 4.583 MB / 0.7768 GB, free: 63.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/1.096, allocations: 2.398 MB / 0.7792 GB, free: 61.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008723/1.097, allocations: 1.317 MB / 0.7805 GB, free: 59.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.097, allocations: 56.56 kB / 0.7805 GB, free: 59.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.589e-06/1.097, allocations: 0 / 0.7805 GB, free: 59.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03265/1.129, allocations: 17.34 MB / 0.7975 GB, free: 44.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/1.129, allocations: 73.41 kB / 0.7975 GB, free: 44.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/1.133, allocations: 2.738 MB / 0.8002 GB, free: 42.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/1.133, allocations: 53.7 kB / 0.8003 GB, free: 42.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.134, allocations: 2.775 MB / 0.803 GB, free: 39.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007917/1.135, allocations: 0.92 MB / 0.8039 GB, free: 38.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.135, allocations: 111.9 kB / 0.804 GB, free: 38.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002622/1.136, allocations: 0.5353 MB / 0.8045 GB, free: 38.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/1.138, allocations: 2.279 MB / 0.8067 GB, free: 36.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/1.142, allocations: 5.183 MB / 0.8118 GB, free: 29.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007061/1.149, allocations: 8.22 MB / 0.8198 GB, free: 19.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.377e-05/1.149, allocations: 28 kB / 0.8198 GB, free: 19.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01163/1.161, allocations: 8.204 MB / 0.8278 GB, free: 11.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/1.161, allocations: 48 kB / 0.8279 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.735e-05/1.161, allocations: 107.9 kB / 0.828 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/1.163, allocations: 0.9265 MB / 0.8289 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/1.167, allocations: 1.217 MB / 0.8301 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/1.172, allocations: 4.765 MB / 0.8347 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/1.176, allocations: 299.1 kB / 0.835 GB, free: 4.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008844/1.177, allocations: 308 kB / 0.8353 GB, free: 3.902 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (652): * Single equations (assignments): 645 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003577/1.181, allocations: 2.143 MB / 0.8374 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.181, allocations: 276.4 kB / 0.8377 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007757/1.189, allocations: 5.101 MB / 0.8427 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.958e-05/1.189, allocations: 47.98 kB / 0.8427 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.189, allocations: 4 kB / 0.8427 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.189, allocations: 11.95 kB / 0.8427 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/1.209, allocations: 11.9 MB / 0.8543 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.209, allocations: 12 kB / 0.8543 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.211, allocations: 400.1 kB / 0.8547 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/1.213, allocations: 0.777 MB / 0.8555 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/1.213, allocations: 51.98 kB / 0.8555 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005068/1.218, allocations: 4.014 MB / 0.8595 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/1.218, allocations: 11.94 kB / 0.8595 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.23, allocations: 7.595 MB / 0.8669 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009336/1.231, allocations: 333.4 kB / 0.8672 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/1.231, allocations: 43.98 kB / 0.8672 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.233, allocations: 142.1 kB / 0.8674 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/1.233, allocations: 156.8 kB / 0.8675 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.233, allocations: 71.98 kB / 0.8676 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002771/1.236, allocations: 1.669 MB / 0.8692 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.5e-07/1.236, allocations: 4 kB / 0.8692 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004484/1.24, allocations: 1.003 MB / 0.8702 GB, free: 15.66 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004865/1.241, allocations: 194.5 kB / 0.8704 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008058/1.249, allocations: 5.569 MB / 0.8758 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.249, allocations: 0 / 0.8758 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00304/1.252, allocations: 2.145 MB / 0.8779 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/1.257, allocations: 384.6 kB / 0.8783 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2798/1.537, allocations: 12.05 MB / 0.8901 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004179/1.541, allocations: 3.379 MB / 0.8934 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004525/1.546, allocations: 1.983 MB / 0.8953 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/1.547, allocations: 214.8 kB / 0.8955 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/1.547, allocations: 0 / 0.8955 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.06631/1.613, allocations: 31.62 MB / 0.9264 GB, free: 127.2 MB / 0.5261 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches