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.001453/0.001453, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001464/0.001464, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.479/1.479, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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.2144/0.2144, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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 1.703e-06/1.703e-06, allocations: 0 / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.75e-05, allocations: 6.219 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2746/0.2747, allocations: 11.79 MB / 454.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009286/0.2839, allocations: 3.997 MB / 458.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.2863, allocations: 80.09 kB / 458.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.2904, allocations: 1.863 MB / 460.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004985/0.2954, allocations: 1.917 MB / 462.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.2971, allocations: 0.593 MB / 462.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0064/0.3035, allocations: 4.268 MB / 467.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00435/0.3078, allocations: 2.54 MB / 469.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.3114, allocations: 2.11 MB / 471.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.3155, allocations: 2.137 MB / 474 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.3166, allocations: 295.1 kB / 474.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.319, allocations: 0.9635 MB / 475.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.3207, allocations: 1.847 MB / 477.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.3224, allocations: 1.152 MB / 478.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3324, allocations: 6.887 MB / 485.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.3324, allocations: 0 / 485.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3324, allocations: 0 / 485.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002447/0.3327, allocations: 0 / 485.1 MB, free: 11.4 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.01237/0.3451, allocations: 4.577 MB / 489.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3451, allocations: 8.031 kB / 489.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.3574, allocations: 3.192 MB / 492.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/0.363, allocations: 2.075 MB / 494.9 MB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.3632, allocations: 217.8 kB / 495.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.3643, allocations: 288.2 kB / 495.4 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.3859, allocations: 11.13 MB / 0.4947 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.386, allocations: 34.78 kB / 0.4947 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.3865, allocations: 139.8 kB / 0.4949 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005104/0.3916, allocations: 2.62 MB / 0.4974 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/0.4144, allocations: 10.35 MB / 0.5075 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05879/0.4732, allocations: 33.75 MB / 0.5405 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009834/0.483, allocations: 3.594 MB / 0.544 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/0.4869, allocations: 2.214 MB / 0.5462 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009469/0.4879, allocations: 441.3 kB / 0.5466 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.4879, allocations: 56.56 kB / 0.5466 GB, free: 15.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.292e-06/0.4879, allocations: 0 / 0.5466 GB, free: 15.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04429/0.5322, allocations: 17.95 MB / 0.5642 GB, free: 13.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.5323, allocations: 73.41 kB / 0.5642 GB, free: 13.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.5363, allocations: 2.765 MB / 0.5669 GB, free: 10.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.5366, allocations: 57.7 kB / 0.567 GB, free: 10.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002414/0.539, allocations: 2.878 MB / 0.5698 GB, free: 7.473 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.5402, allocations: 0.9454 MB / 0.5707 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/0.5418, allocations: 1.073 MB / 0.5718 GB, free: 5.438 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5419, allocations: 301.1 kB / 0.5721 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/0.5457, allocations: 2.318 MB / 0.5743 GB, free: 2.816 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007042/0.5528, allocations: 5.218 MB / 0.5794 GB, free: 12.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.5643, allocations: 8.273 MB / 0.5875 GB, free: 2.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/0.5643, allocations: 28 kB / 0.5875 GB, free: 2.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01601/0.5803, allocations: 8.276 MB / 0.5956 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/0.5804, allocations: 51.98 kB / 0.5956 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/0.5806, allocations: 107.9 kB / 0.5958 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003115/0.5837, allocations: 0.9376 MB / 0.5967 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004364/0.588, allocations: 1.226 MB / 0.5979 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007872/0.5959, allocations: 4.971 MB / 0.6027 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/0.6001, allocations: 331.6 kB / 0.603 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007218/0.6008, allocations: 304 kB / 0.6033 GB, free: 2.152 MB / 0.4981 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.004278/0.6051, allocations: 2.147 MB / 0.6054 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.6056, allocations: 278.2 kB / 0.6057 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009689/0.6153, allocations: 5.114 MB / 0.6107 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.76e-05/0.6154, allocations: 47.98 kB / 0.6107 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.6154, allocations: 4.094 kB / 0.6107 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.6154, allocations: 23.94 kB / 0.6108 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/0.6355, allocations: 10.45 MB / 0.621 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.6355, allocations: 12 kB / 0.621 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.6374, allocations: 403.3 kB / 0.6214 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.6402, allocations: 0.7734 MB / 0.6221 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.6404, allocations: 55.98 kB / 0.6222 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006404/0.6468, allocations: 4.231 MB / 0.6263 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.587e-05/0.6469, allocations: 15.94 kB / 0.6263 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.6597, allocations: 7.593 MB / 0.6337 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/0.6604, allocations: 262.2 kB / 0.634 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/0.6608, allocations: 47.98 kB / 0.634 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.6623, allocations: 175.7 kB / 0.6342 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.6628, allocations: 164.8 kB / 0.6343 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.663, allocations: 75.97 kB / 0.6344 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00254/0.6655, allocations: 1.577 MB / 0.636 GB, free: 240 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6655, allocations: 0 / 0.636 GB, free: 240 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.2196/0.8851, allocations: 1.027 MB / 0.637 GB, free: 167.6 MB / 0.5294 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.0006258/0.8857, allocations: 202.9 kB / 0.6372 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008825/0.8946, allocations: 5.42 MB / 0.6424 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/0.8946, allocations: 2.281 kB / 0.6424 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003097/0.8977, allocations: 2.005 MB / 0.6444 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.8997, allocations: 302.7 kB / 0.6447 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.9184, allocations: 10.27 MB / 0.6547 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004645/0.9231, allocations: 2.844 MB / 0.6575 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004015/0.9271, allocations: 1.973 MB / 0.6594 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007133/0.9278, allocations: 208.2 kB / 0.6596 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.462e-06/0.9278, allocations: 0 / 0.6596 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.0492/0.977, allocations: 27.61 MB / 0.6866 GB, free: 142.9 MB / 0.5294 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.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.9249897338449955]