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.002545/0.002545, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003028/0.003028, allocations: 164.8 kB / 24.27 MB, free: 156 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.562/1.562, allocations: 177 MB / 204.5 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.3461/0.3461, allocations: 34.26 MB / 295.2 MB, free: 0.6289 MB / 266.7 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 2.495e-06/2.495e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.573e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01829/0.01833, allocations: 12.94 MB / 390.2 MB, free: 5.898 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.02893, allocations: 4.084 MB / 394.2 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.03126, allocations: 79.69 kB / 394.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004654/0.03592, allocations: 1.935 MB / 396.3 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.04115, allocations: 1.937 MB / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.04282, allocations: 0.6041 MB / 398.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006552/0.04938, allocations: 4.26 MB / 403.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004663/0.05404, allocations: 2.61 MB / 405.7 MB, free: 6.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006379/0.06042, allocations: 2.124 MB / 407.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/0.06477, allocations: 2.163 MB / 410 MB, free: 2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.06589, allocations: 292 kB / 410.2 MB, free: 1.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.06836, allocations: 0.9633 MB / 411.2 MB, free: 0.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002217/0.07058, allocations: 1.866 MB / 413.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.07263, allocations: 1.145 MB / 414.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.0831, allocations: 6.902 MB / 421.1 MB, free: 6.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.08311, allocations: 4 kB / 421.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.08311, allocations: 0 / 421.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001931/0.08331, allocations: 0 / 421.1 MB, free: 6.797 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.01163/0.09493, allocations: 5.446 MB / 426.6 MB, free: 1.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.09498, allocations: 8.031 kB / 426.6 MB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/0.1072, allocations: 3.695 MB / 430.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005745/0.113, allocations: 1.941 MB / 432.2 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.1132, allocations: 221.8 kB / 432.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/0.1138, allocations: 280.2 kB / 432.7 MB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.1279, allocations: 6.153 MB / 438.9 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.128, allocations: 31.75 kB / 438.9 MB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004351/0.1284, allocations: 131.8 kB / 439 MB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004992/0.1334, allocations: 2.624 MB / 441.6 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2444/0.3778, allocations: 4.049 MB / 445.7 MB, free: 91.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05111/0.4289, allocations: 44.34 MB / 490 MB, free: 62.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.4359, allocations: 1.859 MB / 491.9 MB, free: 61.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.4377, allocations: 0.7192 MB / 492.6 MB, free: 61.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/0.4386, allocations: 419.4 kB / 493 MB, free: 61.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4386, allocations: 53.95 kB / 493.1 MB, free: 61.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.759e-06/0.4386, allocations: 1.219 kB / 493.1 MB, free: 61.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.03227/0.4709, allocations: 10.36 MB / 0.4916 GB, free: 59.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.4709, allocations: 73.25 kB / 0.4917 GB, free: 59.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/0.4749, allocations: 3.147 MB / 0.4948 GB, free: 57.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003343/0.4753, allocations: 57.7 kB / 0.4948 GB, free: 57.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.477, allocations: 3.162 MB / 0.4979 GB, free: 54.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.478, allocations: 1.066 MB / 0.499 GB, free: 53.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.4795, allocations: 1.338 MB / 0.5003 GB, free: 52.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.4796, allocations: 480.7 kB / 0.5007 GB, free: 51.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.4811, allocations: 0.7513 MB / 0.5015 GB, free: 51.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/0.4844, allocations: 5.219 MB / 0.5066 GB, free: 44.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/0.4902, allocations: 6.619 MB / 0.513 GB, free: 35.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.102e-05/0.4903, allocations: 28 kB / 0.513 GB, free: 35.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01105/0.5013, allocations: 5.259 MB / 0.5182 GB, free: 31.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.5014, allocations: 48 kB / 0.5182 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.5015, allocations: 100 kB / 0.5183 GB, free: 30.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.5042, allocations: 0.6549 MB / 0.519 GB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/0.5083, allocations: 1.226 MB / 0.5202 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.5128, allocations: 3.225 MB / 0.5233 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/0.5171, allocations: 323.3 kB / 0.5236 GB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000842/0.5179, allocations: 316.8 kB / 0.5239 GB, free: 25.79 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.002303/0.5202, allocations: 0.7006 MB / 0.5246 GB, free: 25.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008761/0.5211, allocations: 334.2 kB / 0.5249 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/0.5275, allocations: 2.816 MB / 0.5277 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/0.5276, allocations: 49.91 kB / 0.5277 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5276, allocations: 6.016 kB / 0.5277 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.5276, allocations: 7.969 kB / 0.5277 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/0.5477, allocations: 8.153 MB / 0.5357 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.5477, allocations: 16.06 kB / 0.5357 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/0.5502, allocations: 399.8 kB / 0.5361 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/0.5535, allocations: 0.5252 MB / 0.5366 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/0.5538, allocations: 44 kB / 0.5366 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005025/0.5589, allocations: 2.654 MB / 0.5392 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.5589, allocations: 15.94 kB / 0.5393 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.5689, allocations: 3.454 MB / 0.5426 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.57, allocations: 254.1 kB / 0.5429 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005701/0.5705, allocations: 51.98 kB / 0.5429 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/0.5726, allocations: 179.6 kB / 0.5431 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005079/0.5732, allocations: 156.8 kB / 0.5432 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/0.5734, allocations: 71.98 kB / 0.5433 GB, free: 7.258 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002487/0.5759, allocations: 1.292 MB / 0.5446 GB, free: 5.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5759, allocations: 4 kB / 0.5446 GB, free: 5.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006883/0.5828, allocations: 1.027 MB / 0.5456 GB, free: 4.922 MB / 410.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.0006505/0.5834, allocations: 214.7 kB / 0.5458 GB, free: 4.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008588/0.592, allocations: 3.26 MB / 0.549 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/0.592, allocations: 7.875 kB / 0.549 GB, free: 1.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002422/0.5944, allocations: 1.103 MB / 0.55 GB, free: 340 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.5974, allocations: 311.8 kB / 0.5503 GB, free: 40 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/0.6232, allocations: 8.4 MB / 0.5585 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005179/0.6283, allocations: 2.495 MB / 0.561 GB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00471/0.6331, allocations: 1.617 MB / 0.5626 GB, free: 3.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008113/0.6339, allocations: 204.5 kB / 0.5628 GB, free: 3.023 MB / 426.7 MB Notification: Performance of SimCode: time 2.284e-06/0.6339, allocations: 0 / 0.5628 GB, free: 3.023 MB / 426.7 MB Notification: Performance of Templates: time 0.0661/0.7, allocations: 27.78 MB / 0.5899 GB, free: 7.609 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] 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.928050703019835]