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.001455/0.001455, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001638/0.001638, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 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.488/1.488, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.3594/0.3594, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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 5.61e-06/5.61e-06, allocations: 3.984 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.025e-05/4.586e-05, allocations: 8.641 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01776/0.01781, allocations: 11.8 MB / 389 MB, free: 7.023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.02982, allocations: 3.979 MB / 393 MB, free: 3.031 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.03313, allocations: 79.69 kB / 393.1 MB, free: 2.953 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005087/0.03822, allocations: 1.903 MB / 395 MB, free: 1.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005972/0.04419, allocations: 1.921 MB / 396.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.04606, allocations: 0.5885 MB / 397.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007249/0.0533, allocations: 4.281 MB / 401.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005329/0.05863, allocations: 2.61 MB / 404.4 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.06405, allocations: 2.112 MB / 406.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/0.06845, allocations: 2.135 MB / 408.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.06952, allocations: 296 kB / 408.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.07229, allocations: 0.9672 MB / 409.9 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00274/0.07503, allocations: 1.854 MB / 411.7 MB, free: 200 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.07796, allocations: 1.145 MB / 412.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.08842, allocations: 6.891 MB / 419.8 MB, free: 8.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.08843, allocations: 0 / 419.8 MB, free: 8.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08843, allocations: 4 kB / 419.8 MB, free: 8.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002268/0.08866, allocations: 0 / 419.8 MB, free: 8.125 MB / 394.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.01158/0.1002, allocations: 4.573 MB / 424.4 MB, free: 3.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1003, allocations: 8.031 kB / 424.4 MB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.1137, allocations: 3.82 MB / 428.2 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.1192, allocations: 2.083 MB / 430.3 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.1195, allocations: 217.8 kB / 430.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.1206, allocations: 288.2 kB / 430.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.1429, allocations: 11.13 MB / 441.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.143, allocations: 27.77 kB / 441.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004481/0.1434, allocations: 135.8 kB / 442 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2268/0.3702, allocations: 2.625 MB / 444.7 MB, free: 96.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.3881, allocations: 10.35 MB / 455 MB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.4338, allocations: 33.84 MB / 488.9 MB, free: 73.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008504/0.4423, allocations: 3.594 MB / 492.5 MB, free: 72.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/0.445, allocations: 2.218 MB / 494.7 MB, free: 71.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008874/0.4459, allocations: 456.9 kB / 495.1 MB, free: 71.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.4459, allocations: 52.5 kB / 495.2 MB, free: 71.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.579e-06/0.4459, allocations: 0 / 495.2 MB, free: 71.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.0388/0.4847, allocations: 18.03 MB / 0.5012 GB, free: 56.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.4848, allocations: 73.41 kB / 0.5012 GB, free: 56.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.4882, allocations: 2.765 MB / 0.5039 GB, free: 54.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.4883, allocations: 61.7 kB / 0.504 GB, free: 54.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.4895, allocations: 2.872 MB / 0.5068 GB, free: 51.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000674/0.4901, allocations: 0.9494 MB / 0.5077 GB, free: 51.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.4915, allocations: 1.063 MB / 0.5088 GB, free: 50.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.4915, allocations: 309 kB / 0.5091 GB, free: 49.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.4941, allocations: 2.314 MB / 0.5113 GB, free: 47.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.4978, allocations: 5.222 MB / 0.5164 GB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007139/0.5049, allocations: 8.265 MB / 0.5245 GB, free: 31.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.505, allocations: 28 kB / 0.5245 GB, free: 31.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01236/0.5174, allocations: 8.56 MB / 0.5329 GB, free: 22.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/0.5175, allocations: 48 kB / 0.5329 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.5176, allocations: 100 kB / 0.533 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.5202, allocations: 0.9767 MB / 0.534 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/0.5237, allocations: 1.228 MB / 0.5352 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.529, allocations: 4.986 MB / 0.54 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.5332, allocations: 333.9 kB / 0.5404 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006588/0.5339, allocations: 304 kB / 0.5406 GB, free: 14.53 MB / 410.7 MB 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.003349/0.5372, allocations: 2.146 MB / 0.5427 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008411/0.5381, allocations: 334.2 kB / 0.5431 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007459/0.5455, allocations: 5.114 MB / 0.5481 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.827e-05/0.5456, allocations: 51.03 kB / 0.5481 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.5456, allocations: 4 kB / 0.5481 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.5456, allocations: 7.969 kB / 0.5481 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.5645, allocations: 10.46 MB / 0.5583 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.5645, allocations: 20.84 kB / 0.5584 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.5663, allocations: 395.4 kB / 0.5587 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/0.5692, allocations: 0.807 MB / 0.5595 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/0.5696, allocations: 55.58 kB / 0.5596 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00707/0.5766, allocations: 4.239 MB / 0.5637 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.722e-05/0.5767, allocations: 15.94 kB / 0.5637 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.5924, allocations: 7.655 MB / 0.5712 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009822/0.5934, allocations: 254.3 kB / 0.5714 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007046/0.5941, allocations: 55.92 kB / 0.5715 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.5959, allocations: 179.2 kB / 0.5717 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/0.5964, allocations: 160.8 kB / 0.5718 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/0.5966, allocations: 71.98 kB / 0.5719 GB, free: 14.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003391/0.6, allocations: 1.581 MB / 0.5734 GB, free: 12.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6, allocations: 0 / 0.5734 GB, free: 12.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005353/0.6054, allocations: 1.035 MB / 0.5744 GB, free: 11.48 MB / 442.7 MB 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.0006349/0.606, allocations: 199.6 kB / 0.5746 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01114/0.6171, allocations: 5.435 MB / 0.5799 GB, free: 5.863 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-05/0.6172, allocations: 4.188 kB / 0.5799 GB, free: 5.859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003802/0.621, allocations: 2.002 MB / 0.5819 GB, free: 3.852 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.6239, allocations: 315.9 kB / 0.5822 GB, free: 3.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/0.6467, allocations: 10.42 MB / 0.5924 GB, free: 8.938 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005847/0.6525, allocations: 2.825 MB / 0.5951 GB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00489/0.6574, allocations: 1.967 MB / 0.5971 GB, free: 4.102 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008176/0.6582, allocations: 212.5 kB / 0.5973 GB, free: 3.891 MB / 458.7 MB Notification: Performance of SimCode: time 2.214e-06/0.6582, allocations: 0 / 0.5973 GB, free: 3.891 MB / 458.7 MB Notification: Performance of Templates: time 0.2181/0.8763, allocations: 27.8 MB / 0.6244 GB, free: 126.2 MB / 458.7 MB " [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.1.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: 6.947967991931364]